Jump to content

file install


dekdain
 Share

Recommended Posts

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")

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Moderators

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')

 

"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

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 

 

Link to comment
Share on other sites

  • Moderators

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!

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...