Jump to content
Sign in to follow this  

an EXE that needs to install silently

Recommended Posts


I have an EXE which I cannot decompile. Despite what the vendor says the /S /v/qn switches do not work for a silent install. I would like to use AutoIT to hide the window so the user doesn't click cancel or finish. I tried recording the install and adding the start command to run the EXE, but I am still seeing progress bars as the installs moves along as well as having to click finish. Or at least that is what I recall the first time I have tested this. I have since re-tested several times over and getting a mixed bag of results. Can someone help?

#region --- Au3Recorder generated code Start (v3.3.9.5 KeyboardLayout=00000409)  ---

#region --- Internal functions Au3Recorder Start ---
Func _Au3RecordSetup()
Local $aResult = DllCall('User32.dll', 'int', 'GetKeyboardLayoutNameW', 'wstr', '')
If $aResult[1] <> '00000409' Then
  MsgBox(64, 'Warning', 'Recording has been done under a different Keyboard layout' & @CRLF & '(00000409->' & $aResult[1] & ')')


Func _WinWaitActivate($title,$text,$timeout=0)
    If Not WinActive($title,$text) Then WinActivate($title,$text)

#endregion --- Internal functions Au3Recorder End ---

Run("Report_Viewer_11.3_Cache_2008.exe", @ScriptDir, @SW_HIDE)
_WinWaitActivate("(Untitled) - SciTE-Lite","")
_WinWaitActivate("Program Manager","")
_WinWaitActivate("Report Viewer - InstallShield Wizard","")
#endregion --- Au3Recorder generated code End ---


Share this post

Link to post
Share on other sites

First - look at this:


Second - you simply use AutoIt to make a package to handle your install. Have the files put into a zip file and have them unzip on the PC along with AutoIt handling any registry changes and any other chore that needs to be done during the install. You can do all of this without any GUI and it would look completely transparent to the user.

Share this post

Link to post
Share on other sites

Thanks to all who offered suggested. I gave the developer name. The name of the product is ReportViewer 20.5. The MSI(s) are inside the EXE. When it runs I can see the files it extracted in %temp%, but no ISS file.

Share this post

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
Sign in to follow this  

  • Create New...