eduran582
Posts: 1
Joined: Mon Apr 03, 2006 6:55 am
Location: CA USA
Contact: ICQ Website

Install msi from web server silently

Hello.

Using the registered AI pro version 3.8 (just got it) and I'm trying to find the necessary switches to install an msi installation file from an Intranet company server (http://mycompany). Can this be done with the msi or do I have to use the exe with the ini file (web install?)to do the silent install?

The idea is to have the user click on an "install" button on a web page and have the msi installation run silently (no user intervention).

I cannot figure how to use the [command line] syntax: msiesec /i myapp.msi /qn in a web page.

TIA
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,
Can this be done with the msi or do I have to use the exe with the ini file (web install?)to do the silent install?
You have to create an EXE setup package as follows:
1. In the Media page select "Create EXE setup file" and "Include install files in EXE".

2. Set the MSI Location to "Retrieve from on-line location" and enter the URL in the corresponding text field:

Code: Select all

http://www.yoursite.com/Product/downloads/package.msi
3. In the "MSI Command Line" text field, enter the additional parameters that will be passed to "msiexec". For silent install, enter "/qn" (without quotes). However, I would recommend that you use Basic UI such that the user has some feedback on the progress of the installation. This can be done by specifying the "/qb" option (instead of "/qn") or by selecting the checkbox "Limit to basic user interface" in the Install Parameters page.

4. Put the generated EXE, MSI and CAB files on your web server and create a link/button (specifying an absolute or relative URL) to the EXE bootstrapper in your downloads page, such as:

Code: Select all

<a href="package.exe">Setup package</a>

Note that in the current release version of AI (3.8.1) there is a bug which causes the EXE bootstrapper to simply ignore the arguments entered in the "MSI Command Line" field, only when the MSI is retrieved from an URL.

This bug has already been fixed and it will not appear anymore in the next version of AI. Use Basic UI until then.

Hope this helps.

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

Return to “Common Problems”