Re: [WiX-users] Running vbscript in customaction

2010-12-17 Thread dB .
environment before printing this e-mail > -Original Message- > From: dB. [mailto:dbl...@dblock.org] > Sent: Friday, December 17, 2010 5:35 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Running vbscript in customaction > > Not

Re: [WiX-users] Running vbscript in customaction

2010-12-17 Thread Castro, Edwin G. (Hillsboro)
printing this e-mail > -Original Message- > From: dB. [mailto:dbl...@dblock.org] > Sent: Friday, December 17, 2010 5:35 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Running vbscript in customaction > > Note that while the

Re: [WiX-users] Running vbscript in customaction

2010-12-17 Thread dB .
block.org Moscow|Geneva|Seattle|New York -Original Message- From: David Watson [mailto:dwat...@sdl.com] Sent: Friday, December 17, 2010 8:07 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Running vbscript in customaction I got the following running from my desktop (with t

Re: [WiX-users] Running vbscript in customaction

2010-12-17 Thread David Watson
m > Please consider the environment before printing this e-mail > > > -Original Message----- > > From: sangeeta1 [mailto:[hidden > > email]<http://user/SendEmail.jtp?type=node&node=5843532&i=0>] > > > Sent: Thursday, December 16, 2010 12:42

Re: [WiX-users] Running vbscript in customaction

2010-12-16 Thread sangeeta1
en > > email]<http://user/SendEmail.jtp?type=node&node=5843532&i=0>] > > > Sent: Thursday, December 16, 2010 12:42 PM > > To: [hidden email]<http://user/SendEmail.jtp?type=node&node=5843532&i=1> > > Subject: Re: [WiX-users] Running vbscript in custom

Re: [WiX-users] Running vbscript in customaction

2010-12-16 Thread Castro, Edwin G. (Hillsboro)
e-mail > -Original Message- > From: sangeeta1 [mailto:snmsn...@gmail.com] > Sent: Thursday, December 16, 2010 12:42 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Running vbscript in customaction > > > Hi Phil, > > The custom action fun

Re: [WiX-users] Running vbscript in customaction

2010-12-16 Thread sangeeta1
I am running the msiexec with /l*v option to get verbose log. The error code is 2896, Return value 3 (unrecoverable error) Action 11:42:48: CheckUserExists. Action start 11:42:48: CheckUserExists. MSI (c) (E8:94) [11:42:48:993]: Cloaking enabled. MSI (c) (E8:94) [11:42:48:993]: Attempting to enab

Re: [WiX-users] Running vbscript in customaction

2010-12-16 Thread sangeeta1
Hi Phil, The custom action function to simply read the Domain name also fails with return code 3 Set shell = CreateObject() Set objRootDSE = GetObject("LDAP://RootDSE ") I am sure I am missing a lot here...looking for some directions on getting it right. thanks! On Thu, Dec 1

Re: [WiX-users] Running vbscript in customaction

2010-12-16 Thread sangeeta1
Thanks for the correction. After removing the wscript ref, I am still seeing the same problem. I initially thought maybe reading property from session object is throwing the error, so i hardcoded a value in the variable and tried it again, but it still throws the same error. Is there any way I ca

Re: [WiX-users] Running vbscript in customaction

2010-12-15 Thread Tobias S
Did you have a look at http://msiext.codeplex.com/ (http://msiext.codeplex.com/). At first glance this function seems to fulfill the needed functionality and also without the ugly way of using VBScript: http://code.dblock.org/Source/msiext/1.2/Docs/class_wix_1_1_extensions_1_1_user_privileges_1_1_l

Re: [WiX-users] Running vbscript in customaction

2010-12-15 Thread Wilson, Phil
There is no WScript object in Windows Installer. As its name implies, the Wscript object is supplied by the Windows Script Host environment, and you're not running in there. Just use CreateObject(). Phil Wilson -Original Message- From: sangeeta1 [mailto:snmsn...@gmail.com] Sent: Wedn