Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
6bf00459
Commit
6bf00459
authored
May 08, 2013
by
Mark Morschhäuser
Browse files
Installer: added usermanual, use default paths, add timestamp to exe.
parent
91366a6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
nsis/cockatrice.nsi
View file @
6bf00459
!include "MUI2.nsh"
!include "MUI2.nsh"
!include "FileFunc.nsh"
!include "FileFunc.nsh"
!define /date TIMESTAMP "%Y%m%d"
Name "Cockatrice"
Name "Cockatrice"
OutFile "cockatrice_win32.exe"
OutFile "cockatrice_win32
_${TIMESTAMP}
.exe"
SetCompressor lzma
SetCompressor lzma
InstallDir "$PROGRAMFILES\Cockatrice"
InstallDir "$PROGRAMFILES\Cockatrice"
...
@@ -33,31 +35,32 @@ Section "Application" SecApplication
...
@@ -33,31 +35,32 @@ Section "Application" SecApplication
SetOutPath "$INSTDIR"
SetOutPath "$INSTDIR"
File ..\build\cockatrice\cockatrice.exe
File ..\build\cockatrice\cockatrice.exe
File ..\build\oracle\oracle.exe
File ..\build\oracle\oracle.exe
File ..\doc\usermanual\Usermanual.pdf
File C:\MinGW\bin\libstdc++-6.dll
File C:\MinGW\bin\libstdc++-6.dll
File C:\MinGW\bin\libgcc_s_dw2-1.dll
File C:\MinGW\bin\libgcc_s_dw2-1.dll
File C:\MinGW\bin\mingwm10.dll
File C:\MinGW\bin\mingwm10.dll
File C:\MinGW\bin\libprotobuf-
7
.dll
File C:\MinGW\bin\libprotobuf-
8
.dll
File C:\
MinGW\qt
\bin\QtCore4.dll
File C:\
Qt\4.8.4
\bin\QtCore4.dll
File C:\
MinGW\qt
\bin\QtGui4.dll
File C:\
Qt\4.8.4
\bin\QtGui4.dll
File C:\
MinGW\qt
\bin\QtNetwork4.dll
File C:\
Qt\4.8.4
\bin\QtNetwork4.dll
File C:\
MinGW\qt
\bin\QtSvg4.dll
File C:\
Qt\4.8.4
\bin\QtSvg4.dll
File C:\
MinGW\qt
\bin\QtXml4.dll
File C:\
Qt\4.8.4
\bin\QtXml4.dll
File C:\
MinGW\qt
\bin\QtMultimedia4.dll
File C:\
Qt\4.8.4
\bin\QtMultimedia4.dll
SetOutPath "$INSTDIR\zonebg"
SetOutPath "$INSTDIR\zonebg"
File /r ..\zonebg\*.*
File /r ..\zonebg\*.*
SetOutPath "$INSTDIR\plugins"
SetOutPath "$INSTDIR\plugins"
SetOutPath "$INSTDIR\plugins\codecs"
SetOutPath "$INSTDIR\plugins\codecs"
File C:\
MinGW\qt
\plugins\codecs\qcncodecs4.dll
File C:\
Qt\4.8.4
\plugins\codecs\qcncodecs4.dll
File C:\
MinGW\qt
\plugins\codecs\qjpcodecs4.dll
File C:\
Qt\4.8.4
\plugins\codecs\qjpcodecs4.dll
File C:\
MinGW\qt
\plugins\codecs\qkrcodecs4.dll
File C:\
Qt\4.8.4
\plugins\codecs\qkrcodecs4.dll
File C:\
MinGW\qt
\plugins\codecs\qtwcodecs4.dll
File C:\
Qt\4.8.4
\plugins\codecs\qtwcodecs4.dll
SetOutPath "$INSTDIR\plugins\iconengines"
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"
SetOutPath "$INSTDIR\plugins\imageformats"
File C:\
MinGW\qt
\plugins\imageformats\qjpeg4.dll
File C:\
Qt\4.8.4
\plugins\imageformats\qjpeg4.dll
File
c
:\
MinGW\qt
\plugins\imageformats\qsvg4.dll
File
C
:\
Qt\4.8.4
\plugins\imageformats\qsvg4.dll
SetOutPath "$INSTDIR\sounds"
SetOutPath "$INSTDIR\sounds"
File /r ..\sounds\*.*
File /r ..\sounds\*.*
...
@@ -97,8 +100,9 @@ Section Uninstall
...
@@ -97,8 +100,9 @@ Section Uninstall
Delete "$INSTDIR\uninstall.exe"
Delete "$INSTDIR\uninstall.exe"
Delete "$INSTDIR\cockatrice.exe"
Delete "$INSTDIR\cockatrice.exe"
Delete "$INSTDIR\oracle.exe"
Delete "$INSTDIR\oracle.exe"
Delete "$INSTDIR\Usermanual.pdf"
Delete "$INSTDIR\libstdc++-6.dll"
Delete "$INSTDIR\libstdc++-6.dll"
Delete "$INSTDIR\libprotobuf-
7
.dll"
Delete "$INSTDIR\libprotobuf-
8
.dll"
Delete "$INSTDIR\libgcc_s_dw2-1.dll"
Delete "$INSTDIR\libgcc_s_dw2-1.dll"
Delete "$INSTDIR\mingwm10.dll"
Delete "$INSTDIR\mingwm10.dll"
Delete "$INSTDIR\QtCore4.dll"
Delete "$INSTDIR\QtCore4.dll"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment