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.

Which leads me to your suggestion regarding the custom action that I run.  I
have it set such that the return value is ignored.  The CA is scheduled to
run before the launch conditions and it merely sets a property that is
evaluated in the launch conditions.

As a test, I have taken out my custom action, changed the launch condition
to fail on uninstall and I still get the fatal error.

As I mentioned earlier, I also used the SampleFirst package from the
tutorial, created a launch condition that fails on uninstall.  It also
displays a fatal error dialog when uninstalled from ARP.

I can only conclude that launch conditions are not meant for uninstalling.
But I would sure like to be proved wrong as my boss is putting a lot of
pressure on me about this issue.

John

On 1/26/07, Bob Arnson <[EMAIL PROTECTED]> wrote:

John Lalande wrote:
> What situations are they useful if they always show a Fatal Error
> dialog in ARP?

If you determine that you need some prerequisite to successfully
uninstall.

> I am thinking of replacing the uninstall launch condition with a
> dialog that has a Retry button allowing the user to close the program
> and continue.  Do you think that is a suitable solution?

You can't show authored UI because ARP runs the uninstall in basic UI
level. I assume your objection is just to the error message? You can try
a custom action that returns ERROR_INSTALL_USEREXIT to see if ARP shows
a different message in that case.

--
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