-
Notifications
You must be signed in to change notification settings - Fork 404
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add win32 installer config (#555)
- Loading branch information
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
; Script generated by the Inno Setup Script Wizard. | ||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! | ||
|
||
#define MyAppPublisher "Vember Audio" | ||
#define MyAppURL "http://www.vemberaudio.se" | ||
#define MyAppName "Surge" | ||
#define MyAppVersion GetEnv('SURGE_VERSION') | ||
#define MyID "650E559A-2F44-44FE-861F-4108AE4BC30F" | ||
|
||
#if MyAppVersion == "" | ||
#define MyAppVersion "0.0.0" | ||
#endif | ||
|
||
[Setup] | ||
; 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.) | ||
; ArchitecturesInstallIn64BitMode=Win32 | ||
; ArchitecturesAllowed=x86 | ||
AppId={#MyID} | ||
AppName="{#MyAppName} {#MyAppVersion}" | ||
AppVersion={#MyAppVersion} | ||
;AppVerName={#MyAppName} {#MyAppVersion} | ||
AppPublisher={#MyAppPublisher} | ||
AppPublisherURL={#MyAppURL} | ||
AppSupportURL={#MyAppURL} | ||
AppUpdatesURL={#MyAppURL} | ||
DefaultDirName={reg:HKLM\SOFTWARE\VST,VSTPluginsPath|{cf}\VST2} | ||
DefaultGroupName=Surge | ||
DisableProgramGroupPage=yes | ||
LicenseFile=..\LICENSE | ||
OutputBaseFilename="{#MyAppName}-{#MyAppVersion}-Setup-x86" | ||
SetupIconFile=surge.ico | ||
UsePreviousAppDir=no | ||
Compression=lzma | ||
SolidCompression=yes | ||
|
||
[Components] | ||
Name: Data; Description: Data files; Types: full compact custom; Flags: fixed | ||
Name: VST2; Description: VST2 Plug-in (32 bit); Types: full custom; Flags: checkablealone | ||
Name: VST3; Description: VST3 Plug-in (32 bit); Types: full compact custom; Flags: checkablealone | ||
|
||
[Files] | ||
Source: ..\target\vst2\Release\Surge32.dll; DestDir: {app}; Components: VST2; Flags: ignoreversion skipifsourcedoesntexist | ||
Source: ..\target\vst3\Release\Surge32.vst3; DestDir: {cf}\VST3; Components: VST3; Flags: ignoreversion | ||
Source: ..\resources\data\*; DestDir: {localappdata}\Surge; Components: Data; Flags: recursesubdirs; Excludes: "*.git"; | ||
|
||
[Languages] | ||
Name: "english"; MessagesFile: "compiler:Default.isl" | ||
|
||
[Icons] | ||
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" | ||
|