How to pass parameters to the setup file(Enterprise 10.3) - Advanced Installer Community
digitalrinaldo
Posts: 88
Joined: Sun Jan 13, 2013 2:51 am

How to pass parameters to the setup file(Enterprise 10.3)

I would like to launch the executable that is downloaded for missing java with some additional parameters.

I have provided a url for the executable in Prerequisites pre-Install Java run time how do I give it some parameters to use, say I want to use the /donothing option as a parameter on the command line before invocation.

Since I have provided a URL for Advanced installer to download, I am not seeing how to tell Advanced Installer to add some params before launching the downloaded .exe file.
Teodor
Posts: 73
Joined: Thu Jul 25, 2013 9:56 am

Re: How to pass parameters to the setup file(Enterprise 10.3

Hi

You can easily pass optional command line arguments (ie. "/donothing") like it is explained in Install Command Lines section from the Prerequisite Setup Files Tab page.

Have you tried it already and it didn't worked for you? If negative please test this and get back to us with your results.

Best regards
Last edited by Teodor on Mon Aug 05, 2013 10:35 am, edited 2 times in total.
Teodor Micu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
digitalrinaldo
Posts: 88
Joined: Sun Jan 13, 2013 2:51 am

Re: How to pass parameters to the setup file(Enterprise 10.3

I read the entire page and I tried it. I am not sure I am using it correctly. I filled in all three values at the bottom for Install Command Lines with a parameter. Is that how it should be done. Maybe I wasn't clear -- I specify a remote url for the download. AdvancedInstaller is fetching and running that remote url. How do I pass the args to it.

After the file is downloaded I want advanced installer to launch it with an option.
Teodor
Posts: 73
Joined: Thu Jul 25, 2013 9:56 am

Re: How to pass parameters to the setup file(Enterprise 10.3

Hi
digitalrinaldo wrote:I filled in all three values at the bottom for Install Command Lines with a parameter. Is that how it should be done.
Yes.
digitalrinaldo wrote:Maybe I wasn't clear -- I specify a remote url for the download.
Does this mean you selected the option Download single file from URL in the Prerequisites Setup Files Tab?

Can you please provide the project file (AIP)?
You can send it to support at advancedinstaller dot com.

Best regards
Teodor Micu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”