Skip to content

Commit

Permalink
Transfer current version to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidStirling authored May 5, 2021
1 parent 87d73b0 commit ef77b97
Show file tree
Hide file tree
Showing 13 changed files with 748 additions and 0 deletions.
60 changes: 60 additions & 0 deletions imquick.iss
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "ImQuick"
#define MyAppVersion "0.5 Beta"
#define MyAppPublisher "David Stirling"
#define MyAppURL "https://github.com/DavidStirling/ImQuick"
#define MyAppExeName "ImQuick.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={{298804AE-3FE3-4D4D-A79E-9925FE61A7CD}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf64}\{#MyAppName}
DisableProgramGroupPage=yes
DisableDirPage=no
OutputBaseFilename=ImQuick_setup
SetupIconFile=resources\ImQuick.ico
UninstallDisplayIcon={app}\resources\ImQuick.ico
LicenseFile=LICENSE
Compression=lzma
SolidCompression=yes
ChangesAssociations = yes
WizardStyle=modern

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

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "ImQuick.dist\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "ImQuick.dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Registry]
Root: HKCR; Subkey: "{#MyAppName}"; ValueData: "Program {#MyAppName}"; Flags: uninsdeletekey; ValueType: string; ValueName: ""
Root: HKCR; Subkey: "{#MyAppName}\DefaultIcon"; ValueData: "{app}\{#MyAppExeName},0"; ValueType: string; ValueName: ""
Root: HKCR; Subkey: "{#MyAppName}\shell\open\command"; ValueData: """{app}\{#MyAppExeName}"" ""%1"""; ValueType: string; ValueName: ""

Root: HKCR; Subkey: "SystemFileAssociations\image\shell\ImQuick"; ValueType: none; ValueName: ""; ValueData: ""; Flags: uninsdeletekey
Root: HKCR; Subkey: "SystemFileAssociations\image\shell\ImQuick"; ValueType: string; ValueName: "Icon"; ValueData: "{app}\resources\ImQuick.ico"; Flags: uninsdeletekey
Root: HKCR; Subkey: "SystemFileAssociations\image\shell\ImQuick\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""; Flags: uninsdeletekey


[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

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

Loading

0 comments on commit ef77b97

Please sign in to comment.