Visual Studio Setup Project failing to add keys to registry

烂漫一生 提交于 2019-12-12 05:38:11

问题


I'm creating a setup pacakage in Visual Studio 2008 to register a COM component and one of the actions is to add a few keys to the registry.

The odd thing about it is when I run the installer it creates the key hierarchy correctly but the last key in the hierarchy it creates has the wrong GUID... whereas its right in the installer... has anyone run into this or have any suggestions on what is going wrong?

Thanks


回答1:


I had the same (or a similar?) problem, my solution is here: How to register COM from VS Setup project?

Basically I just created the registry keys manually and added them to the setup project as a .reg file :)



来源:https://stackoverflow.com/questions/1255448/visual-studio-setup-project-failing-to-add-keys-to-registry

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