Hi all, I am trying to modify TARGETDIR value at runtime in WIX using VBScript Custom Action, but it seems that WIX doesn’t like Session.TargetPath. An example is attached with this mail.*(Please rename Test.vb_ to Test.vbs)*
· *Test.vbs*: is the script containing Session.TargetPath call, which is failing. If this is omitted, installer would work fine. · *Product.wxs*: is the Wix source file calling Test.vbs as Custom Action. Alternatively, I tried using INSTALLSHIELD 12 for Session.TargetPath(“INSTALLDIR”) as it has INSTALLDIR in its Directory Table and it worked fine. Anyone have any idea why Session.TargetPath(“TARGETDIR”) is not working with WIX? Thanks a lot. Farrukh
------------------------------------------------------------------------------
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users