property set from a vbs?
hi all,
i just want to know, before starting to work on this, if i can set a property from a vbs into a custom action.
the property is INSTALLDIR
so, can it be done? if so, i will find it.
thanks!
i just want to know, before starting to work on this, if i can set a property from a vbs into a custom action.
the property is INSTALLDIR
so, can it be done? if so, i will find it.
thanks!
0 Comments
[ + ] Show comments
Answers (12)
Please log in to answer
Posted by:
kardock
16 years ago
Posted by:
jmcfadyen
16 years ago
Posted by:
kardock
16 years ago
i'm trying to change the INSTALLDIR from a few conditions that could occur in our environment. i'm using this line, with text modified from the conditions;
Session.Property("INSTALLDIR") = text
but the package keeps installing at the same place, the property is changed but my MSI doesn't seem to get it.
if i run a command line with INSTALLDIR="some directory", it works well.
can you please tell me where i need to put my CA in the installation sequence? maybe that will fix my problem.
thanks!
Session.Property("INSTALLDIR") = text
but the package keeps installing at the same place, the property is changed but my MSI doesn't seem to get it.
if i run a command line with INSTALLDIR="some directory", it works well.
can you please tell me where i need to put my CA in the installation sequence? maybe that will fix my problem.
thanks!
Posted by:
anonymous_9363
16 years ago
Posted by:
kardock
16 years ago
ORIGINAL: VBScab
Try it between CostFinalize and InstallInitialize in ExecuteImmediate.
same thing, the property is not set at installation time.
my vbs works, i have a msgbox to show me that the directory is what i'm expecting it to be but the debugger shows the variable is not changing.
any other suggestion please?
thanks for helping me!
Posted by:
anonymous_9363
16 years ago
Posted by:
AngelD
16 years ago
Posted by:
kardock
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.