Harish
Posts: 35
Joined: Tue Dec 27, 2005 9:25 am

Installing the created msi silently

Hi,

I am using trail version of Advanced Installer 3.6. At now we are using Install shield. We want to convert in to Advanced Installer. I have a doubt. I need to install the created msi(or)exe silently based on the input.ini file. In the input.ini file if the silent=y then the created msi or exe should be installed silently else non silently. How can this be achieved?

Thanks in Advance,
Harish.Y
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

In order to install the generated MSI or EXE package silently (with no UI at all), you need to specify the "/qn" command line switch. Thus, for a MSI package, you will use a command such as:

Code: Select all

msiexec /i package.msi /qn
whereas, for an EXE setup file, you would use:

Code: Select all

package.exe /qn
The 3.7 version of Advanced Installer scheduled for release this week will also allow you to set the command-line options for "msiexec". These command switches will be saved in the generated INI file and you also have the possibility to change this file (if it is not included in the EXE).

Regards,
Denis
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
kirkkenn
Posts: 2
Joined: Mon Feb 20, 2006 3:59 pm
Location: Denver, CO USA
Contact: Website

I have the 3.7 version of AI (I'm evaluating the trial version). I don't see the msiexec options you mentioned. Are they part of the user interface for the project?
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

If you create a MSI package (without an EXE bootstrapper) the options passed to "msiexec" must be specified on the command-line at install time. However, if you create a MSI package with an EXE bootstrapper, you can set the command line arguments for "msiexec" from within AI. These arguments are stored in an INI file and they will be used subsequently at install time. Please see the following thread for details about this feature:
http://www.advancedinstaller.com/forums ... php?t=1006

Regards,
Denis
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”