Skip to content
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.

Commit

Permalink
setup script for windows innosetup
Browse files Browse the repository at this point in the history
  • Loading branch information
everettjf committed Nov 20, 2018
1 parent 347bb66 commit 7628ebb
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
Binary file added image/favicon.ico
Binary file not shown.
49 changes: 49 additions & 0 deletions res/windows_setup.iss
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
; Script generated by the Inno Script Studio Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "MachOExplorer"
#define MyAppVersion "1.0"
#define MyAppPublisher "everettjf"
#define MyAppURL "https://everettjf.github.io"
#define MyAppExeName "MachOExplorer.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={{1F3392C5-8A25-4692-95F9-5D4357EFF6D7}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
DisableProgramGroupPage=yes
OutputDir=C:\Users\evere\Documents\GitHub\MachOExplorer\dist
OutputBaseFilename=MachOExplorerSetup
SetupIconFile=C:\Users\evere\Documents\GitHub\MachOExplorer\image\favicon.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\evere\Documents\GitHub\MachOExplorer\dist\MachOExplorer_Windows\MachOExplorer.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\evere\Documents\GitHub\MachOExplorer\dist\MachOExplorer_Windows\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\{#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

0 comments on commit 7628ebb

Please sign in to comment.