Installer: added usermanual, use default paths, add timestamp to exe.
This commit is contained in:
parent
91366a6f43
commit
6bf0045967
1 changed files with 20 additions and 16 deletions
|
@ -1,8 +1,10 @@
|
|||
!include "MUI2.nsh"
|
||||
!include "FileFunc.nsh"
|
||||
|
||||
!define /date TIMESTAMP "%Y%m%d"
|
||||
|
||||
Name "Cockatrice"
|
||||
OutFile "cockatrice_win32.exe"
|
||||
OutFile "cockatrice_win32_${TIMESTAMP}.exe"
|
||||
SetCompressor lzma
|
||||
InstallDir "$PROGRAMFILES\Cockatrice"
|
||||
|
||||
|
@ -33,31 +35,32 @@ Section "Application" SecApplication
|
|||
SetOutPath "$INSTDIR"
|
||||
File ..\build\cockatrice\cockatrice.exe
|
||||
File ..\build\oracle\oracle.exe
|
||||
File ..\doc\usermanual\Usermanual.pdf
|
||||
File C:\MinGW\bin\libstdc++-6.dll
|
||||
File C:\MinGW\bin\libgcc_s_dw2-1.dll
|
||||
File C:\MinGW\bin\mingwm10.dll
|
||||
File C:\MinGW\bin\libprotobuf-7.dll
|
||||
File C:\MinGW\qt\bin\QtCore4.dll
|
||||
File C:\MinGW\qt\bin\QtGui4.dll
|
||||
File C:\MinGW\qt\bin\QtNetwork4.dll
|
||||
File C:\MinGW\qt\bin\QtSvg4.dll
|
||||
File C:\MinGW\qt\bin\QtXml4.dll
|
||||
File C:\MinGW\qt\bin\QtMultimedia4.dll
|
||||
File C:\MinGW\bin\libprotobuf-8.dll
|
||||
File C:\Qt\4.8.4\bin\QtCore4.dll
|
||||
File C:\Qt\4.8.4\bin\QtGui4.dll
|
||||
File C:\Qt\4.8.4\bin\QtNetwork4.dll
|
||||
File C:\Qt\4.8.4\bin\QtSvg4.dll
|
||||
File C:\Qt\4.8.4\bin\QtXml4.dll
|
||||
File C:\Qt\4.8.4\bin\QtMultimedia4.dll
|
||||
|
||||
SetOutPath "$INSTDIR\zonebg"
|
||||
File /r ..\zonebg\*.*
|
||||
|
||||
SetOutPath "$INSTDIR\plugins"
|
||||
SetOutPath "$INSTDIR\plugins\codecs"
|
||||
File C:\MinGW\qt\plugins\codecs\qcncodecs4.dll
|
||||
File C:\MinGW\qt\plugins\codecs\qjpcodecs4.dll
|
||||
File C:\MinGW\qt\plugins\codecs\qkrcodecs4.dll
|
||||
File C:\MinGW\qt\plugins\codecs\qtwcodecs4.dll
|
||||
File C:\Qt\4.8.4\plugins\codecs\qcncodecs4.dll
|
||||
File C:\Qt\4.8.4\plugins\codecs\qjpcodecs4.dll
|
||||
File C:\Qt\4.8.4\plugins\codecs\qkrcodecs4.dll
|
||||
File C:\Qt\4.8.4\plugins\codecs\qtwcodecs4.dll
|
||||
SetOutPath "$INSTDIR\plugins\iconengines"
|
||||
File C:\MinGW\qt\plugins\iconengines\qsvgicon4.dll
|
||||
File C:\Qt\4.8.4\plugins\iconengines\qsvgicon4.dll
|
||||
SetOutPath "$INSTDIR\plugins\imageformats"
|
||||
File C:\MinGW\qt\plugins\imageformats\qjpeg4.dll
|
||||
File c:\MinGW\qt\plugins\imageformats\qsvg4.dll
|
||||
File C:\Qt\4.8.4\plugins\imageformats\qjpeg4.dll
|
||||
File C:\Qt\4.8.4\plugins\imageformats\qsvg4.dll
|
||||
|
||||
SetOutPath "$INSTDIR\sounds"
|
||||
File /r ..\sounds\*.*
|
||||
|
@ -97,8 +100,9 @@ Section Uninstall
|
|||
Delete "$INSTDIR\uninstall.exe"
|
||||
Delete "$INSTDIR\cockatrice.exe"
|
||||
Delete "$INSTDIR\oracle.exe"
|
||||
Delete "$INSTDIR\Usermanual.pdf"
|
||||
Delete "$INSTDIR\libstdc++-6.dll"
|
||||
Delete "$INSTDIR\libprotobuf-7.dll"
|
||||
Delete "$INSTDIR\libprotobuf-8.dll"
|
||||
Delete "$INSTDIR\libgcc_s_dw2-1.dll"
|
||||
Delete "$INSTDIR\mingwm10.dll"
|
||||
Delete "$INSTDIR\QtCore4.dll"
|
||||
|
|
Loading…
Reference in a new issue