Vinicius2023 0 Posted January 24 Share Posted January 24 Good afternoon, I automated an installation, but I need it to run in the background, I had "@SW_HIDE" but it didn't work, can you help me? installation.txt Link to post Share on other sites
Moderators JLogan3o13 1,761 Posted January 24 Moderators Share Posted January 24 First off, what is the name of the application you're installing? If it doesn't support a silent install, it will be difficult to make it so. Also, realize, from your installation.txt, that all those MouseClicks are not going to work if the window is not visible. You'd have to re-architect the script to use the Control* commands. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to post Share on other sites
Vinicius2023 0 Posted January 25 Author Share Posted January 25 Could you give me an example script about these control commands, please? Link to post Share on other sites
water 2,702 Posted January 25 Share Posted January 25 If your application supports a silent install you do not need to automate the installation GUI. So please provide the name of the program you need to install. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to post Share on other sites
Vinicius2023 0 Posted January 25 Author Share Posted January 25 It is a corporate security program called Senior Ronda Link to post Share on other sites
water 2,702 Posted January 25 Share Posted January 25 Google can't find anything about this program. But I'm sure a professional security program offers a silent installation option. Did you have a look at the installation manual? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to post Share on other sites
Moderators JLogan3o13 1,761 Posted January 26 Moderators Share Posted January 26 16 hours ago, Vinicius2023 said: Could you give me an example script about these control commands, please? The help file can give you numerous examples. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to post Share on other sites
mistersquirrle 10 Posted Monday at 08:17 AM Share Posted Monday at 08:17 AM ControlClick: https://www.autoitscript.com/autoit3/docs/functions/ControlClick.htm and ControlSend: https://www.autoitscript.com/autoit3/docs/functions/ControlSend.htm are what you'll want to look at for interacting with a hidden window. You'll likely need to use the AutoIt Window Info tool to get control IDs if available: https://www.autoitscript.com/autoit3/docs/intro/au3spy.htm That being said, looking at your installation.txt (next time instead of uploading a file, you can post the code into your post using the insert Code button, looks like <>), I see that you're using GUISetState(@SW_HIDE) which isn't the correct function. Any GUI* function is for GUIs that YOU create. You want to look at the WinSetState function: https://www.autoitscript.com/autoit3/docs/functions/WinSetState.htm RAWR! I'm hungry :( Feed the panda squirrle Link to post Share on other sites
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