Windows Installer Editor Reference
107
Defining an Installation Project
See also:
Using a Wise Package Studio Repository
on page 29
Incrementing the Product Version
Windows Installer uses the version number of the application to identify the product
when subsequent patches or upgrades are applied.
How do you set the version number?
The version number is stored in the Version field on the Product Details page. You can
update the version number by changing the field.
See
Product Details Page
on page 102.
You can increment the version number automatically during compile by marking the
Increment version number on compile check box on the Product Details page.
(Visual Studio integrated editor only.) If an installation is part of a Visual Studio
solution, you can have the version number updated whenever the version number of the
main target file changes. To enable version updating, mark the Automatically Update
The Version Number check box on the Main Project page of the Property Pages dialog
box.
See
Main Project Page
on page 88.
When should you increment the version field?
z
When you add or delete files from the installation.
z
When you create, remove, or edit any other items besides files. Examples: services,
ODBC, runtimes, registry, and so on.
z
If you plan to create a patch that updates earlier versions to this version.
z
When you include upgrade entries on the Upgrades page of versions that this
installation will upgrade.
When can you leave the version field the same?
When you create an update that has all the same files as the original version, and only
the contents of files have changed.
Setting the Default Installation Directory
During installation, this directory is displayed to the end user on the Destination Folder
dialog box, and the end user can change the default location for the application. (The
Destination Folder dialog box is called the Single Feature Destination dialog box in
Windows Installer Editor.)
On the Product Details page, you can:
z
Change the default installation directory.
z
Reset the default directory for features that use this directory.
z
Create a new directory as a child, or subdirectory, of an existing directory.