Now I have found many examples and have not become wiser.
The short description is simple. During installation, a form dialog box appears and asks the user for database credentials. They should then be used to create a registry entry. The path to the key is always the same, but the key itself is a DB connection string generated from user input.
It should ask for the server name, username, password and password. It would be nice to have a test button, but not necessary.
This is for a windows service.
It looks like I'm going to add a class that inherits from the installer and overrides the install and uninstall methods. This applies to how much I get to before the information becomes distorted.
Information is not in my book :). Any ideas on how I can present the form to the user when installing my service and use the responses in the form to create a registry key.
Greetings
ps
In response to the answers;). The environment is Visual Studio, and the target system is Windows 2003. The server was developed using the .net framework V2.
This is a standard setup project created in visual studio that installs the service.
Robert
source share