Are you running as administrator (elevated with UAC)?
The only thing you have to escape in NSIS is $.
You current code also ends up with \\ because CLSID\$CLSID will expand to CLSID\\{1368ABFA-B1AB-49DB-9CB8-2C231D54B1BF\}.
To really debug this problem you can use
Process Monitor...