Saturday, February 2, 2013

REGISTRY Win.Kinstaller Control Events DecimalHexadecimalConstant



http://msdn.microsoft.com/en-us/library/windows/desktop/aa368039(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/aa368043(v=vs.85).aspx
A ControlEvent specifies an action to be taken by the installer or a change in the attributes of one or more controls in a dialog box. For more information about ControlEvents, see ControlEvent Overview.The following table provides links to more information about particular ControlEvents.Control eventBrief description of ControlEventActionDataPublishes data on the latest action.ActionTextPublishes the name of the present action.AddLocalNotifies the installer to run features locally.AddSourceNotifies the installer to run features from their source.CheckExistingTargetPathNotifies the installer to verify that the path can be written.CheckTargetPathNotifies the installer to verify that the path is valid.DirectoryListNewNotifies the DirectoryList control to create a new folder.DirectoryListOpenSelects the directory in the DirectoryList control.DirectoryListUpNotifies the DirectoryList control to select the parent of the present directory.DoActionDialog box notifies the installer to execute a custom action.EnableRollbackUsed to turn rollback capabilities off and on.EndDialogNotifies the installer to remove a modal dialog box.IgnoreChangePublished by the DirectoryList control when a folder is highlighted but not opened.MsiLaunchAppThis control event runs a specified file.Windows Installer 4.5 and earlier:  Not supported.MsiPrintEnables the user to print the contents of ScrollableText Control.Windows Installer 4.5 and earlier:  Not supported.NewDialogNotifies the installer to change a modal dialog box into another dialog box.ReinstallInitiates a reinstallation of features.ReinstallModeSpecifies the validation mode during a reinstallation.RemoveNotifies the installer when features are selected for removal.ResetResets all the property values to the default values used when the dialog box was created.RmShutdownAndRestartUse the Restart Manager to shutdown all applications that have files in use and to restart them at the end of the installation.ScriptInProgressDisplays a string while the execution script is compiled.SelectionActionPublished by SelectionTree to describe an item.SelectionBrowsePublished by SelectionTree to spawn a dialog box.SelectionDescriptionPublished by SelectionTree to provide a string in the Description field of the Feature Table.SelectionNoItemsUsed by SelectionTree to delete text or disable buttons.SelectionPathPublished by SelectionTree to provide the path of an item.SelectionPathOnPublished by SelectionTree to indicate whether there is a path associated with a feature.SelectionSizePublished by SelectionTree control to provide the size of an item.SetInstallLevelThe installer changes installation level to a specified value.SetProgressPublished by the installer to provide installation progress.SetPropertySets a specified property.SetTargetPathNotifies the installer to check and set a path.SpawnDialogNotifies the installer to create a child of a modal box.SpawnWaitDialogTriggers a specified dialog box.TimeRemainingPublished by the installer to provide the time remaining in the progress sequence.ValidateProductIDSets ProductID to the full Product ID.   Build date: 11/30/2012Did you find this helpful? Yes No

Community Additions

ADD

Developers of installation packages can author a user interface containing the controls discussed in this topic. For information on how to add a particular control to a dialog box, see the topic for that control and read the section Adding Controls and Text.Some controls, such as CheckBox and ComboBox, are associated with a property specified in the Property column of the Control table. A user changes the value of this property by interacting with the control. Passive controls, such as Billboard and bitmap, are not associated with such a property.For security, private properties cannot be changed by a user interacting with the user interface. For a property to be set by the user interface, it needs to be a public property and in uppercase. See also About Properties.In some cases a control may be redrawn incorrectly when canceling out of a dialog. This has to do with the order in which the controls receive WM_PAINT messages after the Cancel dialog is removed. To fix this, try changing the order of the controls in the Control table.Control nameAssociated propertyBrief description of controlBillboardNoDisplays billboards based on progress messages.BitmapNoDisplays a static picture of a bitmap.CheckBoxYesA two-state check box.ComboBoxYesA drop-down list with an edit field.DirectoryComboYesSelect all except the last segment of the path.DirectoryListYesDisplays folders below the main part of path.EditYesA regular edit field for any string or integer.GroupBoxNoDisplays a rectangle that groups other controls together.HyperlinkNoDisplays a HTML link to an address, which opens in the default browser.Windows Installer 4.5 and earlier:  Not supported.IconNoDisplays a static picture of an icon.LineNoDisplays a horizontal line.ListBoxYesA drop-down list without an edit field.ListViewYesDisplays a column of values with icons for selection.MaskedEditYesAn edit field with a mask in the text field.PathEditYesDisplays folder name or entire path in an edit field.ProgressBar controlNoBar graph that changes length as it receives progress messages.PushButtonNoDisplays a basic push button.RadioButtonGroupYesA group of radio buttons.ScrollableTextNoDisplays a long string of text.SelectionTreeYesDisplays information from the Feature table and enables the user to change their selection state.TextNoDisplays static text.VolumeCostListNoDisplays costing information on different volumes.VolumeSelectComboYesSelects volume from an alphabetical list. 

DecimalHexadecimalConstant
control attributes, see the link to the particular control that you need to create in Controls as well as the links to particular control attributes in the following lists.The following methods are used for specifying the attributes of a control:Use the ControlCondition table to disable, enable, hide, or show a control according to the value of a property or conditional statement. You can also use this table to override the default control specified in the Dialog table.Subscribe the control to a ControlEvent in the EventMapping table. Enter the attribute's identifier in the Attribute column and the ControlEvent's identifier in the Event column of this table.Set the control attribute bit flags for the control in the Attribute column of the Control table. This sets the attributes upon the creation of the control.Some attributes cannot be set for every control or be specified by all of the above methods. See the particular control and attribute topics for details.The initial values of some control attributes can be set with bits in the Control table.AttributeDecimalHexadecimalConstantBiDi2240x000000E0msidbControlAttributesBiDiEnabled20x00000002msidbControlAttributesEnabledIndirect80x00000008msidbControlAttributesIndirectInteger Control160x00000010msidbControlAttributesIntegerLeftScroll1280x00000080msidbControlAttributesLeftScrollRightAligned640x00000040msidbControlAttributesRightAlignedRTLRO320x00000020msidbControlAttributesRTLROSunken40x00000004msidbControlAttributesSunkenVisible10x00000001msidbControlAttributesVisible These attributes of Text controls are set with bits.AttributeDecimalHexadecimalConstantFormatSize5242880x00080000msidbControlAttributesFormatSizeNoPrefix1310720x00020000msidbControlAttributesNoPrefixNoWrap2621440x00040000msidbControlAttributesNoWrapPassword20971520x00200000msidbControlAttributesPasswordInputTransparent655360x00010000msidbControlAttributesTransparentUsersLanguage10485760x00100000msidbControlAttributesUsersLanguage This attribute of the ProgressBar control is set with a bit.AttributeDecimalHexadecimalConstantProgress95655360x00010000msidbControlAttributesProgress95 These attributes of Volume and Directory SelectCombo controls are set with bits.AttributeDecimalHexadecimalConstantCDROMVolume5242880x00080000msidbControlAttributesCDROMVolumeFixedVolume1310720x00020000msidbControlAttributesFixedVolumeFloppyVolume20971520x00200000msidbControlAttributesFloppyVolumeRAMDiskVolume10485760x00100000msidbControlAttributesRAMDiskVolumeRemoteVolume2621440x00040000msidbControlAttributesRemoteVolumeRemovableVolume655360x00010000msidbControlAttributesRemovableVolume These attributes of ListBox and ComboBox controls are set with bits.AttributeDecimalHexadecimalConstantComboList Control1310720x00020000msidbControlAttributesComboListSorted Control655360x00010000msidbControlAttributesSorted This attribute of the Edit control is set with a bit.AttributeDecimalHexadecimalConstantMultiLine655360x00010000msidbControlAttributesMultiline These attributes of PictureButton controls are set with bits.AttributeDecimalHexadecimalConstantBitmap2621440x00040000msidbControlAttributesBitmapFixedSize10485760x00100000msidbControlAttributesFixedSizeIcon5242880x00080000msidbControlAttributesIconIconSize1620971520x00200000msidbControlAttributesIconSize16IconSize3241943040x00400000msidbControlAttributesIconSize32IconSize4862914560x00600000msidbControlAttributesIconSize48PushLike Control1310720x00020000msidbControlAttributesPushLike This attribute of RadioButton control is set with a bit


http://msdn.microsoft.com/en-us/library/windows/desktop/aa368042(v=vs.85).aspx
.AttributeDecimalHexadecimalConstantHasBorder167772160x01000000msidbControlAttributesHasBorder This attribute of PushButton control is set with a bit.AttributeDecimalHexadecimalConstantElevationShield83886080x00800000msidbControlAttributesElevationShield This attribute of VolumeCostList control is set with a bit.AttributeDecimalHexadecimalConstantControlShowRollbackCost41943040x00400000msidbControlShowRollbackCost The following control attributes are not set with bits. These attributes are authored into the user interface tables or are set using Control Events.BillboardNameIndirectPropertyNamePositionProgress ControlPropertyNamePropertyValueText ControlTimeRemainingSee Adding Controls and Text.  Build date: 11/30/2012


http://msdn.microsoft.com/en-us/library/windows/desktop/aa368042(v=vs.85).aspx

No comments:

Post a Comment