MSI Factory 2.3

Registry Search

Registry Search

Previous topic Next topic  

Registry Search

Previous topic Next topic  

MSI Factory

A registry search allows you to read a value from the registry on the user's system. Although it is called a "search" it does not recursively search the registry as the name implies. It merely reads a specific registry value.

Property

Property ID:

The name that uniquely identifies the property. The value read from the registry 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 registry value cannot be located or read. 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 registry value cannot be read. It has the effect of putting this search into the CPPSearch table as well as the AppSearch table.

Registry Location

Root:

The root registry key to read from.

Key name:

The name of the key (sub-key) under the root. For example, "Software\My Company\My Product."

Value name:

The name of the registry value that you want to read. Leave empty for the default value of the key.

Win64

If checked, the search looks in the 64-bit registry. If unchecked, the search looks in the 32-bit registry.

More Information

MSDN Online: AppSearch Action

MSDN Online: AppSearch Table

MSDN Online: CCPSearch Action

MSDN Online: CCPSearch Table

MSDN Online: RegLocator Table

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

WiX Help File: RegistrySearch Element

WiX Help File: Property Element


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