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

Dialogs and properties

I do Basic MSI project.
I need to prompt a user for new password. So, I created a new dialog with two textboxes, and assosiated each of them with new property Password1 and Password2. I have also added another properties PASSWORD_VERIFIED and NEW_PASSWORD.
Then I created new Custom Action of type InstallScript, immediate execution, where I gonna verify Password1 is equal to Password2 and set PASSWORD_VERIFIED to 1 and NEW_PASSWORD to new password, and accociated this action with Next button on my dialog.

Does it make sense so far?

Now, If I attempt to access any of my 4 properties from the install script I get undefined identifier.

What am I doing wrong? Am I on the right track at all? Any suggestions?
Thanks a lot!
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

MSI properties aren't the same as InstallScript variables; if you want to get a property's value from InstallScript (or from C), you'll need to use MsiGetProperty. The help and these forums have examples.
0 Kudos