aherrick
aherrick

Reputation: 20169

WIX 3.5 Multiple Instances Windows Service

I have a simple WIX installer which will install a Windows Service. I have Multiple Instances setup so that the service can run side by side.

Everything is looking good the only problem I'm now having is when I uninstall the installation. It completely removes the actual windows service executable, however it doesn't completely remove the registry entry. Going into the services.msc I can still see the service name. I have to go into the registry and manually delete the entry.

Check out my VS2010 solution here: http://andrewherrick.com/spike/multiplewindowsservices.zip

You can easily recreate it by installing the default instance, then install instance 01 side by side. Then try and uninstall instance 01. You will see it isn't removed from the services list.

Any thoughts?

Upvotes: 1

Views: 1141

Answers (1)

aherrick
aherrick

Reputation: 20169

The solution was to upgrade to WIX 3.6 which allows MultiInstance installs at the component level.

Upvotes: 2

Related Questions