Skip to content

Commit e5df2ab

Browse files
committed
Add Inno Setup
1 parent 6c8812c commit e5df2ab

File tree

3 files changed

+58
-1
lines changed

3 files changed

+58
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
Output/
2+
13
## Ignore Visual Studio temporary files, build results, and
24
## files generated by popular Visual Studio add-ons.
35
##

InnoSetup.iss

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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 "LightroomSync"
5+
#define MyAppVersion "1.0"
6+
#define MyAppPublisher "Anthony Bryan"
7+
#define MyAppURL "https://github.com/software-2/LightroomSync"
8+
#define MyAppExeName "LightroomSync.exe"
9+
10+
[Setup]
11+
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
12+
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
13+
AppId={{E517626F-1634-44A5-A111-1BB07C55E499}
14+
AppName={#MyAppName}
15+
AppVersion={#MyAppVersion}
16+
;AppVerName={#MyAppName} {#MyAppVersion}
17+
AppPublisher={#MyAppPublisher}
18+
AppPublisherURL={#MyAppURL}
19+
AppSupportURL={#MyAppURL}
20+
AppUpdatesURL={#MyAppURL}
21+
DefaultDirName={autopf}\{#MyAppName}
22+
DefaultGroupName={#MyAppName}
23+
AllowNoIcons=yes
24+
LicenseFile=C:\Git\LightroomSync\LICENSE
25+
; Remove the following line to run in administrative install mode (install for all users.)
26+
PrivilegesRequired=lowest
27+
PrivilegesRequiredOverridesAllowed=dialog
28+
OutputBaseFilename=LightroomSync Setup
29+
Compression=lzma
30+
SolidCompression=yes
31+
WizardStyle=modern
32+
33+
[Languages]
34+
Name: "english"; MessagesFile: "compiler:Default.isl"
35+
36+
[Tasks]
37+
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
38+
39+
[Files]
40+
Source: "C:\Git\LightroomSync\LightroomSync\bin\Release\net6.0-windows\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
41+
Source: "C:\Git\LightroomSync\LightroomSync\bin\Release\net6.0-windows\LightroomSync.deps.json"; DestDir: "{app}"; Flags: ignoreversion
42+
Source: "C:\Git\LightroomSync\LightroomSync\bin\Release\net6.0-windows\LightroomSync.dll"; DestDir: "{app}"; Flags: ignoreversion
43+
Source: "C:\Git\LightroomSync\LightroomSync\bin\Release\net6.0-windows\LightroomSync.pdb"; DestDir: "{app}"; Flags: ignoreversion
44+
Source: "C:\Git\LightroomSync\LightroomSync\bin\Release\net6.0-windows\LightroomSync.runtimeconfig.json"; DestDir: "{app}"; Flags: ignoreversion
45+
Source: "C:\Git\LightroomSync\LightroomSync\bin\Release\net6.0-windows\Newtonsoft.Json.dll"; DestDir: "{app}"; Flags: ignoreversion
46+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
47+
48+
[Icons]
49+
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
50+
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
51+
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
52+
53+
[Run]
54+
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
55+

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 Software2
3+
Copyright (c) 2023 Anthony Bryan
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)