PDA

View Full Version : Dialog Event Not Setting Property



jlbweb
06-03-2004, 09:49 AM
I have created a new dialog and on the 'Next' button added an event:

Event: [QuickAddressDir]
Argument: [_QuickAddressDir]

The _QuickAddressDir has been set in the Property for DirectoryCombo, DirectoryList & PathEdit.

When I check the [QuickAddressDir] later in the InstallScript using MsiGetProperty, it is still set to the default value from Property Manager value.

Where am I going wrong?

Help Please :(

RobertDickau
06-04-2004, 08:26 AM
When are you calling MsiGetProperty? Because QuickAddressDir is a private property---its name contains lowercase letters)---its value will be reset when execution switches from the UI sequence to the Execute sequence.

To preserve the value, perhaps try making it a public property: QUICKADDRESSDIR.