You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
177 lines
9.9 KiB
177 lines
9.9 KiB
14 years ago
|
; Script generated by the Inno Setup Script Wizard.
|
||
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||
|
|
||
11 years ago
|
#define ApplicationVersion GetFileVersion("build\win32\release\product\OpenBoard.exe")
|
||
|
|
||
|
|
||
14 years ago
|
[Setup]
|
||
|
; NOTE: The value of AppId uniquely identifies this application.
|
||
|
; Do not use the same AppId value in installers for other applications.
|
||
|
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
||
9 years ago
|
AppId={{8CCA6AC7-BBF9-4DD2-8E70-A907E0FCA38F}}
|
||
12 years ago
|
AppName=OpenBoard
|
||
11 years ago
|
AppVerName=OpenBoard {#ApplicationVersion}
|
||
12 years ago
|
AppPublisher=Open Education Foundation
|
||
14 years ago
|
|
||
11 years ago
|
AppPublisherURL=http://www.oe-f.org
|
||
11 years ago
|
AppSupportURL=http://www.openboard.org
|
||
|
AppUpdatesURL=http://get.openboard.org
|
||
14 years ago
|
|
||
12 years ago
|
DefaultDirName={pf}\OpenBoard
|
||
|
DefaultGroupName=OpenBoard
|
||
14 years ago
|
|
||
|
OutputDir=.\install\win32\
|
||
12 years ago
|
OutputBaseFilename=OpenBoard
|
||
12 years ago
|
SetupIconFile=.\resources\win\OpenBoard.ico
|
||
14 years ago
|
Compression=lzma
|
||
|
SolidCompression=yes
|
||
|
|
||
|
[Languages]
|
||
14 years ago
|
Name: "en"; MessagesFile: "compiler:Default.isl"
|
||
|
Name: "fr"; MessagesFile: "compiler:Languages\French.isl"
|
||
|
Name: "gr"; MessagesFile: "compiler:Languages\German.isl"
|
||
|
Name: "it"; MessagesFile: "compiler:Languages\Italian.isl"
|
||
|
Name: "sp"; MessagesFile: "compiler:Languages\Spanish.isl"
|
||
14 years ago
|
|
||
|
[Tasks]
|
||
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||
|
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||
|
|
||
|
[InstallDelete]
|
||
|
|
||
12 years ago
|
Type: files ; Name: "{app}\OpenBoard.pdb"
|
||
14 years ago
|
Type: filesandordirs ; Name: "{app}\library"
|
||
|
Type: filesandordirs ; Name: "{app}\Microsoft.VC90.CRT"
|
||
|
Type: filesandordirs ; Name: "{app}\plugins"
|
||
|
Type: filesandordirs ; Name: "{app}\i18n"
|
||
|
Type: files ; Name: "{app}\*.dll"
|
||
|
|
||
9 years ago
|
|
||
|
#define QtLibs GetEnv('QT_BIN')
|
||
|
#define QtDir GetEnv('QT_DIR')
|
||
|
|
||
14 years ago
|
[Files]
|
||
11 years ago
|
Source: "..\OpenBoard-ThirdParty\microsoft\vcredist_x86.exe"; DestDir:"{tmp}"
|
||
13 years ago
|
Source: "build\win32\release\product\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||
|
|
||
13 years ago
|
;OpenSSL
|
||
9 years ago
|
Source: "..\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
|
||
13 years ago
|
|
||
14 years ago
|
;Qt base dll
|
||
9 years ago
|
;Source: "OpenBoard.exe"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5Core.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5Gui.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5Multimedia.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5MultimediaWidgets.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5Network.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5Opengl.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5PrintSupport.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5Qml.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5Script.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5Sql.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5Svg.dll"; DestDir: "{app}"
|
||
|
;Source: "Qt5V8.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5WebKit.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5WebKitWidgets.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5Widgets.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5Xml.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\libGLESv2.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5Quick.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5Positioning.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5Sensors.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5WebChannel.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\libEGL.dll"; DestDir: "{app}"
|
||
|
;Source: "/etc/freezedWidgetWrapper.html"; DestDir: "{app}"
|
||
|
;Source: "*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||
|
|
||
|
Source: "{#QtLibs}\icudt54.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\icuin54.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\icuuc54.dll"; DestDir: "{app}"
|
||
|
|
||
14 years ago
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||
|
|
||
9 years ago
|
;Qt windows plugins
|
||
|
Source: "{#QtDir}\plugins\platforms\qminimal.dll"; DestDir: "{app}\platforms"; Flags: ignoreversion
|
||
|
Source: "{#QtDir}\plugins\platforms\qoffscreen.dll"; DestDir: "{app}\platforms"; Flags: ignoreversion
|
||
|
Source: "{#QtDir}\plugins\platforms\qwindows.dll"; DestDir: "{app}\platforms"; Flags: ignoreversion
|
||
12 years ago
|
|
||
9 years ago
|
|
||
|
;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
|
||
9 years ago
|
Source: "{#QtDir}\plugins\mediaservice\dsengine.dll"; DestDir: "{app}\mediaservice"; Flags: ignoreversion
|
||
|
Source: "{#QtDir}\plugins\mediaservice\dsengined.dll"; DestDir: "{app}\mediaservice"; Flags: ignoreversion
|
||
|
Source: "{#QtDir}\plugins\mediaservice\qtmedia_audioengine.dll"; DestDir: "{app}\mediaservice"; Flags: ignoreversion
|
||
|
Source: "{#QtDir}\plugins\mediaservice\qtmedia_audioengined.dll"; DestDir: "{app}\mediaservice"; Flags: ignoreversion
|
||
|
Source: "{#QtDir}\plugins\mediaservice\wmfengine.dll"; DestDir: "{app}\mediaservice"; Flags: ignoreversion
|
||
|
Source: "{#QtDir}\plugins\mediaservice\wmfengined.dll"; DestDir: "{app}\mediaservice"; Flags: ignoreversion
|
||
12 years ago
|
|
||
12 years ago
|
;OpenBoardImporter
|
||
9 years ago
|
Source: "..\OpenBoard-Importer\release\OpenBoardImporter.exe"; DestDir: "{app}\Importer"; Flags: ignoreversion
|
||
9 years ago
|
Source: "{#QtLibs}\Qt5Core.dll"; DestDir: "{app}"
|
||
|
Source: "{#QtLibs}\Qt5Gui.dll"; DestDir: "{app}"
|
||
12 years ago
|
|
||
12 years ago
|
;fonts for xpdf
|
||
|
Source: "resources\windows\xpdfrc"; DestDir: "{app}"; Flags: ignoreversion
|
||
|
Source: "resources\fonts\*"; DestDir: "{app}\fonts"; Flags: ignoreversion
|
||
|
|
||
14 years ago
|
[Icons]
|
||
12 years ago
|
Name: "{group}\OpenBoard"; Filename: "{app}\OpenBoard.exe"
|
||
|
Name: "{group}\{cm:UninstallProgram,OpenBoard}"; Filename: "{uninstallexe}"
|
||
|
Name: "{commondesktop}\OpenBoard"; Filename: "{app}\OpenBoard.exe"; Tasks: desktopicon
|
||
|
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\OpenBoard"; Filename: "{app}\OpenBoard.exe"; Tasks: quicklaunchicon
|
||
14 years ago
|
|
||
|
[Registry]
|
||
12 years ago
|
Root: HKCR; Subkey: ".ubz"; ValueType: string; ValueName: ""; ValueData: "OpenBoardFile"; Flags: uninsdeletevalue
|
||
|
Root: HKCR; Subkey: "OpenBoardFile"; ValueType: string; ValueName: ""; ValueData: "OpenBoard document"; Flags: uninsdeletekey
|
||
|
Root: HKCR; Subkey: "OpenBoardFile\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\OpenBoard.exe,1"
|
||
|
Root: HKCR; Subkey: "OpenBoardFile\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\OpenBoard.exe"" ""%1"""
|
||
14 years ago
|
|
||
12 years ago
|
Root: HKLM; Subkey: "SOFTWARE\OpenBoard"; ValueType: string; ValueName: "Client application"; ValueData: "{app}\OpenBoard.exe"; Flags: uninsdeletevalue; Check: isProcessorNotX64
|
||
|
Root: HKLM; Subkey: "SOFTWARE\OpenBoard"; ValueType: dword; ValueName: "Transfer mode"; ValueData: "0"; Flags: uninsdeletevalue; Check: isProcessorNotX64
|
||
|
Root: HKLM; Subkey: "SOFTWARE\OpenBoard"; ValueType: dword; ValueName: "EMF: Hide page"; ValueData: "1"; Flags: uninsdeletevalue; Check: isProcessorNotX64
|
||
|
Root: HKLM; Subkey: "SOFTWARE\OpenBoard\Defaults"; ValueType: dword; ValueName: "PDF: Enabled"; ValueData: "1"; Flags: uninsdeletevalue; Check: isProcessorNotX64
|
||
14 years ago
|
|
||
13 years ago
|
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Internet Explorer\Low Rights\DragDrop\{{E63D17F8-D9DA-479D-B9B5-0D101A03703B}"; ValueType: dword; ValueName: "Policy"; ValueData: "3"; Flags: uninsdeletevalue; Check: isProcessorNotX64
|
||
12 years ago
|
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Internet Explorer\Low Rights\DragDrop\{{E63D17F8-D9DA-479D-B9B5-0D101A03703B}"; ValueType: string; ValueName: "AppName"; ValueData: "OpenBoard.exe"; Flags: uninsdeletevalue; Check: isProcessorNotX64
|
||
13 years ago
|
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Internet Explorer\Low Rights\DragDrop\{{E63D17F8-D9DA-479D-B9B5-0D101A03703B}"; ValueType: string; ValueName: "AppPath"; ValueData: "{app}"; Flags: uninsdeletevalue; Check: isProcessorNotX64
|
||
|
|
||
12 years ago
|
Root: HKLM64; Subkey: "SOFTWARE\OpenBoard"; ValueType: string; ValueName: "Client application"; ValueData: "{app}\OpenBoard.exe"; Flags: uninsdeletevalue; Check: isProcessorX64
|
||
|
Root: HKLM64; Subkey: "SOFTWARE\OpenBoard"; ValueType: dword; ValueName: "Transfer mode"; ValueData: "0"; Flags: uninsdeletevalue; Check: isProcessorX64
|
||
|
Root: HKLM64; Subkey: "SOFTWARE\OpenBoard"; ValueType: dword; ValueName: "EMF: Hide page"; ValueData: "1"; Flags: uninsdeletevalue; Check: isProcessorX64
|
||
|
Root: HKLM64; Subkey: "SOFTWARE\OpenBoard\Defaults"; ValueType: dword; ValueName: "PDF: Enabled"; ValueData: "1"; Flags: uninsdeletevalue; Check: isProcessorX64
|
||
14 years ago
|
|
||
13 years ago
|
Root: HKLM64; Subkey: "SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Low Rights\DragDrop\{{E63D17F8-D9DA-479D-B9B5-0D101A03703B}"; ValueType: dword; ValueName: "Policy"; ValueData: "3"; Flags: uninsdeletevalue; Check: isProcessorX64
|
||
12 years ago
|
Root: HKLM64; Subkey: "SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Low Rights\DragDrop\{{E63D17F8-D9DA-479D-B9B5-0D101A03703B}"; ValueType: string; ValueName: "AppName"; ValueData: "OpenBoard.exe"; Flags: uninsdeletevalue; Check: isProcessorX64
|
||
13 years ago
|
Root: HKLM64; Subkey: "SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Low Rights\DragDrop\{{E63D17F8-D9DA-479D-B9B5-0D101A03703B}"; ValueType: string; ValueName: "AppPath"; ValueData: "{app}"; Flags: uninsdeletevalue; Check: isProcessorX64
|
||
|
|
||
14 years ago
|
[Run]
|
||
13 years ago
|
Filename: "{tmp}\vcredist_x86.exe";WorkingDir:"{tmp}"; Parameters: "/q:a/c:""VCREDI~3.EXE /q:a /c:""""msiexec /i vcredist.msi /qn"""""""; StatusMsg: Installing CRT ...
|
||
12 years ago
|
Filename: "{app}\OpenBoard.exe"; Description: "{cm:LaunchProgram,OpenBoard}"; Flags: nowait postinstall skipifsilent
|
||
14 years ago
|
|
||
|
[UninstallDelete]
|
||
|
; cleanup and delete whole installation directory
|
||
|
Name: {app}; Type: filesandordirs
|
||
|
|
||
|
[Code]
|
||
|
function isProcessorX64: Boolean;
|
||
|
begin
|
||
|
Result := (ProcessorArchitecture = paX64);
|
||
|
end;
|
||
|
|
||
|
function isProcessorNotX64: Boolean;
|
||
|
begin
|
||
|
Result := not isProcessorX64;
|
||
13 years ago
|
end;
|
||
|
|