I want to read "all useres" or "current user" out of an ini-file, but it doesn't work this way:
I tried $0 with and without double quotes. It doesn't compile.Section "install"
ReadINIStr $0 $INSTDIR/Setup.ini USER AUTOSTART
SetShellVarContext "$0"
CreateShortCut "$SMPROGRAMS\Startup\App.lnk" "$INSTDIR\App.exe"
SectionEnd
First I thought SetShellVarContext is just working on compiletime, but as I used "all" or "current" instead of $0 within a Section, there were no problems.
Any ideas?