Hi Kelly,
Thanks for your response. You mean I need to run this script through
installer. I am using WIX installer. That means I need to create some kind of
CA to kick off this VB script. Is that right? Would you give me some sample
how to do it?
Thanks,
Kai
To: [EMAIL PROTECTED]: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net;
[EMAIL PROTECTED]: Re: [WiX-users] Cannot run "The Definitive Guide to Windows
Installer" sample and "Variable is undefined: 'Property'From: [EMAIL
PROTECTED]: Mon, 5 May 2008 09:03:54 -0700This vbs is meant to be run by
windows installer. You can't just double click it - windows installer defines
'Property' as a member of it's global object. This is a feature of windows
script hosts - they can register an object to act as the set of 'globals' for
the hosted script. Kelly
Kai Lee <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED]
05/05/2008 08:17 AM
To
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]>, "wix-users@lists.sourceforge.net"
<wix-users@lists.sourceforge.net>
cc
Subject
[WiX-users] Cannot run "The Definitive Guide to Windows Installer" sample and
"Variable is undefined: 'Property'
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.
Learn
more.-------------------------------------------------------------------------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 [EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/wix-users
**************************************************************************************This
communication is intended solely for the addressee and isconfidential. If you
are not the intended recipient, any disclosure, copying, distribution or any
action taken or omitted to be taken inreliance on it, is prohibited and may be
unlawful. Unless indicatedto the contrary: it does not constitute professional
advice or opinionsupon which reliance may be made by the addressee or any other
party,and it should be considered to be a work in progress. Unless
otherwisenoted in this email or its attachments, this communication does not
form a Statement of Actuarial Opinion under American Academy of Actuaries
guidelines.**************************************************************************************
_________________________________________________________________
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