Search found 4 matches

Go to advanced search

by superfun
Tue Jul 22, 2008 3:17 am
Forum: Common Problems
Topic: Custom Action that Gracefully Aborts Uninstall
Replies: 5
Views: 6012
 
Jump to post

Re: Custom Action that Gracefully Aborts Uninstall

Thank you for the sample.

I have created a DLL custom action and it works beautifully. It returns 0 to continue the uninstall and 1602 to abort. There is no nasty error message about failure.
by superfun
Mon Jul 14, 2008 1:12 pm
Forum: Common Problems
Topic: Custom Action that Gracefully Aborts Uninstall
Replies: 5
Views: 6012
 
Jump to post

Re: Custom Action that Gracefully Aborts Uninstall

I have tried different return values suggested by the MS documentation (ERROR_INSTALL_USEREXIT) but all of the non-zero return values display the same error message. The continue/cancel goes through so the return value isn't being entirely ignored.

What I'm reading in other places suggests that ...
by superfun
Sat Jul 12, 2008 12:14 am
Forum: Common Problems
Topic: Custom Action that Gracefully Aborts Uninstall
Replies: 5
Views: 6012
 
Jump to post

Custom Action that Gracefully Aborts Uninstall

This may be a simple problem. I'd like to run a custom action during uninstall that checks a few things and then asks the user if they'd like to continue with the uninstall or cancel. I can get this to work except that whenever the user cancels they get the message:

"There is a problem with this ...
by superfun
Fri Jul 11, 2008 9:48 pm
Forum: Common Problems
Topic: Upgrade per-user or per-machine
Replies: 1
Views: 2656
 
Jump to post

Upgrade per-user or per-machine

Is there a way to author an installation so that it will upgrade per-user installation to another per-user installation and a per-machine installations to another per-machine installation? Basically, just detect what it's upgrading and use that setting? And if it's a fresh install then default to ...

Go to advanced search