InstallShield 2016
Project • This information applies to Transform projects.
When you apply a transform, you are modifying a base .msi package to incorporate changes that you included in the transform (an .mst file).
The two methods of applying a transform are described below.
Applying a Transform from the Command Line
One way to apply a transform is to pass a command line to Msiexec.exe or Setup.exe. When you apply a transform from the command line, you are changing the database of your .msi package at run time. To apply a transform at run time, your command-line statement should look something like this, specifying the desired transform with the TRANSFORMS property:
msiexec /i "ProductName.msi" TRANSFORMS="YourTransform.mst"
Use semicolons to separate multiple transforms.
Caution • Do not use semicolons in the name of your transform because the Windows Installer service interprets semicolons as file name separators.
When you specify more than one transform at the command line, the transforms are applied in the order specified. For example, you could have a base package that has only one feature, and one transform that adds a second feature, and another transform that changes the second feature in some way. The transform that adds the feature must be specified before the transform that changes the second feature; otherwise, the change will not be made properly.
Using the Transform Wizard to Apply a Transform
When you use the Transform Wizard to apply a transform, you create an installation package (.msi package) that reflects all of the changes contained in the transform file. This can be useful for network administrators who are customizing applications for all of their users.
To launch the Transform Wizard:
On the Tools menu, click Create/Apply.
See Also
MsiExec.exe Command-Line Parameters
Setup.exe and Update.exe Command-Line Parameters
InstallShield 2016 Help LibraryAugust 2016 |
Copyright Information | Flexera Software |