blob: e5421f99de052d7a8c3869df1370f6308d98203b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
!include MUI.nsh
Name "pyexiv2 0.2"
OutFile "pyexiv2-0.2-setup.exe"
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "COPYING"
; Need for a custom page here to choose wether to install for all users or only
; for the current user.
!insertmacro MUI_PAGE_INSTFILES
;!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_LANGUAGE "English"
Var python_install_path
Section "pyexiv2"
ReadRegStr $python_install_path HKLM Software\Python\PythonCore\2.6\InstallPath ""
;DetailPrint "Python is installed at: $python_install_path"
; FIXME: if python was installed for the current user only, its installation
; path will be found at HKEY_CURRENT_USER\SOFTWARE\Python\PythonCore\2.6\InstallPath
SetOutPath $python_install_path\Lib\site-packages
File build\libexiv2python.pyd
SetOutPath $python_install_path\Lib\site-packages\pyexiv2
File src\pyexiv2\__init__.py
File src\pyexiv2\metadata.py
File src\pyexiv2\exif.py
File src\pyexiv2\iptc.py
File src\pyexiv2\xmp.py
File src\pyexiv2\utils.py
SectionEnd
|