Hey,

I'm trying to create a spot where the someone can add their server name and server database path

**Forgot to add I would like them user defined"

Example:

HKEY_Classes_Root\Software\<My software>\Databasepath\"\\servername\data\"

HKEY_Classes_Root\Software\<My software>\Databasename\"servername"

I am currently doing it using a batch file but I have to configure it for each client and would like to use an installer


reg add "hklm\software\<My software>" /v DatabasePath /d %DIR% /f

reg add "hklm\software\<My software>" /v DSN /d

"Provider=SQLOLEDB; Data Source=%CLSERVER%; Initial Catalog=Logic; User Id=sa; Password=%SAPW%" /f

reg add "hklm\software\<My software>" /v ID /d %PATID% /f

reg add "hklm\software\<My software>" /v StartupMacro /d "Blank" /f

reg add "hklm\software\<My software>" /v Voice /d True /f