Hello,
On the ExitDialog of my installer I want to show a text depending on a property. To do this, I used the tipps in http://www.advancedinstaller.com/user-g ... itdlg.html
Instead of the InstallMode property I use my own property called "DEVICE_COUNT". To set this property I use a vbscript in a custom action. This will work if the custom action was triggered from the UI. But if the action is placed in the install sequence under: "InstallExecuteSequence --> Install" it will not work.
The vbscript is quite simple at the moment:
Session.Property("DEVICE_COUNT") = "0"
The control conditions look like this:
DEVICE_COUNT = "0" --> show
DEVICE_COUNT <> "0" --> hide
The vbscript execution options are:
Synchronouse execution, check return value
Immediate execution
Execute always
The installed AdvancedInstaller version is 7.7 build 28804
What I also tested was:
I added the property on the InstallParameters to the list of properties and set the value to 0. In this case it does not work, too. It looks like the property is not set when it is inserted on the InstallParameters page. And it is also not available when showing a message box with the property from within a custom UI action.
Could this be a bug?
FOLLOW US
Get the latest news in Application Packaging