-
Notifications
You must be signed in to change notification settings - Fork 0
/
Installer.iss
44 lines (36 loc) · 1.28 KB
/
Installer.iss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
; See Github: https://github.com/DomGries/InnoDependencyInstaller
#include "CodeDependencies.iss"
#define WinAudio_Name "WinAudio Player"
#define WinAudio_Exe WinAudio_Name + ".exe"
#define WinAudio_Version "0.07"
[Setup]
AppName=WinAudio Player
AppVersion={#WinAudio_Version}
DefaultDirName={autopf64}\{#WinAudio_Name}
DefaultGroupName={#WinAudio_Name}
WizardStyle=classic
ArchitecturesInstallIn64BitMode=x64
ArchitecturesAllowed=x64
AppPublisherURL=https://github.com/MarcoBellini/WinAudio-Player
LicenseFile=LICENSE.txt
SetupIconFile=Icons\mainIcon.ico
UninstallDisplayIcon={app}\{#WinAudio_Exe}
OutputBaseFilename={#WinAudio_Name}-{#WinAudio_Version}
OutputDir={#SourcePath}\Setup
MinVersion=10.0
[Files]
source:"x64\Release\{#WinAudio_Exe}"; DestDir: "{app}"; Check: Dependency_IsX64
source:"x64\Release\*.dll"; DestDir: "{app}"
Source:"x64\Release\Plugins\*.dll"; DestDir:"{app}\Plugins"
[Icons]
Name:"{autodesktop}\{#WinAudio_Name}"; Filename: "{app}\{#WinAudio_Exe}" ; Tasks: desktopicon
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"
[Run]
Filename: "{app}\{#WinAudio_Exe}"; Description: "{cm:LaunchProgram,{#WinAudio_Name}}"; Flags: nowait postinstall skipifsilent
[Code]
function InitializeSetup: Boolean;
begin
Dependency_AddVC2015To2022;
Result := True;
end;