Microsoft KB Archive/930953

= Description of the command-line installation parameters for SoftGrid Virtual Application Server 4.x =

Article ID: 930953

Article Last Modified on 7/31/2007

-

APPLIES TO


 * Microsoft SoftGrid for Terminal Services
 * Microsoft SoftGrid for Windows Desktops

-



SUMMARY
This article describes the command-line installation parameters for SoftGrid Virtual Application Server 4.x.

Important The information in this article applies to the following scenarios:
 * You install SoftGrid Virtual Application Server. Then, you create a configuration database.
 * You upgrade SoftGrid Virtual Application Server and the configuration database.
 * You install any of the following SoftGrid components:
 * SoftGrid Virtual Application Server
 * SoftGrid Server Management Console
 * SoftGrid Management Web Service
 * SoftGrid Client Management Console
 * You uninstall SoftGrid Virtual Application Server.
 * You install SoftGrid Virtual Application Server in an existing SoftGrid database.

Note You can perform only the first four scenarios by using a command line in SoftGrid Virtual Application Server 4.x. You can perform the last scenario only by using the installation wizard. Microsoft plans to address this limitation.



MORE INFORMATION
The following table describes the SoftGrid command-line parameters that are available for SoftGrid Virtual Application Server 4.x. You can use these parameters together with the Setup.exe command-line tool, together with the Msiexec.exe installer tool, or in the properties of a custom transformation (.mst) file.

The following table describes parameters that are frequently used together with the Msiexec.exe installer tool.

Examples of how to use the parameters
All examples appear in the form in which they were tested.

Example parameters
 * /qn: quiet installation
 * /Lv: verbose logging
 * /passive: no user interaction is required

Install SoftGrid Virtual Application Server, SoftGrid Management Web Service, and SoftGrid Server Management Console
REM Install.bat

set VAS=4.1.1.302 set Log=L:\Examples\s%VAS%-SftVAS-Cmd.log set DB=&quot;MySGDB&quot; set Host=&quot;%COMPUTERNAME%&quot; cd ..\s%VAS%

msiexec /i &quot;SoftGrid Virtual Application Server.msi&quot; INSTALLDIR=&quot;S:\Program Files\Softricity&quot; DB_USER=SoftGrid DB_PASS=&quot;fakepw&quot; DB_ADMIN_USER=sa DB_ADMIN_PASS=&quot;fakepw&quot; DB_CREATE_SERVICE=TRUE SWIDOMAINNAME=&quot;pjf-support.cts.softricity.int&quot; SWIDOMAINUID=&quot;sgbrowse&quot; SWIDOMAINPWD=&quot;fakepw&quot; SWIADMINGROUP=&quot;SG Admins&quot; SWIUSERGROUP=&quot;SG Users&quot; DB_SERVICE=%DB% DB_HOST=%Host% SWISERVERLOGDIR=&quot;L:\&quot; DB_FILE_PATH=&quot;D:\SFTData&quot; SWICONTENTDIR=&quot;P:\SFTContent&quot; /Lv %Log% /qn

Upgrade
REM Upgrade to 4.1.1.302

set VAS=4.1.1.302 set Log=L:\Examples\s%VAS%-Upgrade-Cmd.log cd ..\s%VAS%

msiexec /i &quot;SoftGrid Virtual Application Server.msi&quot; DB_ADMIN_USER=sa DB_ADMIN_PASS=&quot;fakepw&quot; DB_USER=&quot;SoftGrid&quot; DB_PASS=&quot;fakepw&quot; REINSTALL=ALL REINSTALLMODE=vomus /Lv %Log% /qn

Install SoftGrid Server Management Console and SoftGrid Client Management Console
REM Consoles only

set VAS=4.1.1.302 set Log=L:\Examples\s%VAS%-SftSrvOnly-Cmd.log cd ..\s%VAS%

msiexec /i &quot;SoftGrid Virtual Application Server.msi&quot; INSTALLDIR=&quot;S:\Program Files\Softricity&quot; ADDLOCAL=Release_SoftGrid_Management_Console,Release_Client_MMC /Lv %Log% /qn

Install SoftGrid Virtual Application Server only
REM Server Only

set VAS=4.1.1.302 set Log=L:\Examples\s%VAS%-ServerOnly-Cmd.log set DB=&quot;MYSGDB&quot; set Host=&quot;%COMPUTERNAME%&quot; cd ..\s%VAS%

msiexec /i &quot;SoftGrid Virtual Application Server.msi&quot; INSTALLDIR=&quot;S:\Program Files\Softricity&quot; DB_USER=SoftGrid DB_PASS=&quot;fakepw&quot; DB_ADMIN_USER=sa DB_ADMIN_PASS=&quot;fakepw&quot; DB_CREATE_SERVICE=TRUE SWIDOMAINNAME=&quot;pjf-support.cts.softricity.int&quot; SWIDOMAINUID=&quot;sgbrowse&quot; SWIDOMAINPWD=&quot;fakepw&quot; SWIADMINGROUP=&quot;SG Admins&quot; SWIUSERGROUP=&quot;SG Users&quot; DB_SERVICE=%DB% DB_HOST=%Host% SWISERVERLOGDIR=&quot;L:\&quot; ADDLOCAL=Release_SoftGrid_Server DB_FILE_PATH=&quot;D:\SFTData&quot; /Lv %Log% /qn

Uninstall SoftGrid Virtual Application Server and components
REM uninstall

set VAS=4.1.1.302 set Log=L:\Examples\s%VAS%-Remove-cmd.log cd ..\s%VAS%

msiexec /uninstall &quot;SoftGrid Virtual Application Server.msi&quot; /passive /Lv %Log% /qn

