SMS Management Information Data

GeoCrew

The /SMS switch instructs a silent setup not to release the current session until the installation is complete. Without this switch a silent installation will immediately appear complete and run in the background.

Use this switch to have any additional installations or script actions wait for installation to complete (such as in a batch file). The parameter was introduced to support Microsoft Systems Management Server which would temporarily map a drive during installation to access source files (where it would immediately complete, and SMS would unmap the drive to the source files before the installation was complete.). Typical commands are:


Setup.exe /s /SMS

Setup.exe /s /SMS /f1"c:\temp\Setup.iss"

Setup.exe /s /SMS /f1"c:\temp\Setup.iss" /f2"c:\temp\my-log-file.iss"


Generating MIF File


The /m switch causes Setup.exe to generate an SMS Management Information Format (MIF) file. Including the ".mif" file extension is not necessary. A typical command is:


Setup.exe /m"SampleApp"


Specifying MIF File Serial Number


Using the /m1 parameter (along with /m) enables you to specify a serial number to be written to the MIF file. A typical command is:


Setup.exe /m"SampleApp" /m1"1234-5678"


Specifying MIF File Locale


Using the /m2 parameter (along with /m) enables you to specify a locale string to be written to the MIF file. A typical command is:


Setup.exe /m"SampleApp" /m2"ENU"