I'm trying to use the variables to generate the registry files based on installed directory. I need to set the installfolder in the registry based on where the user chooses to install the program, not just the default location. If they chose to install MyProgram in d:\someprogram\ I need the registry installfolder to read d:\someprogram\MyProgram\
Announcement
Collapse
No announcement yet.
User installation folder for registry settings
Collapse
X
-
-
This is unexpected, I get Line=2: unexpected symbol near '%'.
Registry.SetValue(HKEY_LOCAL_MACHINE,"SOFTWARE\\Wo w6432Node\\POL\\InstallFolder","0001", %AppFolder% "\\FF\\",REG_SZ);
I had tried that yesterday and it did not work. I was reading this:
http://www.indigorose.com/webhelp/vp...e_Examples.htm
Comment
Comment