Skip to content
⌘ NSIS Forum Archive

Example for installoptions / registry ?

2 posts

dabossuk#

Example for installoptions / registry ?

Hi

Does anyone have an example of installoptions2 and adding values to the registry ?

Basically I want to take two values from a custom page and add them as values to keys in the registry.

I have had a look on the archive - seems to be a combo of things but nothing specific ... if someone had one would be a good example ;-)

Thanks in advance

Dabossuk
Afrow UK#
ReadINIStr $R0 "iofile.ini" "Field 2" "State"
WriteRegStr HKLM "SOFTWARE\my app" "Field 2" "$R0"

-Stu