aiuse Posted May 12, 2017 Share Posted May 12, 2017 (edited) Hi, I tried like this but windows/screens are still not hidden. It does go each step and completed. All steps were visible, not hidden. Please help. Run("setup.exe", "",@SW_HIDE) WinWaitActive("Software Setup") WinSetState("Software Setup", "",@SW_HIDE) Send("!n") WinWaitActive("Software Config") WinSetState("Software Config","",@SW_HIDE) Send("{ENTER}") Edited May 12, 2017 by aiuse Link to comment Share on other sites More sharing options...
Subz Posted May 12, 2017 Share Posted May 12, 2017 Are you sure that the installer can't use silent switches for example below are some of the most common: Setup.exe /s Setup.exe /silent Setup.exe /verysilent Setup.exe /q Setup.exe /quiet Setup.exe /s /v" /qb /norestart" Setup.exe /s /v" /qn /norestart" Link to comment Share on other sites More sharing options...
aiuse Posted May 12, 2017 Author Share Posted May 12, 2017 no silent switch available for that .exe. thanks Link to comment Share on other sites More sharing options...
spudw2k Posted May 12, 2017 Share Posted May 12, 2017 (edited) Have you tried using the window handle? Local $hWnd = WinWait("Software Setup", "", 10) WinSetState($hWnd, "", @SW_HIDE) Also, I suspect that your Send funcs will fail if the window in not visible. You should use ControlClick or another appropriate Control* function to manipulate the hidden GUI. What is the setup.exe installer for? What application? Edited May 12, 2017 by spudw2k Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
aiuse Posted May 12, 2017 Author Share Posted May 12, 2017 @ spudw2k - I tried as you suggested. the screen minimized and stayed on the task bar and completed. I want to hide it totally. I will try with control function also. This program was created internally by someone long time ago. It is the company accounting software. I am trying to uninstall it silently from employees computer and they have new software. Not found uninstall string info in registry. the new code is here please tell me how to hide this for 0 visibility Run("setup.exe", "",@SW_HIDE)WinWaitActive("Software Setup")Local $hWnd = WinWait("Software Setup", "", 10) WinSetState($hWnd, "", @SW_HIDE)Send("!n")WinWaitActive("Software Config")Local $hWnd = WinWait("Software Setup", "", 10) WinSetState($hWnd, "", @SW_HIDE)Send("{ENTER}") Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now