CheckTargetPath ControlEvent

Windows Installer

CheckTargetPath ControlEvent

This event notifies the installer that it has to verify that the selected path is valid. If the path is not valid, then this event blocks further ControlEvents associated with the control.

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

The name of the property containing the path. If the property is indirected, then the property name is enclosed in square brackets.

Action on Subscribers

This ControlEvent does not perform an action on subscribers.

Typical Use

A PushButton control on a browse dialog box is tied to this event in the ControlEvent table to check the selected path before returning to the selection dialog box.

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.