sfizz/scripts/innosetup.iss.in
2020-02-28 18:24:10 +01:00

57 lines
2.1 KiB
Text

#define MyAppName "sfizz-lv2"
#define MyAppVersion "@PROJECT_VERSION@"
#define MyAppPublisher "sfizz Team"
#define MyAppURL "https://sfztools.github.io/sfizz/"
#ifndef Arch
#define Arch "x64"
#endif
[Setup]
AlwaysShowDirOnReadyPage=yes
; 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={{55FB694B-774A-4BB8-B08C-F6C015821ECC}
AppName={#MyAppName}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
;AppVerName={#MyAppName} {#MyAppVersion}
AppVersion={#MyAppVersion}
#if Arch=="x64"
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode={#Arch}
#endif
Compression=lzma
SolidCompression=yes
DefaultDirName={commoncf}\LV2
DefaultGroupName={#MyAppPublisher}
DisableDirPage=yes
LicenseFile="sfizz.lv2\LICENSE.md"
OutputBaseFileName={#MyAppName}-{#MyAppVersion}-{#Arch}-msvc-setup
OutputDir=.
UninstallFilesDir={commonpf}\{#MyAppName}
WizardImageFile="C:\Program Files (x86)\Inno Setup 6\WizModernImage-IS.bmp"
WizardSmallImageFile="C:\Program Files (x86)\Inno Setup 6\WizModernSmallImage-IS.bmp"
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Files]
Source: "sfizz.lv2\sfizz.dll"; DestDir: {commoncf}\LV2\sfizz.lv2; Flags: ignoreversion
Source: "sfizz.lv2\manifest.ttl"; DestDir: {commoncf}\LV2\sfizz.lv2
Source: "sfizz.lv2\sfizz.ttl"; DestDir: {commoncf}\LV2\sfizz.lv2
Source: "sfizz.lv2\lgpl-3.0.txt"; DestDir: {commonpf}\{#MyAppName}
Source: "sfizz.lv2\LICENSE.md"; DestDir: {commonpf}\{#MyAppName}
;Source: "setup\vc_redist.x64.exe"; DestDir: {tmp}; Flags: deleteafterinstall
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
;[Run]
;Filename: {tmp}\vc_redist.x64.exe; \
Parameters: "/install /passive /norestart"; \
StatusMsg: "Installing Microsoft Visual C++ 2015-2019 Redistributable (x64)..."
;Filename: {app}\{#MyAppExeName}; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent