Summary
Using SetProperty control event in MSI 3.1 to support refreshing dialogsSynopsis
Project Type: Basic MSI
In the past, the limited support for the refreshing of dialog controls has meant that Basic MSI dialogs are very limited in what they are capable of. However, with the addition of the SetProperty control event in MSI 3.1, more options are available for customization of the user interface.
Discussion
If you are running into a limitation of Windows Installer where a dialog control isn't refreshing, you may be able to use the SetProperty Control Event to get the dialog control to update correctly.
Some dialog controls that you may want to cause a refresh are:
--PushButton
--CheckBox
--SelectionTree
In order to have these controls refresh another control, the following steps are necessary:
--In the Events for the control, define a SetProperty event with no condition. The property that is set does not matter, since it only is getting set to trigger a refresh:
Event: [DUMMYPROPERTY]
Argument: 1
Condition: (blank)
--Next, add a Subscription for the dialog control to be updated. Below is an example for a dialog control that should be appear:
Event: SetProperty
Attribute: Visible
Note: It is necessary to manually type in 'SetProperty', as this is a recent addition to Windows Installer, and as such not yet included as an option in the drop-down list.
Additional Information
SetProperty Control Event
http://msdn.microsoft.com/en-us/library/aa371695(VS.85).aspx
Related Articles
Disabling / Enabling Dialog Controls in InstallScript 3Number of Views Suite Installer MSI Package is Not Found When Installing New Features via the Windows Control Panel 9Number of Views Warning-7065 Windows Installer 3.1 Engine could not be found, while creating a patch and "Error reading setup initializati… 11Number of Views Dialog Control Is Covered by the Background Bitmap 3Number of Views Making a Control Over a Bitmap Visible on MSI Dialog 3Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago