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

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.
 
K

kimiraikkonen

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top