0
votes

I have created MSI package using advanced Installer. It contains App Config to which i have to pass the siteURL which varies depending on location. I need to pass the siteurl to app config when msi is installed . Please help me with it. I am new to Advanced Installer

1

1 Answers

0
votes

You can check the online user guide for Advanced Installer, it has a lot of useful info. For example the article on importing and editing XML config files.

Or how to add a custom dialog and write in the system the values captured from the end users.

EDIT: additional answer regarding command line

You can run the installation silently from the command line but you will still see the message box saying the package is built with a trial. You will not see the standard MSI dialogs. And the trial messages will be gone once you purchase license for Advanced Installer.

Please note that your command prompt window (cmd.exe) must be launched as administrator, if your installation is installing per-machine (i.e. you write in Program Files or HKLM registry hive). Otherwise the installation will fail silently and you will not know why, because on silent installation the OS will not show an error message.

Here is a command line example:

msiexec.exe /i C:\setup\installer.msi /qn ID="235424" SiteURL="www.example.com"

Please note that it is not recommended to use private properties, i.e. properties with lower case letters in their name, we recommend public properties, for example: SITE_URL.