This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: General uninstall problem
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 04, 2011
09:03 AM
General uninstall problem
I'm using basic MSI Project.
I install a couple of MergeModules, create WebSites\WebApps\AppPools and a Windows service. Everything installs and works fine. Then I'm trying to uninstall it thinking that everything should be removed. Well, I was wrong. the only thing that was removed was a program name from "Programs and Features". Even service hasn't stopped.
SharedDLLs doesnt have any references except for the service exe file, all the Components have "Shared" property set to "No".
What can be the reason of this behavior and is there a way out-of-the-box to clean everything (without Custom Actions)?
Thanks in advance!
I install a couple of MergeModules, create WebSites\WebApps\AppPools and a Windows service. Everything installs and works fine. Then I'm trying to uninstall it thinking that everything should be removed. Well, I was wrong. the only thing that was removed was a program name from "Programs and Features". Even service hasn't stopped.
SharedDLLs doesnt have any references except for the service exe file, all the Components have "Shared" property set to "No".
What can be the reason of this behavior and is there a way out-of-the-box to clean everything (without Custom Actions)?
Thanks in advance!
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 04, 2011
09:17 AM
Have you tried logging the uninstall to see if that gives you any clues?
How did you install/configure the service? If you used the tables in the MSI, did you create a control table entry to stop and uninstall the service for uninstall?
How did you create the WebSites/AppPools, etc? I don't use IS functionality for those, so I can't advise you what to check if you did. I created our through custom actions, and also created custom actions to remove them on uninstall or rollback.
How did you install/configure the service? If you used the tables in the MSI, did you create a control table entry to stop and uninstall the service for uninstall?
How did you create the WebSites/AppPools, etc? I don't use IS functionality for those, so I can't advise you what to check if you did. I created our through custom actions, and also created custom actions to remove them on uninstall or rollback.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 04, 2011
09:52 AM
KathyMorey wrote:
Have you tried logging the uninstall to see if that gives you any clues?
Property(C): IS_PREVENT_DOWNGRADE_EXIT = A newer version of this application is already installed on this computer. If you wish to install this version, please uninstall the newer version first. Click OK to exit the wizard.
Looks like this is the root of all evil. Though I've tried to clean everything, including the usage of Windows Installer Clean Up utility.
KathyMorey wrote:
How did you install/configure the service? If you used the tables in the MSI, did you create a control table entry to stop and uninstall the service for uninstall?
I haven't touched tables in MSI, I've just added service in Components\Adv. Settings\Services and have created the Event in Control Settings with the following options: Install Start, Uninstall Stop, Uninstall Delete.
KathyMorey wrote:
How did you create the WebSites/AppPools, etc? I don't use IS functionality for those, so I can't advise you what to check if you did. I created our through custom actions, and also created custom actions to remove them on uninstall or rollback.
Well, I have created them using IS functionality, but it looks like I will have to follow your advice and delete everything using CustomAction.
Thanks a lot for your answer!
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)