Both use a network share created in a login script with the following command:
When I test the setup only on windows 7 the Drive N: could selected or entered manually as a Directory. On Windows 10 N: isn't allowed and was not shown in Drive List (only in NSIS, Drive N was shown in Explorer).net use N: \\MyServer\SharedFolder\
Is this a known bug or did I miss an Option in my script, which I coundn't found in the help files and forum?
The same behavior I could found with the official installer of NSIS 3.01.
Here my test script:
!include "MUI2.nsh"
Name "Test Setup"
OutFile "Setup.exe"
InstallDir $PROGRAMFILES\test
InstallDirRegKey HKLM "Software\test" "Install_Dir"
RequestExecutionLevel admin
;--------------------------------
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE license.txt
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_LANGUAGE "English"
;--------------------------------
Section "Files"
SectionIn RO
SetOutPath $INSTDIR
File "install\ReadMe.txt"
WriteRegStr HKLM SOFTWARE\test "Install_Dir" "$INSTDIR"
SectionEnd