Jump to content

Trying to create autoit script to install software on windows install


Recommended Posts

Hi All,

 

I am trying to create a script to record the actions off a program installer using au3recorder and then compile it to exe to run on the windows installation. The problems i have is it selecting the folder it is in just now but in the windows install it will be a different folder also it not recording all actions i do so i need to manually press buttons. yes most software have slient switches but i want to be able to customise my installs like i would after a windows installation

Link to post
Share on other sites

You will need to give us a tad more information than that.  What is the application you are trying to install ?  Have you try to use au3info.exe tool to see if the screen objects are detectable ?  Instead of Send and MouseClick, using Control* functions might greatly help you and provide a more robust solution.

Link to post
Share on other sites

Most of the programs provide a silent installation. This way you can pre-record the configuration of the program. So you avoid the need to automate the installation GUI.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2021-06-05 - Version 1.5.4.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2021-06-14 - Version 1.6.5.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
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
Task Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - Wiki

Tutorials:
ADO - Wiki, WebDriver - Wiki

 

Link to post
Share on other sites
Link to post
Share on other sites
On 5/31/2021 at 1:50 PM, Nine said:

You will need to give us a tad more information than that.  What is the application you are trying to install ?  Have you try to use au3info.exe tool to see if the screen objects are detectable ?  Instead of Send and MouseClick, using Control* functions might greatly help you and provide a more robust solution.

What information do you need? im all for any solution that works but i will need a guide on how to write teh scripts myself

Link to post
Share on other sites
On 5/31/2021 at 1:57 PM, water said:

Most of the programs provide a silent installation. This way you can pre-record the configuration of the program. So you avoid the need to automate the installation GUI.

Yes but example one of the software i want to use give silent install but it install opera as well i dnt want that i want to customise the install fully so i need to work out how to use autoit correctly, also silent installs dnt get rid of windows smartscan popup

Link to post
Share on other sites
7 minutes ago, andrewcrawford131 said:

What information do you need?

Well, let start with the 2 questions that follow the first sentence...You could also post the result of the au3info tool along with a screen shot of the installer windows.  And of course, the most important information that we need is a first draft of your script.  Do not expect us to write it for you, as you will be terribly be disappointed.

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...