473,396 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

C# Setup Project: Setting default key value?

I have to set a default value for a registry key I'm creating.

From my setup project, I tried creating a string value named "(Default)" but
that just created a value named that. The key (Default) was then unset.

So, how exactly do I set the registry key value for the (Default)?

Thanks,

Grant Schenck
Nov 17 '05 #1
2 2966
Grant,

Have you tried using null, or an empty string ("") for the key?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Grant Schenck" <sc******@optonline.net> wrote in message
news:eO**************@TK2MSFTNGP10.phx.gbl...
I have to set a default value for a registry key I'm creating.

From my setup project, I tried creating a string value named "(Default)"
but
that just created a value named that. The key (Default) was then unset.

So, how exactly do I set the registry key value for the (Default)?

Thanks,

Grant Schenck

Nov 17 '05 #2
No. However, based on your advice I just tried an empty string and... It
worked!

As always, Thanks!

Grant Schenck

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:ew**************@TK2MSFTNGP12.phx.gbl...
Grant,

Have you tried using null, or an empty string ("") for the key?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Grant Schenck" <sc******@optonline.net> wrote in message
news:eO**************@TK2MSFTNGP10.phx.gbl...
I have to set a default value for a registry key I'm creating.

From my setup project, I tried creating a string value named "(Default)"
but
that just created a value named that. The key (Default) was then unset.

So, how exactly do I set the registry key value for the (Default)?

Thanks,

Grant Schenck


Nov 17 '05 #3

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

Similar topics

3
by: Ryno Rijnsburger | last post by:
I am busy packaging our product as a standard Setup project in VS.NET that uses a bunch of merge modules (basically, a merge module for every key infrastructure component in our system). Part...
4
by: pbj | last post by:
my application was created in vb.net, vs 2003. the setup project was also created in vs 2003. one of my application reviewers reported this: The .Net link that is included in the setup is not the...
1
by: gan | last post by:
I created a ASP.NET web setup project with the project name "Setup". I noticed that this name will be used as the default Virtual Directory name during deployment. I'd like to know whether we...
3
by: | last post by:
I have created a web setup project for my ASP.NET application that works fine. Also, I have followed the instructions for using a custom action to launch a web page after the installation is...
5
by: gerry | last post by:
single machine - W2Kserver , IIS5 , VS.NET 2003 I spent some time struggling with what looked like the dreaded asp.net debugging configuration problem but none of the solutions for this did any...
0
by: Oz | last post by:
Hi We in our company build asp.net and MS SQL Server apps for deployment on clients' machines. We have created an Installer class (DBInstaller) which runs several scripts to build a database,...
0
by: dotnetprogrammer via DotNetMonster.com | last post by:
I am using Visual Studio 2005. I wrote a Setup Project to install my application. After setup is complete, I need to get the destination folder that the user chose to install to (not the default...
6
by: TS | last post by:
I cannot get this to work. I added an app.config to a project i reference from my web application project (vs 05) but can see no way to access the settings within it. the other thing is that I...
1
by: harry_noble1902 | last post by:
Hello I have a "solution" that has 7 VB.Net projects in it. Some of the VB.Net projects are dll librarys but 3 are applications (so there are 7-3=4 dlls) I want to install with a setup...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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...

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.