From 057b88fe26ac99a6e2644aef359795fb584ff6dd Mon Sep 17 00:00:00 2001 From: Keith Zantow Date: Sat, 9 Feb 2019 10:40:41 -0500 Subject: [PATCH] feat: add win32 installer config (#555) --- installer_win/surge-x86.iss | 53 +++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 installer_win/surge-x86.iss diff --git a/installer_win/surge-x86.iss b/installer_win/surge-x86.iss new file mode 100644 index 00000000000..5747910cb19 --- /dev/null +++ b/installer_win/surge-x86.iss @@ -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}" +