WIX 3.5 Multiple Instances Windows Service

戏子无情 提交于 2019-12-11 04:39:01

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/9893732/wix-3-5-multiple-instances-windows-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!