Skip to content
⌘ NSIS Forum Archive

problem with WriteRegStr and a dot symbol

4 posts

Guest#

problem with WriteRegStr and a dot symbol

hi
firstable i want to say sorry for my english (im from poland 😉 ).

i have a problem with WriteRegStr command. i want to create registry string, so i use this command:

WriteRegStr HKLM "Software\FISH Technology Group\Transport Tycoon Deluxe" "DisplayModeNumber.dwr" "3"

nsis compiled it correctly but it use "[dot]" not "." symbol and the registry string look like this:

Software\FISH Technology Group\Transport Tycoon Deluxe\DisplayModeNumber[dot]dwr

what i should do to create "DisplayModeNumber.dwr" string (with a dot symbol) in registry ??

i hope someone understood my problem and will help me.
peace
kichik#
Works fine for me. Are you sure you don't have a WriteRegStr with [dot] anywhere in your script, or that another program writes that key?
Guest#
in my script there is something like that:

WriteRegStr HKLM "Software\FISH Technology Group\Transport Tycoon Deluxe" "DisplayModeNumber.dwr" "3"


after compile this script and instal it in registry show me this:

DisplayModeNumber[dot]dwr

but i want that:

DisplayModeNumber.dwr

i hope you understand my terrible english. please help. peace
kichik#
Are you sure that it's your installer that writes that key and not another application? Try deleting that key and executing a script with just that line.