Skip to content

Commit 782ce22

Browse files
committed
InnoSetup build
1 parent 311dbb6 commit 782ce22

3 files changed

Lines changed: 57 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ makefile
1111
*.venv
1212
*.csv
1313
*.json
14+
Output/

setup.iss

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
; Script generated by the Inno Setup Script Wizard.
2+
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3+
4+
#define MyAppName "Reaper"
5+
#define MyAppVersion "2.0"
6+
#define MyAppPublisher "The University of Queensland"
7+
#define MyAppURL "http://reaper.social"
8+
#define MyAppExeName "reaper.exe"
9+
10+
[Setup]
11+
; NOTE: The value of AppId uniquely identifies this application.
12+
; Do not use the same AppId value in installers for other applications.
13+
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
14+
AppId={{D200F93A-07DC-4F73-8713-18E4CDCAA43C}
15+
AppName={#MyAppName}
16+
AppVersion={#MyAppVersion}
17+
;AppVerName={#MyAppName} {#MyAppVersion}
18+
AppPublisher={#MyAppPublisher}
19+
AppPublisherURL={#MyAppURL}
20+
AppSupportURL={#MyAppURL}
21+
AppUpdatesURL={#MyAppURL}
22+
DefaultDirName={pf}\{#MyAppName}
23+
DisableProgramGroupPage=yes
24+
LicenseFile=C:\Users\s4394487\src\reaper\dist\reaper\LICENSE.txt
25+
OutputBaseFilename=reaper-setup
26+
SetupIconFile=C:\Users\s4394487\src\reaper\dist\reaper\ui\icon.ico
27+
Compression=lzma
28+
SolidCompression=yes
29+
30+
[Languages]
31+
Name: "english"; MessagesFile: "compiler:Default.isl"
32+
33+
[Tasks]
34+
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
35+
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1
36+
37+
[Files]
38+
Source: "C:\Users\s4394487\src\reaper\dist\reaper\reaper.exe"; DestDir: "{app}"; Flags: ignoreversion
39+
Source: "C:\Users\s4394487\src\reaper\dist\reaper\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
40+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
41+
42+
[Icons]
43+
Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
44+
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
45+
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon
46+
47+
[Run]
48+
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
49+

windows.bat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
rmdir dist\reaper /s /q
2+
pyinstaller.exe -w -i ui/icon.ico reaper.py
3+
robocopy ui dist\reaper\ui /mir
4+
robocopy sources dist\reaper\sources /mir
5+
robocopy licenses dist\reaper\licenses /mir
6+
copy LICENSE.txt dist\reaper\LICENSE.txt
7+
copy sources.xml dist\reaper\sources.xml

0 commit comments

Comments
 (0)