ValidateProductID ControlEvent

Windows Installer

ValidateProductID ControlEvent

The ValidateProductID event sets the ProductID property to the full Product ID. If the validation is unsuccessful, then this event puts up an error message and modal dialog box for a user entry of the Product ID.

This event can be published by a PushButton Controlor a SelectionTree control. This event should be authored into the ControlEvent table.

This ControlEvent requires the user interface to be run at the full UI level. This event will not work with a reduced UI or basic UI. For information, see User Interface Levels.

Published By

This ControlEvent is published by the installer.

Argument

None.

Action on Subscribers

None.

Typical Use

A PushButton control on a modal dialog box is tied to this event and is used to check the user's entry of the Product ID. If the user's entry is valid, then the next dialog box will open.

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.