Jump to content

Need help for my software package with AutoIT - (Moved)


Recommended Posts

I would like to create a software package with AutoIT for our software distribution. Now I have to adjust the target directory in the installation process. Unfortunately I get the input line as Class:Button in the Window Info (see picture). What is the easiest way to solve this so that I can set a different path?

Thank you very much for your help.

 

image.png.6c4e5ec093301d90267683ef2681d77c.png

image.png

Link to comment
Share on other sites

Seems the product has been packaged using InstallShield (based on this web site).
InstallShield support silent installations - which means you do not need to automate the GUI.

What do you get when you start the installation program with parameter /?

 

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 comment
Share on other sites

Hello Water

Thank you very much for your answer. Several programs are installed via the setup routine.  If I start the setup with /?, it starts the installation application directly. So I can not give any parameters. 
Why I want to change the program path is because we are not allowed to install anything in C:\ directly. 

 

 

Global $gs_Title, $gs_Text
Opt("TrayIconDebug", 1)
Opt("WinWaitDelay", 500)
Opt("WinDetectHiddenText", 0)

Run(@ScriptDir & '\Space_Setup_Image_N05_V1.0.exe')

$gs_Title = 'Installer Language'
$gs_Text = 'Please select a language.'
WinWait($gs_Title, $gs_Text)
WinActivate($gs_Title, $gs_Text)
ControlClick($gs_Title, $gs_Text,1)

$gs_Title = 'Space_Setup_Image_N05_V1.0 Installation'
$gs_Text = 'Klicken Sie auf Weiter, um fortzufahren.'
WinWait($gs_Title, $gs_Text)
WinActivate($gs_Title, $gs_Text)
ControlClick($gs_Title, $gs_Text,1)

$gs_Title = 'Space_Setup_Image_N05_V1.0 Installation'
$gs_Text = 'Lizenzabkommen'
WinWait($gs_Title, $gs_Text)
WinActivate($gs_Title, $gs_Text)
ControlClick($gs_Title, $gs_Text,1)

$gs_Title = 'Space_Setup_Image_N05_V1.0 Installation'
$gs_Text = 'Komponenten auswählen'
WinWait($gs_Title, $gs_Text)
WinActivate($gs_Title, $gs_Text)
ControlClick($gs_Title, $gs_Text, 1032,"left",1,30,24)
Send("{Space}")
ControlClick($gs_Title, $gs_Text,1)


$gs_Title = 'Installer Language'
$gs_Text = 'Please select a language.'
WinWait($gs_Title, $gs_Text)
WinActivate($gs_Title, $gs_Text)
ControlClick($gs_Title, $gs_Text,1)

$gs_Title = 'Space Pump N030005 1.0 Installation'
$gs_Text = 'Wählen Sie die Komponenten aus, die Sie installieren möchten und wählen Sie diejenigen ab, die Sie nicht installieren wollen. Klicken Sie auf Installieren, um die Installation zu starten.'
WinWait($gs_Title, $gs_Text)
WinActivate($gs_Title, $gs_Text)
ControlClick($gs_Title, $gs_Text,1)

$gs_Title = 'Space Pump N030005 1.0 Installation'
$gs_Text = 'Die Installation wurde erfolgreich abgeschlossen.'
WinWait($gs_Title, $gs_Text)
WinActivate($gs_Title, $gs_Text)
ControlClick($gs_Title, $gs_Text,1)

$gs_Title = 'HiBaSeD N_10.1 Installation'
$gs_Text = 'Zielverzeichnis auswählen'
WinWait($gs_Title, $gs_Text)
WinActivate($gs_Title, $gs_Text)
ControlClick($gs_Title, $gs_Text, 1020,"left",1,28,87)

XXXXXXXX Here I should be able to change the path.XXXXXXXXXXXXXX


$gs_Title = 'HiBaSeD N_10.1 Installation'
$gs_Text = 'Bestimmen Sie einen Startmenü-Ordner für die Programmverknüpfungen.'
WinWait($gs_Title, $gs_Text)
WinActivate($gs_Title, $gs_Text)

ControlClick($gs_Title, $gs_Text,1)

$gs_Title = 'HiBaSeD N_10.1 Installation'
$gs_Text = 'Klicken Sie auf Fertig stellen, um den Installations-Assistenten zu schließen.'
WinWait($gs_Title, $gs_Text)
WinActivate($gs_Title, $gs_Text)
ControlClick($gs_Title, $gs_Text,1)

$gs_Title = 'Space_Setup_Image_N05_V1.0 Installation'
$gs_Text = 'Klicken Sie auf Fertig stellen, um den Installations-Assistenten zu schließen.'
WinWait($gs_Title, $gs_Text)
WinActivate($gs_Title, $gs_Text)
ControlClick($gs_Title, $gs_Text,1)

Exit

 

 

Link to comment
Share on other sites

  • Developers

Moved to the appropriate forum, as the Developer General Discussion forum very clearly states:

Quote

General development and scripting discussions.


Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums.

Moderation Team

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

You mean you manually run "Space_Setup_Image_N05_V1.0.exe /?"

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 comment
Share on other sites

Is it possible to manually enter a different path (without using "Durchsuchen")?

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 comment
Share on other sites

Could you please deactivate the freeze feature in the AutoIt WIndows Info Tool and move the cursor over the input field till the black frame just covers the input field?

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 comment
Share on other sites

You could now try ControlSend and pass the target directory.

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 comment
Share on other sites

:):thumbsup:

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 comment
Share on other sites

  • 2 years later...
  • Developers
11 minutes ago, Osman2hmed said:

Hi I need this application can you send download link 

Which application is that?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

This topic is about automating it, not to provide a download....   just go to the developer site for a download of this software.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...