MSI Factory 2.3

Component Search

Component Search

Previous topic Next topic  

Component Search

Previous topic Next topic  

MSI Factory

A component search allows you to find the installed location (folder) of a previously installed component on the user's system. In order to perform a component search you must know:

1. The installed component's ID (GUID).

2. Whether the installed component had a file as its key path or was using its folder (directory) as its key path. You cannot perform a component search on a component that had something other than a folder or file as its key path (a regsitry value, for example).

Property

Property ID:

The name that uniquely identifies the property. The components path (folder) will be stored in this property if it is found. If not found, the property will contain the Default value below.

Default value:

The default value of the property. This value will be assigned to the property if the component cannot be located. Note that you cannot set a property with another property. The literal value that you enter will be assigned to the property.

Hide from log output

If checked, the property is not logged during installation. Used to prevent the installer from displaying passwords or other confidential information in the log file.

Save value during admin installation

If checked, the property is saved during administrative installation. When users install from the administrative image, the installation uses the saved values of the properties, rather than the values in the .msi file.

Allow transfer to server side (property is secure)

If checked, the property can be passed to the server side when doing a managed installation with elevated privileges.

Include in compliance check

If checked, the install will abort if the component cannot be found. It has the effect of putting this search into the CPPSearch table as well as the AppSearch table.

Component

Component identifier (GUID):

The GUID of the component that you are searching for.

Key path is folder

Select this option if the component that you are searching for had its folder (directory) marked as its key path.

Key path is file

Select this option if the component that you are searching for had one of its files marked as its key path.

More Information

MSDN Online: AppSearch Action

MSDN Online: AppSearch Table

MSDN Online: CCPSearch Action

MSDN Online: CCPSearch Table

MSDN Online: CompLocator Table

MSDN Online: Searching for Existing Applications, Files, Registry Entries or .ini File Entries

WiX Help File: ComponentSearch Element

WiX Help File: Property Element


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us