Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a5edb45

Browse files
author
stonebig
committed
4 characters less in the path
1 parent 2919cf9 commit a5edb45

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

portable/installer.nsi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Licensed under the terms of the MIT License
1818
;================================================================
1919

2020
!define ID "WinPython"
21+
!define ID_INSTALL "WinPy"
2122
!define FILE_DESCRIPTION "${ID} Installer"
2223
!define COMPANY "${ID}"
2324
!define BRANDING "${ID}, the portable Python Distribution for Scientists"
@@ -35,7 +36,10 @@ SetCompressorDictSize 16 ; MB
3536
;------------------------------------------------------------------------------
3637
Name "${ID} ${ARCH} ${VERSION}${RELEASELEVEL}"
3738
OutFile "${DISTDIR}\..\${ID}${ARCH}-${VERSION}${RELEASELEVEL}.exe"
38-
InstallDir "$EXEDIR\${ID}${ARCH}-${VERSION}${RELEASELEVEL}"
39+
40+
; 2018-03-31 need to minimize path length of installation:
41+
;InstallDir "$EXEDIR\${ID}${ARCH}-${VERSION}${RELEASELEVEL}"
42+
InstallDir "$EXEDIR\${ID_INSTALL}${ARCH}-${VERSION}${RELEASELEVEL}"
3943
BrandingText "${BRANDING}"
4044
XPStyle on
4145
RequestExecutionLevel user

0 commit comments

Comments
 (0)