Skip to content

Commit

Permalink
InnoSetup build
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptSmith committed Feb 22, 2018
1 parent 311dbb6 commit 782ce22
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ makefile
*.venv
*.csv
*.json
Output/
49 changes: 49 additions & 0 deletions setup.iss
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Reaper"
#define MyAppVersion "2.0"
#define MyAppPublisher "The University of Queensland"
#define MyAppURL "http://reaper.social"
#define MyAppExeName "reaper.exe"

[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.)
AppId={{D200F93A-07DC-4F73-8713-18E4CDCAA43C}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DisableProgramGroupPage=yes
LicenseFile=C:\Users\s4394487\src\reaper\dist\reaper\LICENSE.txt
OutputBaseFilename=reaper-setup
SetupIconFile=C:\Users\s4394487\src\reaper\dist\reaper\ui\icon.ico
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1

[Files]
Source: "C:\Users\s4394487\src\reaper\dist\reaper\reaper.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\s4394487\src\reaper\dist\reaper\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent

7 changes: 7 additions & 0 deletions windows.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
rmdir dist\reaper /s /q
pyinstaller.exe -w -i ui/icon.ico reaper.py
robocopy ui dist\reaper\ui /mir
robocopy sources dist\reaper\sources /mir
robocopy licenses dist\reaper\licenses /mir
copy LICENSE.txt dist\reaper\LICENSE.txt
copy sources.xml dist\reaper\sources.xml

0 comments on commit 782ce22

Please sign in to comment.