How to copy and merge registry settings to user's machine ?

  • Thread starter Thread starter fniles
  • Start date Start date
F

fniles

I am using VS 2005. When building a "Setup and Deployment" project, how can
I copy and merge registry settings to the user's machine ?
The registry setting is in HKEY_CURRENT_USER/Software/VB and VBA Program
Settings.
Thank you.
 
I am using VS 2005. When building a "Setup and Deployment" project, how can
I copy and merge registry settings to the user's machine ?
The registry setting is in HKEY_CURRENT_USER/Software/VB and VBA Program
Settings.
Thank you.

I think one of the ways to export a specific registry block and then
import the value into another machine with the file.
(eg: something.reg)

Furthermore, registry values can be edited with a text editor like
notepad even it's very dangerous if you're not sure what you're doing.
So you can save a registry key with a text editor in a "correct"
registry format with exporting, then rename the text file to ".reg"
extension. Then execute the reg file with
"system.diagnostics.process.start("yourregfilepath.reg")

There may some shorter and direct methods for integrating registries.

Hope this helps
 
Back
Top