updated NSIS file

This commit is contained in:
Micah Lee 2014-08-18 14:20:28 -07:00
parent 964d0b7847
commit 958324bbf5

View File

@ -3,7 +3,7 @@
!define ABOUTURL "https://github.com/micahflee/onionshare"
# change these with each release
!define INSTALLSIZE 46124
!define INSTALLSIZE 31008
!define VERSIONMAJOR 0
!define VERSIONMINOR 5
!define VERSIONSTRING "0.5dev"
@ -57,8 +57,6 @@ Section "install"
SetOutPath "$INSTDIR\onionshare_gui"
File "${BINPATH}\onionshare_gui\onionshare_gui.py"
File "${BINPATH}\onionshare_gui\onionshare_gui.pyc"
File "${BINPATH}\onionshare_gui\webapp.py"
File "${BINPATH}\onionshare_gui\webapp.pyc"
File "${BINPATH}\onionshare_gui\__init__.py"
File "${BINPATH}\onionshare_gui\__init__.pyc"
SetOutPath "$INSTDIR\onionshare_gui\static"
@ -67,57 +65,48 @@ Section "install"
# dependencies
SetOutPath $INSTDIR
File "${BINPATH}\LIBEAY32.dll"
File "${BINPATH}\QtOpenGL4.dll"
File "${BINPATH}\unicodedata.pyd"
File "${BINPATH}\sip.pyd"
File "${BINPATH}\pywintypes27.dll"
File "${BINPATH}\SSLEAY32.dll"
File "${BINPATH}\msvcr90.dll"
File "${BINPATH}\QtSvg4.dll"
File "${BINPATH}\msvcp90.dll"
File "${BINPATH}\QtCore4.dll"
File "${BINPATH}\bz2.pyd"
File "${BINPATH}\PyQt4.QtCore.pyd"
File "${BINPATH}\PyQt4.QtNetwork.pyd"
File "${BINPATH}\QtNetwork4.dll"
File "${BINPATH}\_ctypes.pyd"
File "${BINPATH}\PyQt4.QtWebKit.pyd"
File "${BINPATH}\PyQt4.QtGui.pyd"
File "${BINPATH}\win32wnet.pyd"
File "${BINPATH}\win32api.pyd"
File "${BINPATH}\pyexpat.pyd"
File "${BINPATH}\python27.dll"
File "${BINPATH}\msvcm90.dll"
File "${BINPATH}\_hashlib.pyd"
File "${BINPATH}\win32pipe.pyd"
File "${BINPATH}\QtWebKit4.dll"
File "${BINPATH}\onionshare.exe.manifest"
File "${BINPATH}\select.pyd"
File "${BINPATH}\Microsoft.VC90.CRT.manifest"
File "${BINPATH}\QtGui4.dll"
File "${BINPATH}\_ssl.pyd"
File "${BINPATH}\_socket.pyd"
File "${BINPATH}\_ssl.pyd"
File "${BINPATH}\bz2.pyd"
File "${BINPATH}\Microsoft.VC90.CRT.manifest"
File "${BINPATH}\msvcm90.dll"
File "${BINPATH}\msvcp90.dll"
File "${BINPATH}\msvcr90.dll"
File "${BINPATH}\onionshare.exe.manifest"
File "${BINPATH}\pyexpat.pyd"
File "${BINPATH}\PyQt4.QtCore.pyd"
File "${BINPATH}\PyQt4.QtGui.pyd"
File "${BINPATH}\python27.dll"
File "${BINPATH}\pywintypes27.dll"
File "${BINPATH}\QtCore4.dll"
File "${BINPATH}\QtGui4.dll"
File "${BINPATH}\QtOpenGL4.dll"
File "${BINPATH}\QtSvg4.dll"
File "${BINPATH}\QtXml4.dll"
File "${BINPATH}\select.pyd"
File "${BINPATH}\sip.pyd"
File "${BINPATH}\unicodedata.pyd"
File "${BINPATH}\win32api.pyd"
File "${BINPATH}\win32pipe.pyd"
File "${BINPATH}\win32wnet.pyd"
SetOutPath "$INSTDIR\qt4_plugins\accessible"
File "${BINPATH}\qt4_plugins\accessible\qtaccessiblewidgets4.dll"
SetOutPath "$INSTDIR\qt4_plugins\graphicssystems"
File "${BINPATH}\qt4_plugins\graphicssystems\qglgraphicssystem4.dll"
SetOutPath "$INSTDIR\qt4_plugins\bearer"
File "${BINPATH}\qt4_plugins\bearer\qnativewifibearer4.dll"
File "${BINPATH}\qt4_plugins\bearer\qgenericbearer4.dll"
SetOutPath "$INSTDIR\qt4_plugins\iconengines"
File "${BINPATH}\qt4_plugins\iconengines\qsvgicon4.dll"
SetOutPath "$INSTDIR\qt4_plugins\codecs"
File "${BINPATH}\qt4_plugins\codecs\qcncodecs4.dll"
File "${BINPATH}\qt4_plugins\codecs\qjpcodecs4.dll"
File "${BINPATH}\qt4_plugins\codecs\qkrcodecs4.dll"
File "${BINPATH}\qt4_plugins\codecs\qtwcodecs4.dll"
File "${BINPATH}\qt4_plugins\codecs\qcncodecs4.dll"
SetOutPath "$INSTDIR\qt4_plugins\graphicssystems"
File "${BINPATH}\qt4_plugins\graphicssystems\qglgraphicssystem4.dll"
SetOutPath "$INSTDIR\qt4_plugins\iconengines"
File "${BINPATH}\qt4_plugins\iconengines\qsvgicon4.dll"
SetOutPath "$INSTDIR\qt4_plugins\imageformats"
File "${BINPATH}\qt4_plugins\imageformats\qmng4.dll"
File "${BINPATH}\qt4_plugins\imageformats\qico4.dll"
File "${BINPATH}\qt4_plugins\imageformats\qgif4.dll"
File "${BINPATH}\qt4_plugins\imageformats\qico4.dll"
File "${BINPATH}\qt4_plugins\imageformats\qjpeg4.dll"
File "${BINPATH}\qt4_plugins\imageformats\qmng4.dll"
File "${BINPATH}\qt4_plugins\imageformats\qsvg4.dll"
File "${BINPATH}\qt4_plugins\imageformats\qtga4.dll"
File "${BINPATH}\qt4_plugins\imageformats\qtiff4.dll"
@ -180,12 +169,8 @@ Section "uninstall"
Delete "$INSTDIR\onionshare_gui\static\loader.gif"
Delete "$INSTDIR\onionshare_gui\onionshare_gui.py"
Delete "$INSTDIR\onionshare_gui\onionshare_gui.pyc"
Delete "$INSTDIR\onionshare_gui\webapp.py"
Delete "$INSTDIR\onionshare_gui\webapp.pyc"
Delete "$INSTDIR\qt4_plugins\accessible\qtaccessiblewidgets4.dll"
Delete "$INSTDIR\qt4_plugins\graphicssystems\qglgraphicssystem4.dll"
Delete "$INSTDIR\qt4_plugins\bearer\qnativewifibearer4.dll"
Delete "$INSTDIR\qt4_plugins\bearer\qgenericbearer4.dll"
Delete "$INSTDIR\qt4_plugins\iconengines\qsvgicon4.dll"
Delete "$INSTDIR\qt4_plugins\codecs\qjpcodecs4.dll"
Delete "$INSTDIR\qt4_plugins\codecs\qkrcodecs4.dll"
@ -198,39 +183,33 @@ Section "uninstall"
Delete "$INSTDIR\qt4_plugins\imageformats\qsvg4.dll"
Delete "$INSTDIR\qt4_plugins\imageformats\qtga4.dll"
Delete "$INSTDIR\qt4_plugins\imageformats\qtiff4.dll"
Delete "$INSTDIR\LIBEAY32.dll"
Delete "$INSTDIR\QtOpenGL4.dll"
Delete "$INSTDIR\unicodedata.pyd"
Delete "$INSTDIR\sip.pyd"
Delete "$INSTDIR\pywintypes27.dll"
Delete "$INSTDIR\SSLEAY32.dll"
Delete "$INSTDIR\msvcr90.dll"
Delete "$INSTDIR\QtSvg4.dll"
Delete "$INSTDIR\msvcp90.dll"
Delete "$INSTDIR\QtCore4.dll"
Delete "$INSTDIR\bz2.pyd"
Delete "$INSTDIR\PyQt4.QtCore.pyd"
Delete "$INSTDIR\PyQt4.QtNetwork.pyd"
Delete "$INSTDIR\QtNetwork4.dll"
Delete "$INSTDIR\_ctypes.pyd"
Delete "$INSTDIR\PyQt4.QtWebKit.pyd"
Delete "$INSTDIR\PyQt4.QtGui.pyd"
Delete "$INSTDIR\win32wnet.pyd"
Delete "$INSTDIR\win32api.pyd"
Delete "$INSTDIR\pyexpat.pyd"
Delete "$INSTDIR\python27.dll"
Delete "$INSTDIR\msvcm90.dll"
Delete "$INSTDIR\_hashlib.pyd"
Delete "$INSTDIR\Include\pyconfig.h"
Delete "$INSTDIR\win32pipe.pyd"
Delete "$INSTDIR\QtWebKit4.dll"
Delete "$INSTDIR\onionshare.exe.manifest"
Delete "$INSTDIR\select.pyd"
Delete "$INSTDIR\Microsoft.VC90.CRT.manifest"
Delete "$INSTDIR\QtGui4.dll"
Delete "$INSTDIR\_ssl.pyd"
Delete "$INSTDIR\_ctypes.pyd"
Delete "$INSTDIR\_hashlib.pyd"
Delete "$INSTDIR\_socket.pyd"
Delete "$INSTDIR\_ssl.pyd"
Delete "$INSTDIR\bz2.pyd"
Delete "$INSTDIR\Microsoft.VC90.CRT.manifest"
Delete "$INSTDIR\msvcm90.dll"
Delete "$INSTDIR\msvcp90.dll"
Delete "$INSTDIR\msvcr90.dll"
Delete "$INSTDIR\onionshare.exe.manifest"
Delete "$INSTDIR\pyexpat.pyd"
Delete "$INSTDIR\PyQt4.QtCore.pyd"
Delete "$INSTDIR\PyQt4.QtGui.pyd"
Delete "$INSTDIR\python27.dll"
Delete "$INSTDIR\pywintypes27.dll"
Delete "$INSTDIR\QtCore4.dll"
Delete "$INSTDIR\QtGui4.dll"
Delete "$INSTDIR\QtOpenGL4.dll"
Delete "$INSTDIR\QtSvg4.dll"
Delete "$INSTDIR\QtXml4.dll"
Delete "$INSTDIR\select.pyd"
Delete "$INSTDIR\sip.pyd"
Delete "$INSTDIR\unicodedata.pyd"
Delete "$INSTDIR\win32api.pyd"
Delete "$INSTDIR\win32pipe.pyd"
Delete "$INSTDIR\win32wnet.pyd"
rmDir "$INSTDIR\onionshare"
rmDir "$INSTDIR\onionshare_gui\static"