Creating setup project using VS.NET2003 - registry settings

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top