Skip to content

Commit cf8931d

Browse files
committed
simplified installer, will add more targets at anothertime
1 parent 10f3dd3 commit cf8931d

File tree

1 file changed

+20
-56
lines changed

1 file changed

+20
-56
lines changed

installer/waveProcessor.iss

Lines changed: 20 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,28 @@ SelectDirLabel3=The standalone application and supporting files will be installe
3131
SelectDirBrowseLabel=To continue, click Next. If you would like to select a different folder (not recommended), click Browse.
3232

3333
[Components]
34-
Name: "app"; Description: "Standalone application (.exe)"; Types: full custom;
35-
Name: "vst2_32"; Description: "32-bit VST2 Plugin (.dll)"; Types: full custom;
36-
Name: "vst2_64"; Description: "64-bit VST2 Plugin (.dll)"; Types: full custom; Check: Is64BitInstallMode;
34+
;Name: "app"; Description: "Standalone application (.exe)"; Types: full custom;
35+
;Name: "vst2_32"; Description: "32-bit VST2 Plugin (.dll)"; Types: full custom;
36+
;Name: "vst2_64"; Description: "64-bit VST2 Plugin (.dll)"; Types: full custom; Check: Is64BitInstallMode;
3737
Name: "vst3_32"; Description: "32-bit VST3 Plugin (.vst3)"; Types: full custom;
3838
Name: "vst3_64"; Description: "64-bit VST3 Plugin (.vst3)"; Types: full custom; Check: Is64BitInstallMode;
3939
;Name: "aax_32"; Description: "32-bit AAX Plugin (.aaxplugin)"; Types: full custom;
40-
Name: "aax_64"; Description: "64-bit AAX Plugin (.aaxplugin)"; Types: full custom; Check: Is64BitInstallMode;
40+
;Name: "aax_64"; Description: "64-bit AAX Plugin (.aaxplugin)"; Types: full custom; Check: Is64BitInstallMode;
4141
Name: "manual"; Description: "User guide"; Types: full custom; Flags: fixed
4242

4343
[Dirs]
4444
;Name: "{cf32}\Avid\Audio\Plug-Ins\waveProcessor.aaxplugin\"; Attribs: readonly; Components:aax_32;
45-
Name: "{cf64}\Avid\Audio\Plug-Ins\waveProcessor.aaxplugin\"; Attribs: readonly; Check: Is64BitInstallMode; Components:aax_64;
45+
;Name: "{cf64}\Avid\Audio\Plug-Ins\waveProcessor.aaxplugin\"; Attribs: readonly; Check: Is64BitInstallMode; Components:aax_64;
4646
Name: "{cf32}\VST3\waveProcessor.vst3\"; Attribs: readonly; Components:vst3_32;
4747
Name: "{cf64}\VST3\waveProcessor.vst3\"; Attribs: readonly; Check: Is64BitInstallMode; Components:vst3_64;
4848

4949
[Files]
50-
Source: "..\build-win\waveProcessor_Win32.exe"; DestDir: "{app}"; Check: not Is64BitInstallMode; Components:app; Flags: ignoreversion;
51-
Source: "..\build-win\waveProcessor_x64.exe"; DestDir: "{app}"; Check: Is64BitInstallMode; Components:app; Flags: ignoreversion;
50+
;Source: "..\build-win\waveProcessor_Win32.exe"; DestDir: "{app}"; Check: not Is64BitInstallMode; Components:app; Flags: ignoreversion;
51+
;Source: "..\build-win\waveProcessor_x64.exe"; DestDir: "{app}"; Check: Is64BitInstallMode; Components:app; Flags: ignoreversion;
5252

53-
Source: "..\build-win\waveProcessor_Win32.dll"; DestDir: {code:GetVST2Dir_32}; Check: not Is64BitInstallMode; Components:vst2_32; Flags: ignoreversion;
54-
Source: "..\build-win\waveProcessor_Win32.dll"; DestDir: {code:GetVST2Dir_32}; Check: Is64BitInstallMode; Components:vst2_32; Flags: ignoreversion;
55-
Source: "..\build-win\waveProcessor_x64.dll"; DestDir: {code:GetVST2Dir_64}; Check: Is64BitInstallMode; Components:vst2_64; Flags: ignoreversion;
53+
;Source: "..\build-win\waveProcessor_Win32.dll"; DestDir: {code:GetVST2Dir_32}; Check: not Is64BitInstallMode; Components:vst2_32; Flags: ignoreversion;
54+
;Source: "..\build-win\waveProcessor_Win32.dll"; DestDir: {code:GetVST2Dir_32}; Check: Is64BitInstallMode; Components:vst2_32; Flags: ignoreversion;
55+
;Source: "..\build-win\waveProcessor_x64.dll"; DestDir: {code:GetVST2Dir_64}; Check: Is64BitInstallMode; Components:vst2_64; Flags: ignoreversion;
5656

5757
Source: "..\build-win\waveProcessor.vst3\*.*"; Excludes: "\Contents\x86_64\*,*.pdb,*.exp,*.lib,*.ilk,*.ico,*.ini"; DestDir: "{cf32}\VST3\waveProcessor.vst3\"; Components:vst3_32; Flags: ignoreversion recursesubdirs;
5858
Source: "..\build-win\waveProcessor.vst3\Desktop.ini"; DestDir: "{cf32}\VST3\waveProcessor.vst3\"; Components:vst3_32; Flags: overwritereadonly ignoreversion; Attribs: hidden system;
@@ -66,62 +66,26 @@ Source: "..\build-win\waveProcessor.vst3\PlugIn.ico"; DestDir: "{cf64}\VST3\wave
6666
; Source: "..\build-win\aax\bin\waveProcessor.aaxplugin\Desktop.ini"; DestDir: "{cf32}\Avid\Audio\Plug-Ins\waveProcessor.aaxplugin\"; Components:aax_32; Flags: overwritereadonly ignoreversion; Attribs: hidden system;
6767
; Source: "..\build-win\aax\bin\waveProcessor.aaxplugin\PlugIn.ico"; DestDir: "{cf32}\Avid\Audio\Plug-Ins\waveProcessor.aaxplugin\"; Components:aax_32; Flags: overwritereadonly ignoreversion; Attribs: hidden system;
6868

69-
Source: "..\build-win\waveProcessor.aaxplugin\*.*"; Excludes: "\Contents\Win32\*,*.pdb,*.exp,*.lib,*.ilk,*.ico,*.ini"; DestDir: "{cf64}\Avid\Audio\Plug-Ins\waveProcessor.aaxplugin\"; Check: Is64BitInstallMode; Components:aax_64; Flags: ignoreversion recursesubdirs;
70-
Source: "..\build-win\waveProcessor.aaxplugin\Desktop.ini"; DestDir: "{cf64}\Avid\Audio\Plug-Ins\waveProcessor.aaxplugin\"; Check: Is64BitInstallMode; Components:aax_64; Flags: overwritereadonly ignoreversion; Attribs: hidden system;
71-
Source: "..\build-win\waveProcessor.aaxplugin\PlugIn.ico"; DestDir: "{cf64}\Avid\Audio\Plug-Ins\waveProcessor.aaxplugin\"; Check: Is64BitInstallMode; Components:aax_64; Flags: overwritereadonly ignoreversion; Attribs: hidden system;
69+
;Source: "..\build-win\waveProcessor.aaxplugin\*.*"; Excludes: "\Contents\Win32\*,*.pdb,*.exp,*.lib,*.ilk,*.ico,*.ini"; DestDir: "{cf64}\Avid\Audio\Plug-Ins\waveProcessor.aaxplugin\"; Check: Is64BitInstallMode; Components:aax_64; Flags: ignoreversion recursesubdirs;
70+
;Source: "..\build-win\waveProcessor.aaxplugin\Desktop.ini"; DestDir: "{cf64}\Avid\Audio\Plug-Ins\waveProcessor.aaxplugin\"; Check: Is64BitInstallMode; Components:aax_64; Flags: overwritereadonly ignoreversion; Attribs: hidden system;
71+
;Source: "..\build-win\waveProcessor.aaxplugin\PlugIn.ico"; DestDir: "{cf64}\Avid\Audio\Plug-Ins\waveProcessor.aaxplugin\"; Check: Is64BitInstallMode; Components:aax_64; Flags: overwritereadonly ignoreversion; Attribs: hidden system;
7272

73-
Source: "..\manual\waveProcessor manual.pdf"; DestDir: "{app}"
74-
Source: "changelog.txt"; DestDir: "{app}"
75-
Source: "readme-win.rtf"; DestDir: "{app}"; DestName: "readme.rtf"; Flags: isreadme
73+
;Source: "..\manual\waveProcessor manual.pdf"; DestDir: "{app}"
74+
;Source: "changelog.txt"; DestDir: "{app}"
75+
;Source: "readme-win.rtf"; DestDir: "{app}"; DestName: "readme.rtf"; Flags: isreadme
7676

7777
[Icons]
78-
Name: "{group}\waveProcessor"; Filename: "{app}\waveProcessor.exe"
79-
Name: "{group}\User guide"; Filename: "{app}\waveProcessor manual.pdf"
80-
Name: "{group}\Changelog"; Filename: "{app}\changelog.txt"
78+
;Name: "{group}\waveProcessor"; Filename: "{app}\waveProcessor.exe"
79+
;Name: "{group}\User guide"; Filename: "{app}\waveProcessor manual.pdf"
80+
;Name: "{group}\Changelog"; Filename: "{app}\changelog.txt"
8181
;Name: "{group}\readme"; Filename: "{app}\readme.rtf"
82-
Name: "{group}\Uninstall waveProcessor"; Filename: "{app}\unins000.exe"
82+
;Name: "{group}\Uninstall waveProcessor"; Filename: "{app}\unins000.exe"
8383

8484
[Code]
8585
var
8686
OkToCopyLog : Boolean;
87-
VST2DirPage_32: TInputDirWizardPage;
88-
VST2DirPage_64: TInputDirWizardPage;
8987
90-
procedure InitializeWizard;
91-
begin
92-
if IsWin64 then begin
93-
VST2DirPage_64 := CreateInputDirPage(wpSelectDir,
94-
'Confirm 64-Bit VST2 Plugin Directory', '',
95-
'Select the folder in which setup should install the 64-bit VST2 Plugin, then click Next.',
96-
False, '');
97-
VST2DirPage_64.Add('');
98-
VST2DirPage_64.Values[0] := ExpandConstant('{reg:HKLM\SOFTWARE\VST,VSTPluginsPath|{pf}\Steinberg\VSTPlugins}\');
99-
100-
VST2DirPage_32 := CreateInputDirPage(wpSelectDir,
101-
'Confirm 32-Bit VST2 Plugin Directory', '',
102-
'Select the folder in which setup should install the 32-bit VST2 Plugin, then click Next.',
103-
False, '');
104-
VST2DirPage_32.Add('');
105-
VST2DirPage_32.Values[0] := ExpandConstant('{reg:HKLM\SOFTWARE\WOW6432NODE\VST,VSTPluginsPath|{pf32}\Steinberg\VSTPlugins}\');
106-
end else begin
107-
VST2DirPage_32 := CreateInputDirPage(wpSelectDir,
108-
'Confirm 32-Bit VST2 Plugin Directory', '',
109-
'Select the folder in which setup should install the 32-bit VST2 Plugin, then click Next.',
110-
False, '');
111-
VST2DirPage_32.Add('');
112-
VST2DirPage_32.Values[0] := ExpandConstant('{reg:HKLM\SOFTWARE\VST,VSTPluginsPath|{pf}\Steinberg\VSTPlugins}\');
113-
end;
114-
end;
11588
116-
function GetVST2Dir_32(Param: String): String;
117-
begin
118-
Result := VST2DirPage_32.Values[0]
119-
end;
120-
121-
function GetVST2Dir_64(Param: String): String;
122-
begin
123-
Result := VST2DirPage_64.Values[0]
124-
end;
12589
12690
procedure CurStepChanged(CurStep: TSetupStep);
12791
begin

0 commit comments

Comments
 (0)