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

Installling the exe silently

Hi,

Using msiexec we can install the created msi silently but when we check for MDAC as a prerequisites its converting the o/p file to .exe. So how to install this exe silently. And it should also write a log while installing. For msi it can be achieved by the following command as you previously mentioned.

msiexec /i package.msi /L*V! "c:\install.log" /qn

Thanks
Harish.Y[/img]
Harish
Posts: 35
Joined: Tue Dec 27, 2005 9:25 am

Hi,

If not possible of installing the exe silently, can this we be achieved.
Suppose if you installing on a fresh machine it should create a input.ini file so that it should have an entry such that silent Installation=Y or N. If silent installation=Y then it should be installed silently and vice versa. If we are installing on the already installed one then it should not override the input.ini and take the input from that input.ini file. How this can be achieved.

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

Hi,

Starting with AI 3.7, you can specify the command-line options that the EXE bootstrapper passes to "msiexec" when the installation is started. In order to use this feature switch to the Media page and enter the desired arguments in the "MSI Command Line" text field. Therefore, in your case, the "MSI Command Line" field will look like this:

Code: Select all

/L*V "c:\install.log" /qn
If you select the "Leave install files outside" radio button, you will notice that AdvInst creates an INI file with the same name as your EXE package. The above command-line for "msiexec" will appear in this file and it will be read when the package is installed. Therefore, you can control whether the application installs silently or not by removing/adding (manually or programatically) the "/qn" flag from the INI file.

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

Return to “Common Problems”