How to solve the problem of WcaSetProperty or MsiSetPropertyA function about dailog not taking effect if not closed #8652
Unanswered
ad-chuliang
asked this question in
Questions
Replies: 1 comment 1 reply
-
Are you sure it's the Property value that is not changing, or just the value displayed on the Dialog from the Property? My recollection was that the Windows Installer Dialogs only update values immediately prior to display. Once a particular dialog is displayed, the values shown are relatively fixed. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use CustomAction to change the bind value of Property. In C++ function, like "hr = WcaSetProperty(L"FreeSize", UlonglongToLPWSTR(freeSize.QuadPart / (1024 * 1024)));" to set Property. This statement run indeedly when I bind Publish to control, however, the property value is not change when the Dialog where this control is located is not yet closed. When I close this Dialog,without run that statement again, the property value is changed. So, what's the reason for this situation and how to refresh property value without close its dialog.
Beta Was this translation helpful? Give feedback.
All reactions