Jump to content

run installation in the background


Recommended Posts

  • Moderators

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

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 - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to post
Share on other sites

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 - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to post
Share on other sites
  • Moderators
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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...