Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
2fa97ecf
Commit
2fa97ecf
authored
Dec 14, 2015
by
Craig Watson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated release scripts for Windows
parent
8ae88cfc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
70 additions
and
48 deletions
+70
-48
OpenBoard.iss
OpenBoard.iss
+62
-40
release.win7.vc9.bat
release.win7.vc9.bat
+8
-8
No files found.
OpenBoard.iss
View file @
2fa97ecf
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
; NOTE: The value of AppId uniquely identifies this application.
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{
F6E79ADE-83AE-4A2E-92D7-145BDC014271
}
AppId={{
8CCA6AC7-BBF9-4DD2-8E70-A907E0FCA38F}
}
AppName=OpenBoard
AppName=OpenBoard
AppVerName=OpenBoard {#ApplicationVersion}
AppVerName=OpenBoard {#ApplicationVersion}
AppPublisher=Open Education Foundation
AppPublisher=Open Education Foundation
...
@@ -46,58 +46,80 @@ Type: filesandordirs ; Name: "{app}\plugins"
...
@@ -46,58 +46,80 @@ Type: filesandordirs ; Name: "{app}\plugins"
Type: filesandordirs ; Name: "{app}\i18n"
Type: filesandordirs ; Name: "{app}\i18n"
Type: files ; Name: "{app}\*.dll"
Type: files ; Name: "{app}\*.dll"
#define QtLibs GetEnv('QT_BIN')
#define QtDir GetEnv('QT_DIR')
[Files]
[Files]
Source: "..\OpenBoard-ThirdParty\microsoft\vcredist_x86.exe"; DestDir:"{tmp}"
Source: "..\OpenBoard-ThirdParty\microsoft\vcredist_x86.exe"; DestDir:"{tmp}"
Source: "build\win32\release\product\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "build\win32\release\product\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
;OpenSSL
;OpenSSL
Source: "..\OpenBoard-ThirdParty\openssl\openssl-1.0.
0d\out32dll\libeay32.dll
"; DestDir:"{app}"; Flags: ignoreversion
Source: "..\OpenBoard-ThirdParty\openssl\openssl-1.0.
2-win32\lib\libeay32.lib
"; DestDir:"{app}"; Flags: ignoreversion
Source: "..\OpenBoard-ThirdParty\openssl\openssl-1.0.
0d\out32dll\ssleay32.dll
"; DestDir:"{app}"; Flags: ignoreversion
Source: "..\OpenBoard-ThirdParty\openssl\openssl-1.0.
2-win32\lib\ssleay32.lib
"; DestDir:"{app}"; Flags: ignoreversion
;Qt base dll
;Qt base dll
Source: "..\Qt-4.8\lib\QtScript4.dll"; DestDir: "{app}"; Flags: ignoreversion
;Source: "OpenBoard.exe"; DestDir: "{app}"
Source: "..\Qt-4.8\lib\QtGui4.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5Core.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\lib\QtXml4.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5Gui.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\lib\QtCore4.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5Multimedia.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\lib\QtWebKit4.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5MultimediaWidgets.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\lib\phonon4.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5Network.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\lib\QtNetwork4.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5Opengl.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\lib\QtSvg4.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5PrintSupport.dll"; DestDir: "{app}"
Source: "{#QtLibs}\Qt5Qml.dll"; DestDir: "{app}"
;Qt plugins
Source: "{#QtLibs}\Qt5Script.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\plugins\accessible\qtaccessiblecompatwidgets4.dll"; DestDir: "{app}\accessible"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5Sql.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\plugins\accessible\qtaccessiblewidgets4.dll"; DestDir: "{app}\accessible"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5Svg.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\plugins\bearer\qgenericbearer4.dll"; DestDir: "{app}\bearer"; Flags: ignoreversion
;Source: "Qt5V8.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\plugins\bearer\qnativewifibearer4.dll"; DestDir: "{app}\bearer"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5WebKit.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\plugins\codecs\qcncodecs4.dll"; DestDir: "{app}\codecs"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5WebKitWidgets.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\plugins\codecs\qjpcodecs4.dll"; DestDir: "{app}\codecs"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5Widgets.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\plugins\codecs\qkrcodecs4.dll"; DestDir: "{app}\codecs"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5Xml.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\plugins\codecs\qtwcodecs4.dll"; DestDir: "{app}\codecs"; Flags: ignoreversion
Source: "{#QtLibs}\libGLESv2.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\plugins\graphicssystems\qglgraphicssystem4.dll"; DestDir: "{app}\graphicssystems"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5Quick.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\plugins\graphicssystems\qtracegraphicssystem4.dll"; DestDir: "{app}\graphicssystems"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5Positioning.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\plugins\iconengines\qsvgicon4.dll"; DestDir: "{app}\iconengines"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5Sensors.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\plugins\imageformats\qgif4.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5WebChannel.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\plugins\imageformats\qico4.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
Source: "{#QtLibs}\libEGL.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\plugins\imageformats\qjpeg4.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
;Source: "/etc/freezedWidgetWrapper.html"; DestDir: "{app}"
Source: "..\Qt-4.8\plugins\imageformats\qmng4.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
;Source: "*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\Qt-4.8\plugins\imageformats\qsvg4.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
Source: "..\Qt-4.8\plugins\imageformats\qtiff4.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
Source: "{#QtLibs}\icudt54.dll"; DestDir: "{app}"
Source: "..\Qt-4.8\plugins\phonon_backend\phonon_ds94.dll"; DestDir: "{app}\phonon_backend"; Flags: ignoreversion
Source: "{#QtLibs}\icuin54.dll"; DestDir: "{app}"
Source: "{#QtLibs}\icuuc54.dll"; DestDir: "{app}"
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
;qt multimedia plugins
;Qt windows plugins
Source: "c:\OpenBoard\plugins\mediaservice\qtmedia_audioengine.dll"; DestDir: "c:\OpenBoard\plugins\mediaservice"; Flags: ignoreversion
Source: "{#QtDir}\plugins\platforms\qminimal.dll"; DestDir: "{app}\platforms"; Flags: ignoreversion
Source: "c:\OpenBoard\plugins\mediaservice\qtmedia_audioengined.dll"; DestDir: "c:\OpenBoard\plugins\mediaservice"; Flags: ignoreversion
Source: "{#QtDir}\plugins\platforms\qoffscreen.dll"; DestDir: "{app}\platforms"; Flags: ignoreversion
Source: "c:\OpenBoard\plugins\mediaservice\dsengine.dll"; DestDir: "c:\OpenBoard\plugins\mediaservice"; Flags: ignoreversion
Source: "{#QtDir}\plugins\platforms\qwindows.dll"; DestDir: "{app}\platforms"; Flags: ignoreversion
Source: "c:\OpenBoard\plugins\mediaservice\dsengined.dll"; DestDir: "c:\OpenBoard\plugins\mediaservice"; Flags: ignoreversion
Source: "c:\OpenBoard\plugins\playlistformats\qtmultimediakit_m3u.dll"; DestDir: "c:\OpenBoard\plugins\playlistformats"; Flags: ignoreversion
Source: "c:\OpenBoard\plugins\playlistformats\qtmultimediakit_m3ud.dll"; DestDir: "c:\OpenBoard\plugins\playlistformats"; Flags: ignoreversion
;Qt images formats plugins
Source: "{#QtDir}\plugins\imageformats\qgif.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
Source: "{#QtDir}\plugins\imageformats\qico.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
Source: "{#QtDir}\plugins\imageformats\qjpeg.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
Source: "{#QtDir}\plugins\imageformats\qmng.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
Source: "{#QtDir}\plugins\imageformats\qsvg.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
Source: "{#QtDir}\plugins\imageformats\qtiff.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
;qt icon engine plugins
Source: "{#QtDir}\plugins\iconengines\qsvgicon.dll"; DestDir: "{app}\iconengines"; Flags: ignoreversion
;qt multimedia plugins
Source: "{#QtDir}\plugins\mediaservice\dsengine.dll"; DestDir: "\plugins\mediaservice"; Flags: ignoreversion
Source: "{#QtDir}\plugins\mediaservice\dsengined.dll"; DestDir: "\plugins\mediaservice"; Flags: ignoreversion
Source: "{#QtDir}\plugins\mediaservice\qtmedia_audioengine.dll"; DestDir: "\plugins\mediaservice"; Flags: ignoreversion
Source: "{#QtDir}\plugins\mediaservice\qtmedia_audioengined.dll"; DestDir: "\plugins\mediaservice"; Flags: ignoreversion
Source: "{#QtDir}\plugins\mediaservice\wmfengine.dll"; DestDir: "\plugins\mediaservice"; Flags: ignoreversion
Source: "{#QtDir}\plugins\mediaservice\wmfengined.dll"; DestDir: "\plugins\mediaservice"; Flags: ignoreversion
;OpenBoardImporter
;OpenBoardImporter
Source: "..\OpenBoard-Importer\release\OpenBoardImporter.exe"; DestDir: "c:\OpenBoard\Importer"; Flags: ignoreversion
Source: "..\OpenBoard-Importer\release\OpenBoardImporter.exe"; DestDir: "c:\OpenBoard\Importer"; Flags: ignoreversion
Source: "
..\Qt-4.8\lib\QtGui4.dll"; DestDir: "c:\OpenBoard\Importer"; Flags: ignoreversion
Source: "
{#QtLibs}\Qt5Core.dll"; DestDir: "{app}"
Source: "
..\Qt-4.8\lib\QtCore4.dll"; DestDir: "c:\OpenBoard\Importer"; Flags: ignoreversion
Source: "
{#QtLibs}\Qt5Gui.dll"; DestDir: "{app}"
;fonts for xpdf
;fonts for xpdf
Source: "resources\windows\xpdfrc"; DestDir: "{app}"; Flags: ignoreversion
Source: "resources\windows\xpdfrc"; DestDir: "{app}"; Flags: ignoreversion
...
...
release.win7.vc9.bat
View file @
2fa97ecf
...
@@ -16,13 +16,13 @@ REM ---------------------------------------------------------------------
...
@@ -16,13 +16,13 @@ REM ---------------------------------------------------------------------
set APPLICATION_NAME=OpenBoard
set APPLICATION_NAME=OpenBoard
set QT_DIR=
..\Qt-4.8
set QT_DIR=
C:\Qt\5.5\msvc2010
set QT_BIN=%QT_DIR%\bin
set QT_BIN=%QT_DIR%\bin
set PROGRAMS_FILE_PATH=C:\Program Files
set PROGRAMS_FILE_PATH=C:\Program Files
(x86)
set GIT_BIN=%PROGRAMS_FILE_PATH%\Git\bin
set GIT_BIN=%PROGRAMS_FILE_PATH%\Git\bin
set VS_BIN=%PROGRAMS_FILE_PATH%\Microsoft Visual Studio
9
.0\VC\bin
set VS_BIN=%PROGRAMS_FILE_PATH%\Microsoft Visual Studio
10
.0\VC\bin
set WIN_SDK_BIN=%PROGRAMS_FILE_PATH%\Microsoft SDKs\Windows\v6.0A\Bin
set WIN_SDK_BIN=%PROGRAMS_FILE_PATH%\Microsoft SDKs\Windows\v6.0A\Bin
set INNO_EXE=%PROGRAMS_FILE_PATH%\Inno Setup 5\iscc.exe
set INNO_EXE=%PROGRAMS_FILE_PATH%\Inno Setup 5\iscc.exe
set BUILD_DIR=build\win32\release
set BUILD_DIR=build\win32\release
...
@@ -37,7 +37,7 @@ echo %PATH%
...
@@ -37,7 +37,7 @@ echo %PATH%
REM Third party impoter application
REM Third party impoter application
set IMPORTER_NAME=OpenBoardImporter
set IMPORTER_NAME=OpenBoardImporter
set IMPORTER_PATH="
%cd%\
..\OpenBoard-Importer"
set IMPORTER_PATH="..\OpenBoard-Importer"
IF NOT EXIST "%IMPORTER_PATH%" GOTO EXIT_WITH_ERROR
IF NOT EXIST "%IMPORTER_PATH%" GOTO EXIT_WITH_ERROR
set HOME_DIR="%cd%"
set HOME_DIR="%cd%"
...
@@ -47,7 +47,7 @@ IF EXIST "debug" (del "debug\*.*" /Q)
...
@@ -47,7 +47,7 @@ IF EXIST "debug" (del "debug\*.*" /Q)
IF EXIST "MakeFile" (del "MakeFile*" /Q)
IF EXIST "MakeFile" (del "MakeFile*" /Q)
IF EXIST "MakeFile" (del "MakeFile*" /Q)
IF EXIST "MakeFile" (del "MakeFile*" /Q)
IF EXIST "%IMPORTER_NAME%.exe" (del "%IMPORTER_NAME%.exe" /Q)
IF EXIST "%IMPORTER_NAME%.exe" (del "%IMPORTER_NAME%.exe" /Q)
"%QT_BIN%\qmake.exe" %IMPORTER_NAME%.pro
"
"%QT_BIN%\qmake.exe" %IMPORTER_NAME%.pro
nmake release
nmake release
IF NOT EXIST release\"%IMPORTER_NAME%.exe" GOTO EXIT_WITH_ERROR
IF NOT EXIST release\"%IMPORTER_NAME%.exe" GOTO EXIT_WITH_ERROR
cd %HOME_DIR%
cd %HOME_DIR%
...
@@ -55,7 +55,7 @@ cd %HOME_DIR%
...
@@ -55,7 +55,7 @@ cd %HOME_DIR%
REM this checks if the custom qt directory path
REM this checks if the custom qt directory path
REM is correct. This is important because installer
REM is correct. This is important because installer
REM pick up dll from this directory
REM pick up dll from this directory
IF NOT EXIST "%QT_DIR%\lib\QtCore4
.dll" GOTO EXIT_WITH_ERROR
REM IF NOT EXIST "%QT_DIR%\bin\Qt5Core
.dll" GOTO EXIT_WITH_ERROR
rmdir /S /Q %BUILD_DIR%
rmdir /S /Q %BUILD_DIR%
rmdir /S /Q install
rmdir /S /Q install
...
@@ -81,8 +81,8 @@ REM echo %LAST_TAG_VERSION%
...
@@ -81,8 +81,8 @@ REM echo %LAST_TAG_VERSION%
nmake release-install
nmake release-install
IF NOT EXIST build\win32\release\product\%APPLICATION_NAME%.exe GOTO EXIT_WITH_ERROR
IF NOT EXIST build\win32\release\product\%APPLICATION_NAME%.exe GOTO EXIT_WITH_ERROR
xcopy C:\%APPLICATION_NAME%\
lib
\*.dll build\win32\release\product\
xcopy C:\%APPLICATION_NAME%\
bin
\*.dll build\win32\release\product\
xcopy %QT_DIR%\
lib\QtOpenGL4
.dll build\win32\release\product\
xcopy %QT_DIR%\
bin\Qt5OpenGL
.dll build\win32\release\product\
set CUSTOMIZATIONS=build\win32\release\product\customizations
set CUSTOMIZATIONS=build\win32\release\product\customizations
mkdir %CUSTOMIZATIONS%
mkdir %CUSTOMIZATIONS%
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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