Skip to content

Commit 7628ebb

Browse files
committed
setup script for windows innosetup
1 parent 347bb66 commit 7628ebb

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

image/favicon.ico

16.6 KB
Binary file not shown.

res/windows_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 Script Studio Wizard.
2+
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3+
4+
#define MyAppName "MachOExplorer"
5+
#define MyAppVersion "1.0"
6+
#define MyAppPublisher "everettjf"
7+
#define MyAppURL "https://everettjf.github.io"
8+
#define MyAppExeName "MachOExplorer.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={{1F3392C5-8A25-4692-95F9-5D4357EFF6D7}
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+
DefaultGroupName={#MyAppName}
24+
DisableProgramGroupPage=yes
25+
OutputDir=C:\Users\evere\Documents\GitHub\MachOExplorer\dist
26+
OutputBaseFilename=MachOExplorerSetup
27+
SetupIconFile=C:\Users\evere\Documents\GitHub\MachOExplorer\image\favicon.ico
28+
Compression=lzma
29+
SolidCompression=yes
30+
31+
[Languages]
32+
Name: "english"; MessagesFile: "compiler:Default.isl"
33+
34+
[Tasks]
35+
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
36+
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1
37+
38+
[Files]
39+
Source: "C:\Users\evere\Documents\GitHub\MachOExplorer\dist\MachOExplorer_Windows\MachOExplorer.exe"; DestDir: "{app}"; Flags: ignoreversion
40+
Source: "C:\Users\evere\Documents\GitHub\MachOExplorer\dist\MachOExplorer_Windows\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
41+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
42+
43+
[Icons]
44+
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
45+
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
46+
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon
47+
48+
[Run]
49+
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent

0 commit comments

Comments
 (0)