更改凭据提供程序GUID以进行部署的过程 [英] Procedure to change Credential Provider GUID for deployment

查看:239
本文介绍了更改凭据提供程序GUID以进行部署的过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Visual Studio 2013修改了Windows Vista示例中的"SampleAllControlsCredentialProvider".在将其部署到生产系统之前,需要更改其GUID.我已经使用Visual Studio创建GUI工具生成了GUID,并更改了.vcproj,.vcxproj和.sln文件中的GUID.另外,将相同的GUID放在register.reg文件中.现在,注册表项是使用此新的GUID进行的,但凭据提供程序未加载.如果我在register.reg(示例附带的)中使用旧的GUID,则只有凭据提供程序会在启动时加载.

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.

由于我不熟悉部署涉及GUID的项目,因此在部署之前正确更改GUID的正确方法是什么?

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

推荐答案

不需要在.vcproj.vcxproj.sln文件中更改GUID.

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

您必须在guid.hRegister.regUnregister.reg文件中更改GUID.

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

这篇关于更改凭据提供程序GUID以进行部署的过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆