Hi all,
 
I am wonder whether anyone bought the book named "The Definitive Guide to 
Windows Installer" and try to run GetARPLoc.vbs  sample from Chapter 5 and keep 
getting the "Variable is undefined: 'Property'".  In the Charpter 5, there is a 
vscript sample named GetARPLoc.vbs.  
 
Here are the codes behind the GetARPLoc.vbs file.  
 
option explicit
dim installer, msg
Set installer = CreateObject("WindowsInstaller.Installer")
msg = 
installer.ProductInfo("{B3E1B56E-D853-4780-BF62-47B95195CD6B}","InstallLocation")
Property("TARGETDIR")=msg
set installer=Nothing
msgbox msg
 
Since this is a VB script, I launch it by double clicking it.  However, I 
receive "Variable is undefined: 'Property'".  Does anyone know how to solve 
this issue?  
 
Thanks in advance.  
 
Kai
_________________________________________________________________
Make Windows Vista more reliable and secure with Windows Vista Service Pack 1.
http://www.windowsvista.com/SP1?WT.mc_id=hotmailvistasp1banner
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to