Sign in to follow this  
Followers 0
dekdain

file install

6 posts in this topic

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

 

Share this post


Link to post
Share on other sites



Have a look at the function FileInstall

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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

 

1 person likes this

When you're dead, you don't know you're dead - it's only difficult for those that know you. It's the same way when you're stupid...

My Scripts: SCCM UDFInclude Source with Compiled Script, Windows Firewall UDF

Share this post


Link to post
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 

 

Share this post


Link to post
Share on other sites

Yes, some programs cannot be silently installed (easily anyway). However, you used Adobe Reader DC as your example, which can be.


When you're dead, you don't know you're dead - it's only difficult for those that know you. It's the same way when you're stupid...

My Scripts: SCCM UDFInclude Source with Compiled Script, Windows Firewall UDF

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  
Followers 0