Prev Previous Post   Next Post Next
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
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
writeregstr

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump