473,473 Members | 2,357 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to change registry values with setup project

Hi all,

I've created a setup project for my app in VS2003 and need to set up
some registry values and keys.

It is easy enough to just create static keys with static values, but
I'd like the installer to run through a number of custom screens with
custom controls. I'd like those contols' values to be saved to the
registry.

I've managed to create the screens by adding some CheckBox and Textbox
dialogs, but now I need those values to go into the registry.

Example:
I added the "Checkboxes (A)" dialog and changed the Checkbox1Property
to CBTEST.
Then I go into vs's the registry editor and I create a bit key with
value [CBTEST].
When I compile, I get the standard error message:
"Registry Value 'changed' located in 'HKLM\Software\...\...' must
contain even number of hexadecimal characters"

Any ideas?

Nov 17 '05 #1
0 1757

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

Similar topics

2
by: Sjaak van Esdonk | last post by:
Is there a possibility to change the default instalation directory for the logfiles for sql server 2000? I would like the default database files to be placed on teh d: drive and the logfiles on the...
0
by: D. Yates | last post by:
Hi, How exactly do you use the condition property to tell the installer not to overwrite changed registry values? Initially, I want certain registry values within a given key set to the value...
2
by: Grant Schenck | last post by:
I have an Internet Explorer toolbar built with C# .Net. I'd need to install the GUID in HKLM\Software\Microsoft\Internet Explorer\Toolbars However, I can't find any way to get my setup project...
2
by: gillcleeren | last post by:
Hi, I need to make a setup program for a project. The project itself creates some registry values. The setup project however should delete these values. Therefore I wrote a little executable...
1
by: Ravi | last post by:
Hi, I'm trying to create a Setup project that can add some registry settings during the installation. I'm using the Registry editor to specify these registry entries. The registry...
2
by: joerozario | last post by:
I have created a windows application. Like windows search program. So I want my project link should be shown in folder right click. I have added values in the registry manually in I have got as I...
1
by: incy | last post by:
How to arrange more then 12 registry values inside C# setup, available option of Textboxes (A)..(B)....(C) are sufficient only for 12 fields, inside my project I have 17 registry fields with values....
9
by: | last post by:
How can I set or create a registry key during the installation of our .net projects? Thanks.
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...
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
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.