NewsArchive
04-21-2007, 09:10 AM
This should be extremly simple, but i can't figure out how to.
The program is installed at %SB_INSTALLDIR%
Its data at %DATAFOLDER%
I want to set theese two variables to a registry key value if it exists.
That means, that I on the first installation should find that no reg keys
exists, and then create them.
On updates, the variables should be set to the registry keys values.
I get stuck allready when I try to write a variable to a registry key.
Someone who has done this, and could give a code example?
Best regards
Edvard Korsbæk
The program is installed at %SB_INSTALLDIR%
Its data at %DATAFOLDER%
I want to set theese two variables to a registry key value if it exists.
That means, that I on the first installation should find that no reg keys
exists, and then create them.
On updates, the variables should be set to the registry keys values.
I get stuck allready when I try to write a variable to a registry key.
Someone who has done this, and could give a code example?
Best regards
Edvard Korsbæk