Archive: WriteRegStr Problem/Question


WriteRegStr Problem/Question
i'm using this line

WriteRegStr HKCR "htmlfile\shell\open\command" "(Default)" '"$R0" -nohome'

which creates an additional sub_key (Default). when i delete the old one, the new one does not work. is there a possibility to overwrite the old sub_key?


Use:

WriteRegStr HKCR "htmlfile\shell\open\command" "" '"$R0" -nohome'

An empty string means default in this case.


would my version have worked in an older build of nsis? i thought this command worked before.


Nope, never. Not even in NSIS 1.0f :)