Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / September 2004

Tip: Looking for answers? Try searching our database.

Can't uninstall MSI based project from the control panel

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ym - 11 Sep 2004 00:48 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.