How to run an .exe file (Install Wizard)

I've been thrown into Powershell knowing nothing about it and having to learn via the web alone, so please be kind.  I'm putting together a script that will build a Windows 7 PC (SP 1 with just the basic operating system and Admininstrator account), adding user accounts, applications, printers, FTP, SSH, et al as it goes.  The very first thing I need to do is install AutoIt, which will be used to run some portions of the install.  The script is autoit-v3-setup.exe which brings up an Install Wizard.  Since it's an .exe and not an .msi, how do I have Powershell run through the Wizard (defaults all the way) and finish before moving on to the next item?

Thank you

Parents
  • According to varios posts AutoIT supports /S (capital) for silent installation, therefore: 

    $result = Start-Process -Wait -FilePath 'C:\sources\autoIt\autoit-v3-setup.exe' -ArgumentList '/S' -PassThru 

    should be enough to run and install the software. 

     

    Anyway they also wrote there you don't need the full runtime on each station to run the scripts you compiled. Not sure if you are aware of it. I never used AutoIt myself.

  • nohandle said:

    According to varios posts AutoIT supports /S (capital) for silent installation, therefore: 

    $result = Start-Process -Wait -FilePath 'C:\sources\autoIt\autoit-v3-setup.exe' -ArgumentList '/S' -PassThru 

    should be enough to run and install the software. 

     

    Anyway they also wrote there you don't need the full runtime on each station to run the scripts you compiled. Not sure if you are aware of it. I never used AutoIt myself.

    Thank you.  I will test this out and see how it goes!

     

     

Reply
  • nohandle said:

    According to varios posts AutoIT supports /S (capital) for silent installation, therefore: 

    $result = Start-Process -Wait -FilePath 'C:\sources\autoIt\autoit-v3-setup.exe' -ArgumentList '/S' -PassThru 

    should be enough to run and install the software. 

     

    Anyway they also wrote there you don't need the full runtime on each station to run the scripts you compiled. Not sure if you are aware of it. I never used AutoIt myself.

    Thank you.  I will test this out and see how it goes!

     

     

Children
No Data