Windows Installer Editor Reference
215
Organizing Your Installation Into Releases
2. From Current Release, select a release to copy settings to.
3. Click Share at the right of the Media page. The Share Release dialog box appears.
4. From Copy/Share Media Settings From, select the release that contains the
settings to copy.
5. Click OK.
The settings of the release in Copy/Share Media Settings From immediately replace
the settings of the release in Current Release. Any change you make to the media of
either of the linked releases is applied to the other release, until you break the link.
To break a link between releases
1. Select Installation Expert > Media page.
2. From Current Release, select a release.
3. Click Share at the right of the Media page. The Share Release dialog box appears.
4. From Copy/Share Media Settings From, select <None>.
5. Click OK.
The link between the selected release and other releases is broken. The current settings
of the releases are not changed, but changing settings for one release no longer affects
the settings of other release.
Example: Spanning an Installation Across Media and Sharing Media
Size Information
You can span an installation across CDs and use the Share media destinations/size
info with previous media entry option. Assume the following:
z
The files for your application use 1.5 GB of uncompressed disk space.
z
You want to distribute the application on two CDs.
z
For each of the two CDs, you can safely assume a maximum size of 550 MB, which
means that you need to compress some, but not all of your files.
z
Your application includes some features that are always installed on the destination
computer. These are the files you compress.
z
The application also includes some features that the end user can either install or
run from the CD-ROM. These are the files you don’t compress.
This scenario means that you need to create two media items:
z
One media item for those features and components that are always installed,
compressed into one big .CAB file.
z
A second media item for those files that can be run from the CD and that you
therefore don’t compress.
To create media items with shared size information
The following steps are for the first media item.
1. Select Installation Expert > Media page.
2. Click Add at the right of the Media page. The Media Details dialog box appears.
3. Complete the dialog box.