include needed files for snarl plugin in windows installer.

This commit is contained in:
Yann Leboulanger 2013-12-16 13:18:39 +01:00
parent 7565fed0ca
commit 65d10de012
3 changed files with 12 additions and 1 deletions

View File

@ -22,6 +22,9 @@ rename exe.win32-2.7 bin
copy ..\LIBEAY32.dll bin copy ..\LIBEAY32.dll bin
copy ..\SSLEAY32.dll bin copy ..\SSLEAY32.dll bin
REM for snarl plugin
xcopy ..\win32com bin\win32com /e /i
mkdir bin\gtk mkdir bin\gtk
cd ../src/gtk cd ../src/gtk
hg archive ..\..\gajim_built\bin\gtk hg archive ..\..\gajim_built\bin\gtk

View File

@ -182,8 +182,10 @@ Section "Gajim" SecGajim
File "bin\library.zip" File "bin\library.zip"
File "bin\pangocairo.pyd" File "bin\pangocairo.pyd"
File "bin\pango.pyd" File "bin\pango.pyd"
File "bin\pycurl.pyd"
File "bin\pyexpat.pyd" File "bin\pyexpat.pyd"
File "bin\python27.dll" File "bin\python27.dll"
File "bin\pythoncom27.dll"
File "bin\pywintypes27.dll" File "bin\pywintypes27.dll"
File "bin\OpenSSL.rand.pyd" File "bin\OpenSSL.rand.pyd"
File "bin\select.pyd" File "bin\select.pyd"
@ -194,8 +196,10 @@ Section "Gajim" SecGajim
File "bin\win32api.pyd" File "bin\win32api.pyd"
File "bin\win32file.pyd" File "bin\win32file.pyd"
File "bin\win32pipe.pyd" File "bin\win32pipe.pyd"
File "bin\win32ui.pyd"
File "bin\winsound.pyd" File "bin\winsound.pyd"
File "msvcr90.dll" File "msvcr90.dll"
File /r "bin\win32com"
WriteRegStr HKCU "Software\Gajim" "" $INSTDIR WriteRegStr HKCU "Software\Gajim" "" $INSTDIR
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayName" "Gajim" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gajim" "DisplayName" "Gajim"
@ -530,6 +534,7 @@ Section "Uninstall"
RMDir /r "$INSTDIR\bin\gtk\lib" RMDir /r "$INSTDIR\bin\gtk\lib"
RMDir /r "$INSTDIR\bin\gtk\share" RMDir /r "$INSTDIR\bin\gtk\share"
RMDir "$INSTDIR\bin\gtk" RMDir "$INSTDIR\bin\gtk"
RMDir "$INSTDIR\bin\win32com"
Delete "$INSTDIR\bin\_bsddb.pyd" Delete "$INSTDIR\bin\_bsddb.pyd"
Delete "$INSTDIR\bin\_ctypes.pyd" Delete "$INSTDIR\bin\_ctypes.pyd"
Delete "$INSTDIR\bin\_hashlib.pyd" Delete "$INSTDIR\bin\_hashlib.pyd"
@ -558,8 +563,10 @@ Section "Uninstall"
Delete "$INSTDIR\bin\OpenSSL.SSL.pyd" Delete "$INSTDIR\bin\OpenSSL.SSL.pyd"
Delete "$INSTDIR\bin\pango.pyd" Delete "$INSTDIR\bin\pango.pyd"
Delete "$INSTDIR\bin\pangocairo.pyd" Delete "$INSTDIR\bin\pangocairo.pyd"
Delete "$INSTDIR\bin\pycurl.pyd"
Delete "$INSTDIR\bin\pyexpat.pyd" Delete "$INSTDIR\bin\pyexpat.pyd"
Delete "$INSTDIR\bin\python27.dll" Delete "$INSTDIR\bin\python27.dll"
Delete "$INSTDIR\bin\pythoncom27.dll"
Delete "$INSTDIR\bin\pywintypes27.dll" Delete "$INSTDIR\bin\pywintypes27.dll"
Delete "$INSTDIR\bin\select.pyd" Delete "$INSTDIR\bin\select.pyd"
Delete "$INSTDIR\bin\sqlite3.dll" Delete "$INSTDIR\bin\sqlite3.dll"
@ -568,6 +575,7 @@ Section "Uninstall"
Delete "$INSTDIR\bin\win32api.pyd" Delete "$INSTDIR\bin\win32api.pyd"
Delete "$INSTDIR\bin\win32file.pyd" Delete "$INSTDIR\bin\win32file.pyd"
Delete "$INSTDIR\bin\win32pipe.pyd" Delete "$INSTDIR\bin\win32pipe.pyd"
Delete "$INSTDIR\bin\win32ui.pyd"
Delete "$INSTDIR\bin\winsound.pyd" Delete "$INSTDIR\bin\winsound.pyd"
Delete "$INSTDIR\bin\msvcr90.dll" Delete "$INSTDIR\bin\msvcr90.dll"
RMDir /r "$INSTDIR\bin" RMDir /r "$INSTDIR\bin"

View File

@ -33,7 +33,7 @@ options = {
'build_exe': { 'build_exe': {
'includes': ['Gdk.KEY_, 'dumbdbm', 'dbhash', 'bsddb', 'new', 'includes': ['Gdk.KEY_, 'dumbdbm', 'dbhash', 'bsddb', 'new',
'goocanvas', 'Crypto.PublicKey.DSA', 'Crypto.Hash.HMAC', 'goocanvas', 'Crypto.PublicKey.DSA', 'Crypto.Hash.HMAC',
'numbers'], 'numbers', 'win32com.client', 'win32com.server'],
'base': 'Win32GUI', 'base': 'Win32GUI',
'bin_excludes': [ 'bin_excludes': [
'iconv.dll', 'intl.dll', 'libatk-1.0-0.dll', 'iconv.dll', 'intl.dll', 'libatk-1.0-0.dll',