-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More work on supporting bundled Python
- Loading branch information
Showing
6 changed files
with
86 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[% extends "pyapp.nsi" %] | ||
|
||
[% block ui_pages %] | ||
[# We only need to add COMPONENTS, but they have to be in order #] | ||
!insertmacro MUI_PAGE_WELCOME | ||
!insertmacro MUI_PAGE_COMPONENTS | ||
!insertmacro MUI_PAGE_DIRECTORY | ||
!insertmacro MUI_PAGE_INSTFILES | ||
!insertmacro MUI_PAGE_FINISH | ||
[% endblock ui_pages %] | ||
|
||
[% block sections %] | ||
Section "Python ${PY_VERSION}" sec_py | ||
File "python-${PY_VERSION}${ARCH_TAG}.msi" | ||
DetailPrint "Installing Python ${PY_MAJOR_VERSION}, ${BITNESS} bit" | ||
ExecWait 'msiexec /i "$INSTDIR\python-${PY_VERSION}${ARCH_TAG}.msi" \ | ||
/qb ALLUSERS=1 TARGETDIR="$COMMONFILES${BITNESS}\Python\${PY_MAJOR_VERSION}"' | ||
Delete $INSTDIR\python-${PY_VERSION}${ARCH_TAG}.msi | ||
SectionEnd | ||
|
||
[[ super() ]] | ||
[% endblock sections %] | ||
|
||
[% block mouseover_messages %] | ||
StrCmp $0 ${sec_py} 0 +2 | ||
SendMessage $R0 ${WM_SETTEXT} 0 "STR:The Python interpreter. \ | ||
This is required for ${PRODUCT_NAME} to run." | ||
|
||
[[ super() ]] | ||
[% endblock mouseover_messages %] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters