How do I define and access public properties defined on the commandline when running the installation package?
To be more specific: I need a way for our customers to be able to supply some information to the installation from the command line. They are using silent installs so adding input fields on a dialog box is no option.
Best regards
MSI public properties
With InstallAware, there's a better and easier way to do this.
You have full access to the command line from the installation script. Simply define your own switches/parameters. You may code the necessary actions directly into your setup script.
If you want less customizability, you can set the values of pre-defined variables on the command line using the form VAR=VALUE, for instance:
Will silently install the application into the named folder.
You have full access to the command line from the installation script. Simply define your own switches/parameters. You may code the necessary actions directly into your setup script.
If you want less customizability, you can set the values of pre-defined variables on the command line using the form VAR=VALUE, for instance:
Code: Select all
setup.exe /s "TARGETDIR=D:\\Program Files\\My Application"
Will silently install the application into the named folder.
Who is online
Users browsing this forum: No registered users and 63 guests