Under InstallExecuteSequence->Install I have created a VB script custom action. Execution Options is Deferred. Action Data contains [#AutoExec.Sas], which is a reference to one of the file names being installed. During the execution of the VB script I can get the name of the file by doing:
MsgBox "[CustomActionData]="+Session.Property("CustomActionData")
this works as expected, but when I use System.Property against any other properties I get a blank result, like this:
MsgBox "[APPDIR]="+Session.Property("APPDIR")
Can anybody tell me whats wrong?
I have tried changing Execution Options to Immediate, then Session.Properties are okay, but the files (which I'm trying to modify) has not been installed into the target location.
PS! I have other custom actions defined under"UI Custom Action" and here I can get the contents of the other properties.
FOLLOW US
Get the latest news in Application Packaging