Windows Installer Editor Reference
57
Setting Up
when the template was created. If the template’s default page view is a custom
page view, you can customize it.
See
Customizing Page Views
on page 23.
8. To test the new template, do the following:
If you saved the template in the Templates\Project directory, select File menu >
New > Project. On the New Project dialog box, click Wise Setup and Deployment
Projects in the Project Types list. Your new template should appear in the
Templates list.
If you saved the template in the Templates\File directory, select File menu >
New > File. On the New File dialog box, click Wise Files in the Categories list.
Your new template should appear in the Templates list.
9. Select the template you just created and click OK.
10. Verify that the changes you made in the template are present in this new
installation.
See also:
Connecting to a Wise Software Repository
on page 65
Component Rules
You can select or create rules that help you manage the creation of components in an
installation. Using component rules eliminates the need to specify component
information for every individual resource you add to an installation and ensures that
components are created consistently across all installations. Component rules can also
help you align component GUIDs in an upgrade with component GUIDs in previous
versions of the installation.
When you first create an installation, you select a component rule set to manage
components you add to that installation. Then, whenever you add a resource, such as a
file, registry key, shortcut, or anything else that can be installed, components are
created for those resources in accordance with the rule set you selected. Example: You
can always create a new component for each new file added to the installation, or you
can group related resources, such as help files, into one component.
Two predefined rule sets are provided. You might find that they manage your
components satisfactorily and no customization is necessary. If the predefined rule sets
do not meed your needs, you can duplicate them and modify the copies as needed, or
you can create new rule sets to reflect your organization’s standards. For descriptions of
the predefined rule sets, see
Microsoft Best Practices Component Rule Set
on page 63
and
One File Per Component Rule Set
on page 65. For instructions on creating new rule
sets, see
Customizing Component Rules
on page 60.
(Requires a repository connection.) You can share component rules with others in your
organization through a share point directory. Sharing component rules ensures that you
always use the most current set of rules and that your installations always adhere to
company standards for creating components. To share component rules, select Tools
menu > Options, click the Repository tab, and click the Advanced button. (In Visual
Studio: Tools menu > Options > Wise Options > Repository.) Make sure a shared
directory is specified for the Component Rules path.
See
Setting Repository Options
on page 50.