Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Custom action that fails prevents application to be uninstalled

0 views
Skip to first unread message

Marcus

unread,
Mar 21, 2010, 1:01:47 PM3/21/10
to
I have made an exe file that is run as a custom action during
uninstallation of my application. The custom action exe throws an
exception though and forces the uninstallation to do a rollback. Now I
can not uninstall my application and fix my faulty custom action!

Is there a way of uninstalling my application anyway, despite that the
Custom action crashes, causing a rollback of the uninstall?

Wilson, Phil

unread,
Mar 22, 2010, 3:27:37 PM3/22/10
to
If you can fix your custom action and build another setup (don't change
ProductCode, Version, UpgradeCode or anything) then try this:

msiexec /i <path to msi> REINSTALL=ALL REINSTALLMODE=vomus

and they are case sensitive. This is an update by reinstalling the MSI file.

--
Phil Wilson
The Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972


"Marcus" <marcus...@gmail.com> wrote in message
news:84581e9e-5e7a-4b95...@b7g2000yqd.googlegroups.com...

0 new messages