John Lalande wrote:
> I understand where they might be useful; that is why I am using one.  
> But my experiments show that a failing launch condition during 
> uninstall from ARP always shows the fatal error message after 
> displaying the launch condition message.

Correct, that's how ARP works. Uninstalling from ARP shows only a basic 
UI so if something fails, your MSI package can't display authored UI. So 
ARP shows a message based on the MSI error code. A failed launch 
condition returns ERROR_INSTALL_FAILURE, which is "A fatal error 
occurred during installation." That's why I suggested a CA that returned 
ERROR_INSTALL_USEREXIT, which presumably would show the message "User 
cancelled installation." ARP doesn't let you customize the message 
that's shown, for better or for worse.

You didn't answer my question -- you want the uninstall to be canceled; 
you just don't like the "fatal error" message, right?

> Which leads me to your suggestion regarding the custom action that I 
> run.  I have it set such that the return value is ignored.  

Don't set the continue attribute -- you want the return value to be 
acted on.

-- 
sig://boB
http://bobs.org


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to