dekdain Posted September 16, 2016 Posted September 16, 2016 I'am rookie I created file install program automate and I want to attached file program in file script. plz, advice me example ;install adobe DC Run(@ScriptDir & ".\AcroRdrDC1501620039_en_US.exe") WinWaitActive("Adobe Acrobat Reader DC (Continuous) - Setup", "Ready to Install Adobe Acrobat Reader DC") ControlClick("Adobe Acrobat Reader DC (Continuous) - Setup", "", "Button4") WinWaitActive("Adobe Acrobat Reader DC (Continuous) - Setup", "Setup has successfully installed Adobe Acrobat Reader DC") ControlClick("Adobe Acrobat Reader DC (Continuous) - Setup", "", "Button1")
Anoop Posted September 16, 2016 Posted September 16, 2016 Hi, If you want to include an external file with compiled script (executable) FileInstall function will help. You can copy the external file to the required directory from the program. In the above program you will have to add FileInstall before this line - Run(@ScriptDir & ".\AcroRdrDC1501620039_en_US.exe") Thanks Anoop
Moderators JLogan3o13 Posted September 16, 2016 Moderators Posted September 16, 2016 Aside from FileInstall, why would you want to go through the headache of manually automating the Adobe Reader installation, instead of just installing it silently? Grab the AcroRead MSI and then just do something like this: ShellExecuteWait('msiexec.exe', '/i "AcroRead.msi" /qn') spudw2k 1 "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!
dekdain Posted September 19, 2016 Author Posted September 19, 2016 On 9/16/2016 at 8:03 PM, JLogan3o13 said: Aside from FileInstall, why would you want to go through the headache of manually automating the Adobe Reader installation, instead of just installing it silently? Grab the AcroRead MSI and then just do something like this: ShellExecuteWait('msiexec.exe', '/i "AcroRead.msi" /qn') some programe can't silent install it has check box
Moderators JLogan3o13 Posted September 19, 2016 Moderators Posted September 19, 2016 Yes, some programs cannot be silently installed (easily anyway). However, you used Adobe Reader DC as your example, which can be. "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!
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