Jump to content

SAP installer help


Antwerp
 Share

Recommended Posts

Hello AutoIt community!

I've discovered AutoIt just 2 days ago, and it is amazing how much easier this stuff can make my daily job.

The help file and the forum made a lot of things clear, and I've been playing with it for 2 days in a row now.

I'm currently automating some software installations. I can manage to find a way to click the needed buttons most of the time.

Except for an SAP front end installer I want to fully automate.

As you can see in my image, I need to click the "Select all"-link I marked in red.

Sadly, the AutoIt WIndow Info app doesn't seem to find a unique identifier to recognize this link, even not the text.

I've try to work around this by specifying the x and y coördinates, but the install screen has a different sizes on different screen sizes, so that's not a solution for me.

Does anyone have an idea? Any help would be greatly appreciated!

 

SAP%20Front%20End%20Installer.png

Link to comment
Share on other sites

@Mhz: That's an approach I never would have come up with myself :)

 

I would have suggested to save that "select all" button-ish thing in a BMP/JPG and use the pixelsearch function for it

or have you looked into controlclicking the controlclick Coordinates..

but this is a really terrible approach to automate software installation.. 

Link to comment
Share on other sites

I found this in the faq section by Chimera :

Maybe
[Question]: How do i install a program silently
[Answer]: Using a Silent switch /Examples of silent switches /msi and exe
[Optional Example]:

$scriptDir = "My Test Folder" ; the folder where your file is stored (amend accordingly) 
$fileName = "My file i want to install.exe" ; the filename to install (amend accordingly) 
$switch = "/S" ; the switch, there maybe multiple switches for different things check the manufacturers website (amend accordingly) 
RunWait('"' & $scriptDir & "\" & $fileName & '"' & " " & $switch)

Maybe it's of any help to you?

Edited by MystrE
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...