473,396 Members | 1,884 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.

Creating setup project using VS.NET2003 - registry settings

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 (string)values that I'm trying to add need to be set to
the computer name of the machine on which the installation is being done.

Could any one please suggest on how to get the registry value to be
equal to the computer name of that machine during installation?

Any suggestions would be greatly appreciated.

Thank you.

Ravi.

Nov 22 '05 #1
1 2065

Worked out an approach for this! I have created a C# .NET executable that
reads the system name and writes it to a registry value. I then included this
executable as a Custom Action towards the end of the installation.

"Ravi" wrote:
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 (string)values that I'm trying to add need to be set to
the computer name of the machine on which the installation is being done.

Could any one please suggest on how to get the registry value to be
equal to the computer name of that machine during installation?

Any suggestions would be greatly appreciated.

Thank you.

Ravi.

Nov 22 '05 #2

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

Similar topics

2
by: steve b | last post by:
I need to add a registry entry to internet explorer (I'm adding a right click menu item) with vb.net setup program. Anyone know how to do that? Thanks!
0
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...
0
by: Adam Clauss | last post by:
I have a C++ COM Addin I wrote for Outlook (2002) using VS.Net 2002. Having completed it, I am now looking to create a setup project and install it on another machine. I created a setup project...
3
by: bfprog | last post by:
Using IBM iSeries client access OLEDB provider to connect to DB2 on AS/400, but cannot create connection using .NET web app. Using following code: Dim cnTest As New...
3
by: Richard L Rosenheim | last post by:
I have an application that works, which is written in VB using Visual Studio 2003. Now, I'm trying to create a setup application for it. As the application uses Crystal Reports, I followed the...
5
by: John | last post by:
Hi Could someone please give me steps to create a registry key via setup, which would be removed from registry if application is uninstalled via setup? Thanks Regards
2
by: ValK | last post by:
Hello All. I have a windows service, that monitors file directory. Now I'm trying to create custom install wizard for this service. I added projectinstaller class to my application, where I...
6
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
3
by: fniles | last post by:
I am not sure if I post this issue at the correct newgroup. If I need to post it somewhere else, please let me know what is the correct newsgroup for this. I am using VB.NET 2005 and I create a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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...

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.