isaolmez
Posts: 8
Joined: Tue Jun 26, 2012 11:27 am

Passing command line parameter to my Exe Setup

I want to pass an argument from the command line to my exe setup. This setup is created by Advanced Installer. How can I get this commandline parameter into a property and use it in the installer ?
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Passing command line parameter to my Exe Setup

Hello,

In order to achieve this you can use a public property (i.e. MY_PROP) which can be set through the command line when launching the exe setup file. You can use a command line like this:

Code: Select all

MY_SETUP.EXE MY_PROP="my_value"

Also, you can take a look on our "Command Line" article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
isaolmez
Posts: 8
Joined: Tue Jun 26, 2012 11:27 am

Re: Passing command line parameter to my Exe Setup

thanks for the reply

Return to “Building Installers”