I have a vbs script which should set a installer property. Unfortunately i always get an ' MSI API error'.
The Property is declared under 'Install Parameters'.
The line of code looks like this:
Session.Property("LICENCEFILENAME") = licenceFileName
The custom action is executed under Install with Deferred with no impersonation.
I read that scripts don't have any access to properties under deferred so i changed the exection option to commit with no impersonation -> the error still pops up while installing....
can you help me?
thank you
EDIT ADDITION:
I NOW GOT IT TO WORK. (set it to immediate execution in the install sequence) But there is one problem!
The vbs script sets a public property which is used in an xml file in the Files and Folders tab in AI. That means the content of the installer variable is set in a specific xml file. But my script seems to be executed after the xml file is written by AI. Which custom action sequence should i choose so the script will be executed in advance?
FOLLOW US
Get the latest news in Application Packaging