Passing cmd line arguments to registry value during install
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hello, I need to pass a command line argument containing a database connection string to the registry. I pass it to a windows installer exe made with VS2005. I can obtain the string from inside the installer. But if i try to manually insert it, for example in void ProjectInstaller_Committed(object sender, InstallEventArgs e){...} i can read the registry but when i try to SetValue, i get an exception. Probably lack of permissions. Is there any way to do this? Thanks in advance!