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.
ym
Tim Anderson - 13 Sep 2004 12:56 GMT
> Hello,
>
[quoted text clipped - 6 lines]
> and then its caption changes to "Canceling...", and product is not
> removed.
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
Phil Wilson - 13 Sep 2004 20:21 GMT
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.

Signature
Phil Wilson [MVP Windows Installer]
----
> Hello,
>
[quoted text clipped - 20 lines]
>
> ym