MSI public properties

Got a problem you cannot solve? Try here.
ThomasWerner
Posts: 1
Joined: Sat Apr 09, 2005 4:59 am

MSI public properties

Postby ThomasWerner » Sat Apr 09, 2005 5:03 am

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
// Thomas Werner

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Sat Apr 09, 2005 7:20 am

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:

Code: Select all

setup.exe /s "TARGETDIR=D:\\Program Files\\My Application"


Will silently install the application into the named folder.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 63 guests