Can this be the case that you have Return='ignore' in the custom action
definition? I suppose in this case returning ActionResult.Failure will
be ignored.

-- Yan

-----Original Message-----
From: Alexander Kozlenko [mailto:[email protected]] 
Sent: Thursday, September 23, 2010 01:50
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] Error in Custom Action

What is the best way to block installation on error in Custom Action? I
used
ActionResult.Failure result value but installation continues to install.
Only throwing an exception of type InstallerException helps me to block
installation. Thanks.

 

Alexander Kozlenko

------------------------------------------------------------------------
------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to