470,641 Members | 1,463 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,641 developers. It's quick & easy.

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 1908

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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by steve b | last post: by
reply views Thread by Adam Clauss | last post: by
3 posts views Thread by Richard L Rosenheim | last post: by
5 posts views Thread by John | last post: by
2 posts views Thread by ValK | last post: by
6 posts views Thread by Andrew Rowley | last post: by
3 posts views Thread by fniles | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.