According to the documentation the CustomAction Error attribute is only
used with a type 19 custom action. But, in that case it looks like you
use a combination of the <Error/> element to set up your string and then
refer to this index number in the Error attribute of the CustomAction
element. Not sure what happens if your custom action is not type 19,
though. Might just ignore it.

You can use Orca to see what the types are on the CustomAction table.

-----Original Message-----
From: Sandeep Gautam (HCL Technologies Ltd)
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 23, 2008 11:55 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Custom action specific Error Massage

Hi,
In my Wix code, I am executing one custom action

   <CustomAction Id="CA_UnInstallXXX"
             Directory='CVPDir'
 
ExeCommand='"[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\installUt
il.exe" /u XXX.exe"'
             Return='Check' >
    </CustomAction>

Some times, This custom action is failing. So on failure ,I want to give
specific error related to only this CA.

I am getting one generalize error(Id=1722) for all CAs failure.

Please help me out.

Regards
Sandeep

------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to