Skip to content

Commit

Permalink
Fix options for Python 3.5 installer
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Sep 12, 2015
1 parent 76adcb5 commit a28d216
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nsist/pyapp_installpy.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ Section "Python ${PY_VERSION}" sec_py
[% if ib.py_version_tuple >= (3, 5) %]
[% set filename = 'python-' ~ ib.py_version ~ ('-amd64' if ib.py_bitness==64 else '') ~ '.exe' %]
File "[[filename]]"
ExecWait '"$INSTDIR\[[filename]]" /p Include_test=0'
ExecWait '"$INSTDIR\[[filename]]" /passive Include_test=0 InstallAllUsers=1'
[% else %]
[% set filename = 'python-' ~ ib.py_version ~ ('.amd64' if ib.py_bitness==64 else '') ~ '.msi' %]
File "[[filename]]"
ExecWait 'msiexec /i "$INSTDIR\[[filename]]" \
/qb ALLUSERS=1 TARGETDIR="$COMMONFILES${BITNESS}\Python\${PY_MAJOR_VERSION}"'
[% endif %]
Delete $INSTDIR\[[filename]]
Delete "$INSTDIR\[[filename]]"
SectionEnd

[[ super() ]]
Expand Down

0 comments on commit a28d216

Please sign in to comment.