My experience is that:

1. WMI custom actions can be unreliable in the MSI context. I don't know why, 
but they are error prone. 
2. AV products often disrupt VBScript code. 
3. If a VBScript has a syntax/runtime error it's reported in the log in some 
detail, down to line number and column. 2896 is an unusual error to get - 
VBScript failures are typically 1720, so AV might be the culprit.  

Phil Wilson 

-----Original Message-----
From: Sanjay Rao [mailto:s...@noida.interrasystems.com] 
Sent: Wednesday, June 09, 2010 8:25 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] VB script CA fails only on my laptop

your custom action execution failed.
you can use 'm  MSIProcessMessage' to insert log messages in msi log 
file. Use this function in your custom action code to debug exactly what 
is failing on your system.

use following command to create logs -
|msiexec /i your_installer.msi /l*v logs.txt

Sanjay Rao

|Andy.Kruger wrote:
> I have sequenced following VB script CA in the InstallDirDlg that validates
> the Install path entered by the user.
>
> <CustomAction Id="ValidePath" Return="check" VBScriptCall="Main"
> Property="VALIDATEPATH"/>
>
>
> And on the "Next" button,
>
> <Publish Event="DoAction" Value="ValidatePath">1</Publish>
>
> I had no problems running the CA on any computers so far but on one single
> laptop, the moment installer hits the VB script CA during install, it fails
> with error code 2896 (from the debug log)
>
> I have checked the WMI services and upgraded the Windows installer service
> to 4.5.
> But no luck.
>
> Any ideas???  Why does the CA do not work on this system when it works on
> all other boxes??
>
>
>
> -----
> Andy
> Build&Deployment
> Schneider Electric
>   




------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at Portland House, Bressenden Place, London, 
SW1E 5BF (Registered number 166023). For a list of European legal entities 
within the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. 
You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail 
inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be 
subject to the terms of any agreements between Invensys (and/or its 
subsidiaries and affiliates) and the recipient (and/or its subsidiaries and 
affiliates).



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to