Prev Previous Post   Next Post Next
Old 29th September 2011, 08:48   #1
zackbuffo's Avatar
Join Date: Jan 2002
Location: Germany (Old Europe)
Posts: 97
SetShellVarContext with variables

I'm struggling with variables again.

I want to read "all useres" or "current user" out of an ini-file, but it doesn't work this way:
Section "install"
SetShellVarContext "$0"
CreateShortCut "$SMPROGRAMS\Startup\App.lnk" "$INSTDIR\App.exe"

I tried $0 with and without double quotes. It doesn't compile.

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?

Ich suche jemand in Deutschland, der seinen TAMA Starclassic Maple Kesselsatz tauschen möchte BD:22, TT:14, 12, 10. Ich bin mit dem Set sehr zufrieden, habe mich aber an meiner Lackierung "Tequila Sunrise" sattgesehen. Das Set ist von 2002, gepflegt und wurde ausschließlich in Cases transportiert. Bei Interesse bitte PM an mich. Immernoch aktuell in 2018!!!
zackbuffo is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

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