Archive: WriteRegStr doesn't write anything


WriteRegStr doesn't write anything
Hi, Using 2.07

Trying to write a string to the registry but nothing gets written. No error is generated. I'm using the following line in my main section:

WriteRegStr HKLM "SOFTWARE\My Program" "Version" "2"

System is Windows XP SP2 all the latest Patches. Logged on as an administrator.

WriteRegStr does write the entries for the uninstaller but not the ones I add.

Thanks


Well it works if I put the line in the section

-AdditionalIcons


Never mind my mistake... Works