473,466 Members | 1,313 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

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.
Jan 8 '08 #1
2 1833
On Jan 8, 11:33 pm, "fniles" <fni...@pfmail.comwrote:
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
Jan 8 '08 #2
"fniles" <fn****@pfmail.comschrieb:
>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 ?
Registry Settings Management in Deployment
<URL:http://msdn2.microsoft.com/en-us/library/w4dsy50b.aspx>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Jan 9 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Bob Kirkwood | last post by:
I believe the intent in .NET is that we store application setup information in an XML file now instead of the Registry or INI files. Is this correct? Are there any tools, sample apps, or...
7
by: Troy Heber | last post by:
Can anyone tell me how to force an immediate apply of system based registry changes. I have an application written in C# that updates the registry. However I’m forced to logout and log back in for...
3
by: Mike Malter | last post by:
On my XP Professional dev machine, I am able to read the registry by giving permissions to the ASP.NET account on the local machine. When I transfer the code to my staging server (Windows 2003),...
3
by: vbMark | last post by:
Hello, In regards to the Registry... Can someone give me an example of how to list an unknown number of subkeys under a key, and put the key names in one column of a listbox, and the key...
10
by: Clint | last post by:
Hey all - I'm having a really confusing problem concerning a web service. Right now, I have an application that needs to call a web service that does nothing but return "true" (this will...
21
by: Kevin Swanson | last post by:
I'm attempting some remote registry manipulation via C#. I've written a test app to simply grab a specified key from a specified hive on a specified machine. The call to OpenSubKey is throwing...
2
by: Mr. Novice | last post by:
A co-worker and I are collaborating on a vb.net app that automates some of the processes our team uses. We wrote preferences for the application that are stored in the registry. Problem that the...
3
by: Sreppohcdoow | last post by:
I have a simple tool that I create that stores some settings in the Registry... however, if the user running it doesn't have Admin priveleges on the machine, the app fails when trying to write to...
2
by: fniles | last post by:
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...
3
by: thephatp | last post by:
BLUF: I need to build up the actual %TEMP% path for all users methodically using values in the registry, and I need to do this both by the current user AND as a service will do this running as...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.