Yeah, a misunderstanding about the checkbox state, sorry about that.
Never mind. It's me who is asking questions about basic stuff 😳
Anyway, to check the variable just copy the first character into $0 with StrCpy and then compare $0 with ">". The reason > is used is because it is invalid in a path, so even without checking first, a call to createshortcut or writeinistr will just fail...
That's clear to me, thank you. What is still not clear to me is what this does mean:
You provide the variable (MUI_PAGE_STARTMENU pageid variable)
What would I really write in my NSIS script to retreive the variable?
Would I write
var /GLOBAL MuiPageStartMenuFolder
StrCpy $MuiPageStartMenuFolder "${MUI_STARTMENUPAGE_pageid_VARIABLE}" 1
Hm, I guess that won't work 👎