Procedure to change Credential Provider GUID for deployment

雨燕双飞 提交于 2019-12-11 15:41:34

问题


I have modified the 'SampleAllControlsCredentialProvider' from Windows Vista samples using Visual Studio 2013. I need to change its GUID before deploying it to the production systems. I have generated the GUID using visual studio create gui tool and changed the GUID in .vcproj, .vcxproj and .sln files. Also, put the same GUID in register.reg file. Now, the registry entries are made with this new GUID but credential provider does not load. If I use the old GUID in register.reg (that came with the sample), only then the credential provider loads on startup.

As I am new to deployment of such projects involving GUIDs, what is the right way to change the GUID properly before deployment?


回答1:


Changing the GUID in .vcproj, .vcxproj and .sln files is not required.

You must change the GUID in guid.h, Register.reg and Unregister.reg files.



来源:https://stackoverflow.com/questions/52189782/procedure-to-change-credential-provider-guid-for-deployment

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