mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
svn merge -r 7108:7129 https://svn.qgis.org/repos/qgis/tags/Preview-0.9.0-1 git-svn-id: http://svn.osgeo.org/qgis/trunk@7130 c8812cc2-4d05-0410-92ff-de0c093fc19c
19 lines
497 B
NSIS
19 lines
497 B
NSIS
;Python include file for NSIS
|
|
;Written by Tisham Dhar(what_nick) (mailto:tisham at apogee.com.au)
|
|
!ifndef PYTHON_USED
|
|
!define PYTHON_USED
|
|
|
|
!macro CHECK_PYTHON
|
|
# Read handler for python files from registry
|
|
ReadRegStr $9 HKEY_LOCAL_MACHINE "SOFTWARE\Python\PythonCore\2.5\InstallPath" ""
|
|
|
|
IfFileExists $9 ok ng
|
|
ng:
|
|
MessageBox MB_OK "Python is not installed on this system.$\nPlease install Python2.5 first."
|
|
Quit
|
|
ok:
|
|
MessageBox MB_OK "Python located $9"
|
|
|
|
!macroend
|
|
|
|
!endif |