Windows Installer Editor Reference
345
Merge Modules and Transforms
A new installation opens.
2. Complete the Installation Expert pages or otherwise edit the transform as needed.
The following Installation Expert pages are available:
General Information Page
Path Variables page (see
About Path Variables
on page 315)
Resources page (see
Managing Binary Resources
on page 102)
Registry Page
INI Files Page
Shortcuts Page
Environment Variables page (see
Adding an Environment Variable
on page 153)
System Search page (see
Performing a System Search
on page 169)
3. Save the transform, using the .mst extension.
The transform appears in the location you specified.
See also:
Applying a Transform to an Installation
on page 345
About Transforms
Applying a Transform to an Installation
A transform must be applied to a base .MSI during installation using a command-line
option; it cannot be applied beforehand.
On the command line, type the following:
msiexec /i Application.msi TRANSFORMS=TransformName.mst
where Application.msi is the name of the .MSI, and TransformName.mst is the name of
the transform.
Because it is not practical to have end users type a line on the command line to run a
transform, we suggest you use one the following methods to run the transform:
z
Write a batch file that runs the .MSI along with the appropriate transform.
z
Use the shortcut that was created with the transform. If you used InstallTailor to
create a transform, a shortcut with the same name as the transform is created
along with the transform file. This shortcut’s target is set to run the base .MSI and
apply the transform.
z
Output the installation as an .EXE that launches an .MSI, which lets you send
command-line options to the .MSI. Do this on the Build Options page. See the
example below.
Example: Applying a transform with an .EXE
In this example, you output the installation as an .EXE that launches an .MSI and applies
the transform.
1. Select Installation Expert > Releases page.
2. Create a new release.
See
Creating a New Release
on page 185.