Installshield - Uninstall not removing service
Asked Answered
Z

2

9

We're having a weird issue with Installshield.

I'm using the Installshield to install a windows service on our DEV and QUAL environment (same machine). The configuration files are identical (.isl, .isproj and .vspscc) but we are experiencing some different behavior when we do the uninstall .

When we uninstall the QUAL service (they have diferent names) is all ok, but when we unistall the DEV service, the service is not removed from the services list as well as not remove from the registry entries.

Any idea what may be causing this different behavior for identical configuration on the same machine?

Zak answered 25/11, 2013 at 19:24 Comment(3)
Are you stopping the service in the .MSI prior to removal? As a test, You could install it, manually stop it and then do an uninstall. If it removes it ok stop the service on the uninstall eventIsla
Yes, I'm stopping the service. The really odd thing is that we are doing the same thing for DEV and QUAL but we are getting different outcomes. I've compared the .isl, .isproj and .vspscc files, I'm I missing any configuration file?Zak
You mention they have different names. Are you mentioning the service by the correct name in both instances? (dev and qual)?Mcafee
C
12

If you expand the events section of the service you've added (components section: advanced settings, services, your service), there will be 6 events (you might need to create a new key to see these) - one of which is "Uninstall Delete". The default is no, change it to yes and you'll be good. (I also set Uninstall Stop to yes as well).

Cilice answered 27/11, 2013 at 15:0 Comment(1)
You can also access through System Configuration->Services on same (Installation Designer) tab.Tureen
R
0

I know this is a very old question but Today I have faced the same issues, service doesn't remove during uninstalling service. As gbjbaanb replied I just follow but I did it slightly different ways. Go to Services and under Control Settings and I followed as gbjbaanb mentioned instructions.

enter image description here

By the way, I'm using Installshield 2014.

Rustin answered 26/2, 2020 at 13:45 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.