Groups | Blog | Home
all groups > visual studio .net setup > september 2004 >

visual studio .net setup : Can't uninstall MSI based project from the control panel



ymazin NO[at]SPAM sonicwall.com
9/10/2004 4:48:23 PM
Hello,

I've developed an MSI installer (Basic MSI project) that installs the
product correctly, but
when user wants to uninstall it from control panel using "Remove", the
uninstaller fails.
The dialog comes up "Do you want to uninstall the product", after
choosing "Yes", another dialog comes up" gathering information..."
and then its caption changes to "Canceling...", and product is not
removed.
If you choose "Change" button from control panel, or just run the
original installer package and then on Maintenance dialog choose
remove - everything works.
I've looked at generated MSI log and the only suspicious place was
InstallInitialize returns 2.
I couldn't find any references to this return code in the context of
InstallInitialize.
Another part of this puzzle that as soon as I change the product name
from its designated name to something else, uninstall works even from
the control panel.
Thank you for your help.
Look forward to hear from you.

Phil Wilson
9/13/2004 12:21:39 PM
I'm not sure what you mean by "change the product name", but I'm wondering
if you have an Uninstall custom action that's failing.
--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]

Tim Anderson
9/13/2004 12:56:37 PM
[quoted text, click to view]

Might be worth posting in the microsoft.public.platformsdk.msi group. I
*think* this newsgroup is mainly about installation of VS.NET itself.

Tim
Modifying a Visual Studio generated setup:
http://www.itwriting.com/msiwrestle.php

AddThis Social Bookmark Button