Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 7th November 2017, 15:18   #1
hoomanv
Junior Member
 
Join Date: Nov 2017
Posts: 2
Customize INSTDIR according to CurrentUser/AllUsers install modes

Hi,

MultiUser.nsh sets the $INSTDIR according to the $MultiUser.InstallMode value to one of the following:

CurrentUser:
"$LOCALAPPDATA\${MULTIUSER_INSTALLMODE_INSTDIR}"
AllUsers:
"$PROGRAMFILES\${MULTIUSER_INSTALLMODE_INSTDIR}"
I need a slightly different value for CurrentUser install mode, that is
"$LOCALAPPDATA\Programs\${MULTIUSER_INSTALLMODE_INSTDIR}"

How can I achieve this?
hoomanv is offline   Reply With Quote
Old 7th November 2017, 18:15   #2
hoomanv
Junior Member
 
Join Date: Nov 2017
Posts: 2
Answered here:
https://stackoverflow.com/questions/47162998 (!define MULTIUSER_INSTALLMODE_FUNCTION)
hoomanv is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Tags
installmode, instdir, localappdata

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