Skip to content

Commit bd34bc9

Browse files
committed
Added setup script.
1 parent 79f47a9 commit bd34bc9

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

Setup.iss

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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 "Channel Repacker"
5+
#define MyAppVersion "1.0"
6+
#define MyAppPublisher "Null Software"
7+
#define MyAppURL "https://github.com/nullsoftware/ChannelRepacker"
8+
#define MyAppExeName "ChannelRepacker.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={{03162F0D-FB5B-40BE-973D-EB69D8ACBA36}
14+
AppName={#MyAppName}
15+
AppVersion={#MyAppVersion}
16+
AppVerName={#MyAppName}
17+
AppPublisher={#MyAppPublisher}
18+
AppPublisherURL={#MyAppURL}
19+
AppSupportURL={#MyAppURL}
20+
AppUpdatesURL={#MyAppURL}
21+
DefaultDirName={autopf}\{#MyAppName}
22+
DefaultGroupName={#MyAppName}
23+
DisableProgramGroupPage=yes
24+
DisableWelcomePage=no
25+
; Remove the following line to run in administrative install mode (install for all users.)
26+
PrivilegesRequired=lowest
27+
PrivilegesRequiredOverridesAllowed=dialog
28+
OutputDir=.\ChannelRepacker\bin\Release\
29+
OutputBaseFilename=CR-Setup
30+
Compression=lzma
31+
SolidCompression=yes
32+
WizardStyle=modern
33+
34+
[Languages]
35+
Name: "english"; MessagesFile: "compiler:Default.isl"
36+
37+
[Tasks]
38+
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
39+
40+
[Files]
41+
Source: ".\ChannelRepacker\bin\Release\ChannelRepacker.exe"; DestDir: "{app}"; Flags: ignoreversion
42+
Source: ".\ChannelRepacker\bin\Release\ChannelRepacker.deps.json"; DestDir: "{app}"; Flags: ignoreversion
43+
Source: ".\ChannelRepacker\bin\Release\ChannelRepacker.dll"; DestDir: "{app}"; Flags: ignoreversion
44+
Source: ".\ChannelRepacker\bin\Release\ChannelRepacker.runtimeconfig.json"; DestDir: "{app}"; Flags: ignoreversion
45+
Source: ".\ChannelRepacker\bin\Release\DynamicData.dll"; DestDir: "{app}"; Flags: ignoreversion
46+
Source: ".\ChannelRepacker\bin\Release\log4net.dll"; DestDir: "{app}"; Flags: ignoreversion
47+
Source: ".\ChannelRepacker\bin\Release\NodeNetwork.dll"; DestDir: "{app}"; Flags: ignoreversion
48+
Source: ".\ChannelRepacker\bin\Release\NodeNetworkToolkit.dll"; DestDir: "{app}"; Flags: ignoreversion
49+
Source: ".\ChannelRepacker\bin\Release\Pharmacist.Common.dll"; DestDir: "{app}"; Flags: ignoreversion
50+
Source: ".\ChannelRepacker\bin\Release\ReactiveUI.dll"; DestDir: "{app}"; Flags: ignoreversion
51+
Source: ".\ChannelRepacker\bin\Release\ReactiveUI.Events.WPF.dll"; DestDir: "{app}"; Flags: ignoreversion
52+
Source: ".\ChannelRepacker\bin\Release\ReactiveUI.Wpf.dll"; DestDir: "{app}"; Flags: ignoreversion
53+
Source: ".\ChannelRepacker\bin\Release\Splat.dll"; DestDir: "{app}"; Flags: ignoreversion
54+
Source: ".\ChannelRepacker\bin\Release\Splat.Drawing.dll"; DestDir: "{app}"; Flags: ignoreversion
55+
Source: ".\ChannelRepacker\bin\Release\System.Reactive.dll"; DestDir: "{app}"; Flags: ignoreversion
56+
Source: ".\ChannelRepacker\bin\Release\UToolKit.dll"; DestDir: "{app}"; Flags: ignoreversion
57+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
58+
59+
[Icons]
60+
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
61+
Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}"
62+
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
63+
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
64+
65+
[Run]
66+
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
67+

0 commit comments

Comments
 (0)