Fixed windows release scripts

preferencesAboutTextFull
Craig Watson 9 years ago
parent b4917d7902
commit 5f7c8d7d30
  1. 20
      release_scripts/windows/OpenBoard.iss
  2. 4
      release_scripts/windows/release.win7.vc9.bat

@ -20,9 +20,11 @@ AppUpdatesURL=http://get.openboard.org
DefaultDirName={pf}\OpenBoard DefaultDirName={pf}\OpenBoard
DefaultGroupName=OpenBoard DefaultGroupName=OpenBoard
OutputDir=.\install\win32\ #define ProjectRoot GetEnv('PROJECT_ROOT')
OutputDir={#ProjectRoot}\install\win32\
OutputBaseFilename=OpenBoard OutputBaseFilename=OpenBoard
SetupIconFile=.\resources\win\OpenBoard.ico SetupIconFile={#ProjectRoot}\resources\win\OpenBoard.ico
Compression=lzma Compression=lzma
SolidCompression=yes SolidCompression=yes
@ -51,12 +53,12 @@ Type: files ; Name: "{app}\*.dll"
#define QtDir GetEnv('QT_DIR') #define QtDir GetEnv('QT_DIR')
[Files] [Files]
Source: "..\OpenBoard-ThirdParty\microsoft\vcredist_x86.exe"; DestDir:"{tmp}" Source: "{#ProjectRoot}\..\OpenBoard-ThirdParty\microsoft\vcredist_x86.exe"; DestDir:"{tmp}"
Source: "build\win32\release\product\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "{#ProjectRoot}\build\win32\release\product\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
;OpenSSL ;OpenSSL
Source: "..\OpenBoard-ThirdParty\openssl\openssl-1.0.2-win32\lib\libeay32.lib"; DestDir:"{app}"; Flags: ignoreversion Source: "{#ProjectRoot}\..\OpenBoard-ThirdParty\openssl\openssl-1.0.2-win32\lib\libeay32.lib"; DestDir:"{app}"; Flags: ignoreversion
Source: "..\OpenBoard-ThirdParty\openssl\openssl-1.0.2-win32\lib\ssleay32.lib"; DestDir:"{app}"; Flags: ignoreversion Source: "{#ProjectRoot}\..\OpenBoard-ThirdParty\openssl\openssl-1.0.2-win32\lib\ssleay32.lib"; DestDir:"{app}"; Flags: ignoreversion
;Qt base dll ;Qt base dll
;Source: "OpenBoard.exe"; DestDir: "{app}" ;Source: "OpenBoard.exe"; DestDir: "{app}"
@ -117,13 +119,13 @@ Source: "{#QtDir}\plugins\mediaservice\wmfengine.dll"; DestDir: "{app}\mediaserv
Source: "{#QtDir}\plugins\mediaservice\wmfengined.dll"; DestDir: "{app}\mediaservice"; Flags: ignoreversion Source: "{#QtDir}\plugins\mediaservice\wmfengined.dll"; DestDir: "{app}\mediaservice"; Flags: ignoreversion
;OpenBoardImporter ;OpenBoardImporter
Source: "..\OpenBoard-Importer\release\OpenBoardImporter.exe"; DestDir: "{app}\Importer"; Flags: ignoreversion Source: "{#ProjectRoot}\..\OpenBoard-Importer\release\OpenBoardImporter.exe"; DestDir: "{app}\Importer"; Flags: ignoreversion
Source: "{#QtLibs}\Qt5Core.dll"; DestDir: "{app}" Source: "{#QtLibs}\Qt5Core.dll"; DestDir: "{app}"
Source: "{#QtLibs}\Qt5Gui.dll"; DestDir: "{app}" Source: "{#QtLibs}\Qt5Gui.dll"; DestDir: "{app}"
;fonts for xpdf ;fonts for xpdf
Source: "resources\windows\xpdfrc"; DestDir: "{app}"; Flags: ignoreversion Source: "{#ProjectRoot}\resources\windows\xpdfrc"; DestDir: "{app}"; Flags: ignoreversion
Source: "resources\fonts\*"; DestDir: "{app}\fonts"; Flags: ignoreversion Source: "{#ProjectRoot}\resources\fonts\*"; DestDir: "{app}\fonts"; Flags: ignoreversion
[Icons] [Icons]
Name: "{group}\OpenBoard"; Filename: "{app}\OpenBoard.exe" Name: "{group}\OpenBoard"; Filename: "{app}\OpenBoard.exe"

@ -1,4 +1,4 @@
echo off @echo off
REM -------------------------------------------------------------------- REM --------------------------------------------------------------------
REM This program is free software: you can redistribute it and/or modify REM This program is free software: you can redistribute it and/or modify
REM it under the terms of the GNU General Public License as published by REM it under the terms of the GNU General Public License as published by
@ -14,6 +14,8 @@ REM You should have received a copy of the GNU General Public License
REM along with this program. If not, see <http://www.gnu.org/licenses/>. REM along with this program. If not, see <http://www.gnu.org/licenses/>.
REM --------------------------------------------------------------------- REM ---------------------------------------------------------------------
GOTO EXIT
set SCRIPT_PATH=%~dp0 set SCRIPT_PATH=%~dp0
set PROJECT_ROOT=%SCRIPT_PATH%\..\.. set PROJECT_ROOT=%SCRIPT_PATH%\..\..

Loading…
Cancel
Save