1

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 "ForceLargerFonts" and set its value to 1.

Can I have some help on this

mattgcon
  • 4,768
  • 19
  • 69
  • 117

2 Answers2

2

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

Community
  • 1
  • 1
Jacob Seleznev
  • 8,013
  • 3
  • 24
  • 34
-1

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

Sergey K
  • 4,071
  • 2
  • 23
  • 34