sasi25in@gmail.com
Posts: 3
Joined: Thu Feb 26, 2009 10:08 am

sending command line parameters through installer

i want to accept some parameters (goes as command line parameters to my original program) which user enters when he/she is installing . please send me the solution for this.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: sending command line parameters through installer

Hi,

I'm not sure I understand what you need to do. Can you please give me more details about this?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sasi25in@gmail.com
Posts: 3
Joined: Thu Feb 26, 2009 10:08 am

Re: sending command line parameters through installer

actually when iam preparing installer trough advanced installer, i need to take some inputs from user(install level). So i want to use them in my original program( Ex. Port number). Is there any way to do this. Please suggest me and please give me the solution.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: sending command line parameters through installer

Hi,

You can try using a custom dialog to get the information from the user. Please note that the User Guide contains the Create a new dialog tutorial which may help you. This information can be written in the registry through the Registry page. When your application runs, it can read the information from the registry.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Beaniiman
Posts: 8
Joined: Tue Feb 17, 2009 9:55 pm

Re: sending command line parameters through installer

I have the same question.

I would like to be able to add command line parameters to my install package.

For example:

"myinstaller.msi /installmode=silent"

Do we have the ability to do this?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: sending command line parameters through installer

Hi,

You can set permanent command line parameters for the MSI by using the EXE bootstrapper. In the Bootstrapper tab of the "Media" page you can enable the boostrapper and set the MSI command line.

Please note that for a silent installation you can use the "Limit to basic user interface (simple progress and error handling)" option in the Install Parameters page.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”