-
Notifications
You must be signed in to change notification settings - Fork 237
/
dexed.iss
51 lines (43 loc) · 1.49 KB
/
dexed.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
45
46
47
48
49
50
51
[Setup]
AppName=Dexed
AppVersion=0.9.7
DefaultDirName={commonpf64}\Dexed
DefaultGroupName=Dexed
Compression=lzma2
SolidCompression=yes
OutputDir=.\
OutputBaseFilename=DexedInstaller
LicenseFile=..\..\..\LICENSE
SetupLogging=yes
ArchitecturesInstallIn64BitMode=x64
AppPublisher=Digital Suburban
[Types]
Name: "full"; Description: "Full installation"
Name: "custom"; Description: "Custom installation"; Flags: iscustom
[Components]
Name: "app"; Description: "Standalone application (.exe)"; Types: full custom;
Name: "vst3_64"; Description: "64-bit VST3 Plugin"; Types: full custom;
Name: "clap"; Description: "64-bit CLAP Plugin"; Types: full custom;
[Files]
Source: "Dexed.exe"; DestDir: "{app}"; Components:app; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "Dexed.vst3"; DestDir: "{commoncf64}\VST3"; Components:vst3_64; Flags: ignoreversion
Source: "Dexed.clap"; DestDir: "{commoncf64}\CLAP"; Components:clap; Flags: ignoreversion
[Icons]
Name: "{group}\Dexed"; Filename: "{app}\Dexed.exe"
Name: "{group}\Un-install Dexed"; Filename: "{app}\unins000.exe"
[code]
var
OkToCopyLog : Boolean;
procedure CurStepChanged(CurStep: TSetupStep);
begin
if CurStep = ssDone then
OkToCopyLog := True;
end;
procedure DeinitializeSetup();
begin
if OkToCopyLog then
FileCopy (ExpandConstant ('{log}'), ExpandConstant ('{app}\InstallationLogFile.log'), FALSE);
RestartReplace (ExpandConstant ('{log}'), '');
end;
[UninstallDelete]
Type: files; Name: "{app}\InstallationLogFile.log"