Searching For A Previously-Installed Component - Symantec WINDOWS INSTALLER EDITOR 7.0 SP2 - REFERENCE FOR WISE INSTALLATION EXPRESS V1.0 Installation Manual

Table of Contents

Advertisement

Searching For a Previously-Installed Component

Windows Installer Editor Reference
Value Name
Enter the name of the registry value. To find the default registry value, leave
this blank.
Search 64-bit portion of the registry
(64-bit installations only.) Mark this to find registry keys that are designated as
64-bit components.
4.
Click OK.
To test the search, add a text box on one of the dialog boxes in the installation. In the
text box's Control Text field, enter the property name (surrounded by brackets) that
you assigned to this search. (Example: [MY_PROPERTY].) This causes the value of the
property to be displayed on the dialog box. When you run the installation, the property
you specified will hold the results of the search. If it is empty, the search failed.
On the System Search page, you can set up a search for a component that was
previously installed on the destination computer. The search looks for the component's
GUID in the registry to determine whether the component is installed.
You might use this search to find the installation directory of a component installed by a
different Windows Installer installation.
Example: Suppose you want to find the installation directory of version 1.0 of your
Sample1 application. You could use a file search to find the file, Sample1.exe, but it
might take a long time to search all drives. Instead, you could search for the component
ID of the component that contained Sample1.exe in the original installation. This type of
search is much faster.
To perform a component search, you must know the component's ID. To obtain this ID,
you must have access to the .WSI file of the previous installation. You can find the
component's GUID on the Component Details dialog box.
See
Adding and Editing a Component
To add a component to your search list
1.
Select Installation Expert > System Search page.
2.
Click Add at the right of the page and select Component.
The Read Component Settings dialog box appears.
3.
Complete the dialog box:
Property
Specify a property. It will hold the result of the search, which is a file name,
directory path, or other value, depending on the operation performed by the
search. If you've already defined a new public property (all uppercase) in the
Properties icon on the Product tab, then you can select it from the list;
otherwise enter a new property name (all uppercase). If you enter a new
property name, and the search fails to find a match, the property value will be
null and will be false if used in a condition.
Operation
Select the type of entry for the property:
Your Installation on the Destination Computer
on page 368.)
180

Advertisement

Table of Contents
loading

This manual is also suitable for:

Windows installer editor 7.0 sp2

Table of Contents