开发者

Setup and Deployment project adding a registry key

Within my VS2010 C# project I have created a Setup And Deployment project to install the windows app. This Application is being installed on internal pcs within my company. I need to change or add a certain registry key within the users PC registry file, but I am unclear on how to do it. I have read that you need to create a new registry file and export it but I dont want to replace theirs, all I want to do is create or update one registry key within a certian registry location.

I need to add "ForceLargerFonts" within the HKCU/software/Business Objects/10.5/Export location by either adding the location Pdf (if it doesnt exist) and then ultimately adding the registery DWORD key "ForceLar开发者_如何学JAVAgerFonts" and set its value to 1.

Can I have some help on this


You need to Add Custom Action. For example see this question


You should create a setup project it's allow you to write registry keys look at this may be it will helps you msdn

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜