Prev Previous Post   Next Post Next
Old 19th February 2017, 21:08   #2
SuperPat
Senior Member
 
SuperPat's Avatar
 
Join Date: Mar 2006
Location: France
Posts: 212
Fixed in github!
You can use, on the other hand, the UMUI_DEFAULT_SHELLVARCONTEXT define:
code:
!include MUIEx.nsh

OutFile "produce.exe"

RequestExecutionLevel user

!define UMUI_DEFAULT_SHELLVARCONTEXT all

!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_LANGUAGE "English"

InstType "Typical"

Section "Core Files (required)" SectionCoreFiles
SectionIn 1 RO

!insertmacro UMUI_GETSHELLVARCONTEXT
Pop $0
MessageBox MB_OK "$0" ; displays "current"!?
SectionEnd


SuperPat 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