ValidateProductID Action

[This is preliminary documentation and subject to change.]

The ValidateProductID action sets the ProductID property to the full Product ID. If the Product ID has already been validated successfully, then this action does nothing.

Properties Used

The ValidateProductID action performs Product ID validation by comparing the PIDKEY property to the PIDTemplate property.

Sequencing Restrictions

This action must be included in the sequence tables. The action must come before the UI wizard in the InstallUISequence table and before the RegisterUser action in the InstallExecuteSequence table.

Remarks

The ValidateProductId action always returns a success, whether or not the Product ID is valid, so that the product ID can be entered the on the command line the first time the product is run.

The Product ID can be validated without having the user reenter this information by setting the PIDKEY property on the command line or by a transform. The display requesting the user to enter the Product ID can then be made conditional upon the presence of the ProductID property, which is set when the PIDKEY property is validated.