Hi Adam,
I apologize for the delayed reply.
I will try to explain below the scenario when the "Update MSI Edit Controls" custom action can be used.
Because of a Windows Installer limitation, the value of an "Edit Box" control will not be updated in the UI if its related property is changed through a VBS custom action. For this, you need to use an auxiliary property (i.e. MY_PROP) that is set by the VBS custom action and an auxiliary "Set installer property" custom action that sets the property related to the edit box (i.e. MY_EDIT).
So, when the VBS custom action sets the "MY_PROP" property to a value (i.e. "My value"), the "Set installer property" custom action will set the "MY_EDIT" property to the value contained by the "MY_PROP" property like below:
- Property: MY_EDIT
Value: [MY_PROP]
In the case described above the value of the edit box will be updated in the UI.
However, there are cases when the user already typed some text in the edit box and in this case the above steps will still be helpless (the UI will not be updated). To overcome this problem, you should first call the "Update MSI Edit Controls" custom action which will let the edit box's UI be updated.
Best regards,
Eusebiu
FOLLOW US
Get the latest news in Application Packaging