MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: CaSleep()[Next]: VbsCaRaiseError()
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Source Code->VBSCRIPT->Custom Action Functions->VbsCaPropertyGet()

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:

  1. The name of the property being queried.

  2. A default value which is only used during testing.

  3. An extra message for the testing "prompt", pass "" if not required.

EXAMPLE

<$VbsCaEntry "Install">
   dim InstallDir : InstallDir = VbsCaPropertyGet("INSTALLDIR", "C:\tmp\INSTALLDIR.TST", "")
<$/VbsCaEntry>


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 23 Aug 2008Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: CaSleep()[Next]: VbsCaRaiseError()


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Thursday August 28 2008 at 11:28am
Visit MAKEMSI's Home PageThis external link was OK when tested at 13 Aug 2008

HTML page dated Mon, 29 Jan 2007 00:11:11 GMT
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 23 Aug 2008