Microsoft KB Archive/301349

= PRB: Cannot Install on Server Appliance Via Software Update Feature =

Article ID: 301349

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Server Appliance Kit 2.0

-



This article was previously published under Q301349



SYMPTOMS
A properly constructed setup/.msi package is created and runs normally. However, when packaged as part of a software update-compatible .cab file and then uploaded to the server appliance, the package is not installed.



CAUSE
When the software update is in progress on the server appliance, the entire process is being run under the local system account of Windows NT AUTHORITY\SYSTEM.

This is not the case when the software update is run in interactive mode by a user, and as a result certain switches/parameters must be passed to MSIEXEC for proper operation.

The software update feature is designed to be used in a headless environment in which a user is not capable of interacting with the setup process. Therefore, any part of a software update process that requires interaction from the user during installation will cause the setup to stop responding (&quot;hang&quot;).



RESOLUTION
In the software update .inf file, it is important to specify launch conditions for the .msi package being used. Specifically, the installation should be run in one of the following ways:
 * Run the setup in quiet mode. Do not request user input or show pop-up dialog boxes. This can be accomplished by passing the /qn switch to the input. For example:
 * For InstallShield Setup.exe: Setup.exe /V&quot;/qn&quot;
 * For MSIExec .msi files: Msiexec.exe /i default.msi /qn
 * Run the setup such that all package information is stored at the system level, rather then a per-user level. This can be done by passing the MSI directive: ALLUSERS = 1. For example:
 * For InstallShield Setup.Exe: Setup.exe /V&quot;ALLUSERS=1&quot;
 * For MSIExec .msi files: Msiexec.exe /i ALLUSERS=1



MORE INFORMATION
The following example is the recommended way to set up the Info.inf file included in the software update .cab so that it will work in quiet mode, and specify ALLUSERS=1. The example uses an InstallShield-built Setup.exe:

InstallCommand=&quot; /V&quot;&quot;ALLUSERS=1 /qn&quot;&quot;&quot;

where  is the name of the setup executable file being used.

