Hi,
You have several alternatives:
1. You can set the value of a Property from the command-line, for example:
Code: Select all
msiexec /i package.msi SOMEUSER="Mike"
2. If you create an EXE setup package and you select the option "Leave install files outside" (in the Media page), you will notice that AdvInst creates an INI file with the same name as your EXE package, if there are Prerequisites in your package or if you specify options for "msiexec" in the "MSI Command Line" text field. You can modify those command-line options by changing the "MainAppCmdLine" INI entry, such as:
3. You can set a Property using a Script Inline or Property Set with Formmated Custom Action. For example, a Script Inline Custom Action that sets a Property will look like this:
Code: Select all
Session.Property("SOMEUSER")="Mike"
Hope this helps.
Regards,
Denis