cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
BingMa
Level 4

Get Custom Property in CustomActionData

Hi,

I am working on a Basic MSI project. I created a custom dialog window, on which there is a combobox, the property is set to be "ServerName". I failed to get this ServerName in a deferred custom action. The ServerName is available till the ready to install dialog window is closed, and it is not available during the execute sequence. And it seems the Set Property custom action has to be in the execute sequence. Hence I can't get the value when the Set Property custom action take place, so I can't get the value through the CustomActionData.

Is there anyone can tell me how to solve this problem?

Thank you,

Bing
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

To preserve a property value you're setting in the UI sequence to be read in the Execute sequence, please be sure to use a public property (one with an all-caps name: SERVERNAME instead of ServerName, for example), if necessary also adding the property name to SecureCustomProperties.
0 Kudos