View Single Post
Old 20th March 2014, 22:45   #1
zewari
Junior Member
 
Join Date: Mar 2014
Posts: 17
Question Struggling w/ WriteRegStr & GUID entry

Hey folks, new to NSIS here.... I've been banging my head against the wall trying to figure out why this isn't working. I have a variable defined for my GUID:

code:
Var /GLOBAL CLSID
StrCpy $CLSID "\{1368ABFA-B1AB-49DB-9CB8-2C231D54B1BF\}"



Writing the variable into a registry value data works great:

code:
WriteRegStr HKCR "Something.Otherthing\CLSID" "" "$CLSID"


Writing the variable as a registry key doesn't work at all:

code:
WriteRegStr HKCR "CLSID\$CLSID" "" "GPLASCustomTools.LASCustomToolsFunctionFactory"


Is it the curly brackets? I've tried using escape characters but it doesn't help. What am I missing?
zewari is offline   Reply With Quote