Windows Installer Editor Reference
96
Working With Wise Installation Files
When the package path matches a package in the database
If you open an installation file and the Software Manager database contains a package
with the same package path, the application and package names on the Product Details
page are unavailable. This is because the installation is connected to the package in the
database. You can only edit these names on the Package Attributes dialog box in
Software Manager.
If you edit the installation’s meta data, the meta data in the database is updated when
you save the installation. If you change the installation, re-import it to the Software
Manager database to update its resources.
Opening a copy of a package in the database
If you open an installation file that is a copy of a package in the Software Manager
database, the application and package names are populated and enabled. Change one
or both of these names before saving the installation to avoid overwriting the package in
the database. Then, when you then save the installation, a new package and its meta
data are added to the Software Manager database.
Example: You want to create a patch for an installation that is in the Software Manager
database. You open a copy of the installation file to change it. Before you save the
installation, you change its package name on the Product Details page. When you save
the installation, a new package with the same application name, and its meta data, are
added to the database.
Duplicate package in Software Manager Database dialog box
If you open an installation file that is a copy of a package in the Software Manager
database, and you don’t change the application and package name on the Product
Details page, the Duplicate Package in Software Manager Database dialog box appears
when you try to save the installation. Select an option and click OK:
z
Create a New Package (recommended)
Mark this to create a new package in the Software Manager database. The Product
Details page opens so that you can change the application or package name before
saving the installation file.
z
Overwrite Existing Package
Mark this to overwrite the package in the Software Manager database. The meta
data of the package in the database is overwritten, and its resources are removed
from the database.
z
Work Disconnected
Mark this to keep the installation file disconnected from the Software Manager
database. When you save the installation, its meta data is not added to the
database.
To connect the installation file to the Software Manager database, change the
application or package name on the Product Details page and save the installation.
A new package and its meta data are added to the database.
See also:
Using a Wise Package Studio Repository
on page 29