I thought I had this figured out but... no.
I'm trying to install a codec with an .inf file. In custom actions, InstallFinalize, I create a property set with formatted called "mycodec" with formatted text of:
[SystemFolder]rundll32 setupapi,InstallHinfSection defaultInstall 128 [SystemFolder]mpg4vki.inf
This custom action is followed by an VBscript inline with script text of:
session.property("mycodec")
Upon installation it errors out with a VBscript error that shows "session.property("mycodec") rather than the value of the property. If I replace the script text with:
msgbox(session.property("mycodec")) it displays correctly:
C:\WINNT\system32\rundll32 setupapi,InstallHinfSection defaultInstall 128 C:\WINNT\system32\mpg4vki.inf
Why does it convert to the right value in a msgbox but not when its just the session.property itself?
I'm sure you'll know where I've gone wrong...
Steve
FOLLOW US
Get the latest news in Application Packaging