Article ID: 202139
Article Last Modified on 6/29/2004
<path to NTOP>\setup.exe /u:<path to setup text file>where the "path to Windows NT Option Pack" is the full path to the Setup.exe for the Windows NT Option Pack, the "/u:" instructs the Windows NT Option Pack to install in an unattended, or silent mode. The final information, "path to setup text file" is the full path information to the setup text file necessary for the unattended installation. This file is discussed in more detail later.
;;mysetup.txt [Version] Signature="$Windows NT$" ;NOTE: Windows NT Option Pack Setup sets the [Global] section later, ;automatically. You can also specify the installation mode that unattended ;MSMQ Setup runs in, based on the configuration of your target computer. ;For example, if your target computer will:<BR/> ; ;A) Receive a new MSMQ installation (fresh mode), but no "FreshMode=" ;line is specified, then Typical is the default value. ; ;B) Receive a MSMQ re-installation or uninstallation (maintenance mode), ;but no "MaintanenceMode=" line is specified, then ReinstallComplete is the ;default value.<BR/> ; ;C) Receive an upgrade of MSMQ (upgrade mode), but no "UpgradeMode=" ;line is specified, then UpgradeOnly is the default value. [Global] FreshMode=Custom ;MaintanenceMode=AddRemove|ReinstallFile|ReinstallComplete|RemoveAll ;UpgradeMode=AddExtraComps|UpgradeOnly ;NOTE: the [Components] section below is valid only when ;FreshMode = Custom, MaintanenceMode = AddRemove, and ;UpgradeMode = AddExtraComps ;for the [Global] section above. ;Note: The following [Components] selections for PWS are used For WinNT ;Workstation and Win9x. For WinNT Server, ;iis and it's supporting ;parameters should be used. [Components] ; pws iis_common = ON iis_www = OFF iis_pwmgr = OFF iis_doc_common = OFF iis_doc_pwmcore = OFF iis_doc_asp = OFF ;mts Mts_Core=ON Mts_Mmc=ON ;The following MSMQ Core Components lines should be changed to match the ;type of Windows Operating system. ; ;Msmq_Server_Core should be used for WinNT Server installs. ;Msmq_Client_Core should be used for Win95, Win98, and WinNT Workstation. ;You must change the [Msmq_Server] section header below to match. ;You must change the ServerType= and ClientType= to match also. For example,: ;if you are installing an MSMQ Client to an NTServer computer, you can ;specify Msmq_Server_Core=ON and [Msmq_Server] with ServerType=IND in the ;msmq path section below. Msmq_Client_Core=ON Msmq_Admin=OFF Msmq_Doc=OFF Msmq_SDK=OFF ;iis path parameters: [iis] Path=c:\myunatten\myiis PathFTPRoot=c:\myunatten\myinetpub\ftproot PathWWWRoot=c:\myunatten\myinetpub\wwwroot PathPROGRoot=c:\myunatten\myprogroot ;mts path and security params: [mts_core] Path=c:\myunatten\mymtx USERID=domain\username PASSWORD=enterpassword ;If you install an MSMQ client on a computer running Windows NT Workstation ;4.0, or Windows 95/98, you must replace the [Msmq_Server] section with ;[Msmq_Client], and the ServerType entry with ClientType. ClientType values ;include IND (independent client) and DEP (dependent client). ;You must also set Msmq_Server_Core=ON or Msmq_Client_Core=On to match. ;msmq path parameters: [Msmq_Client] Path="c:\Program Files\msmq" ClientType=IND ;;mysetup.txt--->
;;msmqinst.ini [Common Parameters] ControllerServer=Pacific Supporting Server=Pacific ;the lines below this point are used only for MSMQ Servers: DataDevice=c:\msmq,80 LogDevice=c:\msmq,20 IPAddresses=IPCN IP StopServices=Allow ; Setup uses the following section to install a PSC on a server computer ; named Lanai to the PEC named Pacific. This PSC's Site will be named ; Kanaha. The Site Link Costs will be 10. Note: There is NO cost based ; routing in the Option Pack version of MSMQ, and the SiteLinks parameter ; can be removed: [Lanai] ControllerServer=Pacific ServerType=PSC SiteName=Kanaha SiteLinks=10 ; Setup uses the following section to install a BSC on a server computer ; named Molokai to the PEC named Pacific in in the Islands Site: [Molokai] ControllerServer=Pacific ServerType=BSC ; Setup uses the following section to install ; an MSMQ routing server named Kahulawe to the Islands Site: [Kahulawe] ControllerServer=Pacific ServerType=RS ;;msmqinst.iniThe following is a sample Mqsetup.bat file. This can be useful in simplifying making the call to run the Setup program. This file can be sent in e-mail, sent by SMS, or run from disk. This particular sample copies the Msmqinst.ini file from a share on a computer named Pacific, with a share named CDsetup, from the directory named SetupCD (default location of msmqinst.ini) to the local Windows directory of the client computer. Then runs the Setup program in the unattended mode (/u) parameter, specifying the Mysetup.txt file that exists at the share root (:\\Mymachine\Cdsetup\) for the parameters.
;;mqsetup.bat copy\\Pacific\cdsetup\setupcd\msmqinst.ini %windir% \\Pacific\cdsetup\setup /u:\\mymachine\cdsetup\mysetup.txt ;;mqsetup.batNOTE: Be careful not to confuse the two folders CDSetup and SetupCD. A default share where the entire contents of the Windows NT Option Pack CD-ROM are copied to a drive will by default have this structure shown earlier.
Keywords: kbhowto KB202139