The [Mif] Section
InstallShield 2020
If the [Mif] section is present, the installation will automatically create a installation .mif file in the Temp folder. You can also create an .mif file by using the -m command-line option for Setup.exe and optionally its -m1 and -m2 options.
These are the keynames under the [Mif] section of Setup.ini:
• | Type |
• | Filename |
• | SerialNo |
• | Locale |
Type
Set this key to SMS.
Filename
The Filename key is optional. It provides the alternate name for the .mif file to be created. If this key is not included, the installation tries to use the AppName key under the [Startup] section of Setup.ini as the .mif file name. If the AppName key is also not present, the installation creates a file with the default name Status.mif.
The file name should not include an extension, since .mif files must have the .mif extension. The file name should not include a path—it is placed in the Temp folder by default.
SerialNo
The SerialNo key is also optional. If provided, the information from this key is placed in the Serial Number section in the .mif file. If this key is not present, the installation instead places quotation marks ("").
Locale
The Locale key tells the installation to place the indicated locale in the .mif file. English (ENU) is the default; refer to Microsoft documentation for a complete listing of locale strings.
The following is an example of a Setup.ini file for an installation that will automatically create an .mif file.
[Startup]
AppName=InstallShield
[Mif]
Type=SMS
Filename=IShield
SerialNo=IS50-32XYZ-12345
Locale=DEU
See Also