\
Source Code
VBSCRIPT
Custom Action Functions
VbsCaPropertyGet()
This function returns the value of a Windows Installer property.
It exists to allow your custom action a much greater chance
of being able to be tested from the command line.
If your custom action is deferred then you probably wish to use
"VbsCaCadGet" instead.
When being tested you will be prompted for a "test" value for
the property.
The function takes these parameters:
- The name of the property being queried.
- A default value which is only used during testing.
- An extra message for the testing "prompt", pass "" if not required.
<$VbsCaEntry "Install">
dim InstallDir : InstallDir = VbsCaPropertyGet("INSTALLDIR", "C:\tmp\INSTALLDIR.TST", "")
<$/VbsCaEntry>