Briandr Posted September 30, 2014 Share Posted September 30, 2014 Hi, 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() Opt('WinWaitDelay',100) Opt('WinDetectHiddenText',1) Opt('MouseCoordMode',0) 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] & ')') EndIf EndFunc Func _WinWaitActivate($title,$text,$timeout=0) WinWait($title,$text,$timeout) If Not WinActive($title,$text) Then WinActivate($title,$text) WinWaitActive($title,$text,$timeout) EndFunc _AU3RecordSetup() #endregion --- Internal functions Au3Recorder End --- Run("Report_Viewer_11.3_Cache_2008.exe", @ScriptDir, @SW_HIDE) _WinWaitActivate("(Untitled) - SciTE-Lite","") Send("{TAB}{TAB}") _WinWaitActivate("Program Manager","") MouseClick("left",474,202,1) Send("{TAB}") _WinWaitActivate("Start","") Send("{TAB}") _WinWaitActivate("classname=Shell_TrayWnd","") Send("{TAB}{TAB}") _WinWaitActivate("Report Viewer - InstallShield Wizard","") MouseClick("left",348,352,1) #endregion --- Au3Recorder generated code End --- Thanks. Link to comment Share on other sites More sharing options...
JohnOne Posted September 30, 2014 Share Posted September 30, 2014 Despite what the vendor says Who is...? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Briandr Posted September 30, 2014 Author Share Posted September 30, 2014 vendor name is Netsmart Technologies and both the EXE and MSI (if one is available) can be obtained by request. Link to comment Share on other sites More sharing options...
Bert Posted September 30, 2014 Share Posted September 30, 2014 First - look at this: http://dottech.org/3138/how-to-track-what-changes-are-made-on-your-computer-during-a-program-installation/ 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. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted September 30, 2014 Moderators Share Posted September 30, 2014 What is the name of the product you are trying to install? If it is in an MSI as you state, I find it difficult to see how you could not do a silent install. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Briandr Posted September 30, 2014 Author Share Posted September 30, 2014 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. Link to comment Share on other sites More sharing options...
TXTechie Posted October 2, 2014 Share Posted October 2, 2014 The .iss files are used with legacy InstallShield .exe installations. Once you have the .msi file, there are a ton of command-line options that you can utilize. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now