dummy655 Posted May 8, 2020 Posted May 8, 2020 Hi All, Im kinda new to Autoit and would just like to ask for your guys' help/opinion. Im currently trying to automate an installation package that doesn't have a silent install option and i want the installation process (Installation Mouse Clicks) to be running on the background without activating any window so that users will not disrupt the installation process. Am I missing anything wrong? Here's my code: Local $hWnd = ProcessWait("CleanWipe.exe") Sleep(100) ControlClick($hWnd, "",12324, "left",1,327,328) ; Click on the "Next" button Sleep(100) ControlClick($hWnd, "", 1018, "left",1,14,286) ; Click on the "Accept" checkbox Sleep(100) ControlClick($hWnd, "", 12324, "left",1,327,328) ; Click on the "Next" button Sleep(100) ControlClick($hWnd, "", 1005, "left",1,22,82) ; Click on the "Client Software" checkbox Sleep(100) ControlClick($hWnd, "", 12324, "left", 1, 327,328) ; Click on the "Next" button Sleep(100) ControlClick($hWnd, "", 1007, "left", 1, 22,82 ) ; Click on the "Do not prompt for reboot" button Sleep(100) ControlClick($hWnd, "", 12324, "left",1, 327, 328) ; Click on the last "Next" button (which starts the cleanwipe) Sleep(3000) ; Wait for process to finish Exit
faustf Posted May 8, 2020 Posted May 8, 2020 you sure not have silent look here https://www.itninja.com/question/how-to-install-cleanwipe-exe-symantec-epp-removal-silently
dummy655 Posted May 8, 2020 Author Posted May 8, 2020 2 hours ago, faustf said: you sure not have silent look here https://www.itninja.com/question/how-to-install-cleanwipe-exe-symantec-epp-removal-silently Yeah, ive checked this one already. The newer version of CleanWipe doesnt have that silent execution anymore
Nine Posted May 8, 2020 Posted May 8, 2020 (edited) Process wait returns a PID not a win Handle. I have done it recently with an other application. Use my block input in my signature, find the handle of the pid, make the window totally transparent, run your script, Unblock input... Here I found the reference : Edited May 8, 2020 by Nine “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
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