Skip to content

Commit

Permalink
Fine-tune inno setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwellmattryan committed Nov 16, 2024
1 parent 49dd126 commit fb412ae
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 34 deletions.
53 changes: 33 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,39 @@
# IDE cache folders
.vs/
.vscode/
.idea/

# MacOS-related
**/.DS_Store

# JUCE
juce/

# Binaries and executables
# ================
# Build outputs
# ================
# Directories
**/build
bin/
out/
**/build
**/dmg
**/*.dmg

project/Backup/
project/Samples/
project/Desktop.ini
# Binaries
**/*.vst3
**/*.component

# Packaging
packaging/dmg
packaging/Output
**/*.dmg
**/*.pkg
**/*.exe

**/cmake-build-debug
# CMake
**/cmake-build-*

# Google Cloud stuff
# ================
# Google Cloud
# ================
gha-creds-*.json

# ================
# IDEs
# ================
.vs/
.vscode/
.idea/

# ================
# OS
# ================
# MacOS
**/.DS_Store
32 changes: 18 additions & 14 deletions packaging/Rotor.iss
Original file line number Diff line number Diff line change
@@ -1,32 +1,36 @@
#define Version "1.0.0"
#define PluginName "Rotor"
#define Version "1.0.0"
#define Publisher "Black Box Audio"
#define Year GetDateTimeString("yyyy","","")

; Types are what get displayed during setup
[Types]
Name: "standard"; Description: "Standard installation"
Name: "custom"; Description: "Custom installation"; Flags: iscustom

; Components are used inside the script and can be composed of a set of Types
[Components]
name: "vst3"; Description: "VST3 Plugin (.vst3)"; Types: standard custom

[Setup]
AppName={#PluginName}
AppVersion={#Version}
AppPublisher={#Publisher}
AppCopyright=Copyright (C) {#Year} {#Publisher}
AppCopyright=Copyright (C) {#Year} {#Publisher}, LLC
ArchitecturesAllowed=x64compatible
ArchitecturesInstallIn64BitMode=x64compatible
DefaultDirName="{commoncf64}\VST3\{#PluginName}.vst3"
Compression=lzma2
DefaultDirName="{commoncf64}\VST3\{#Publisher}"
DisableDirPage=yes
OutputBaseFilename={#PluginName}-{#Version}-Windows
OutputBaseFilename={#PluginName} {#Version} Installer
SetupLogging=yes
SolidCompression=yes
Uninstallable=no
UsePreviousAppDir=no

; READ THE FOLLOWING!
LicenseFile="EULA"

; Types are what get displayed during setup
[Types]
Name: "standard"; Description: "Standard installation"
Name: "custom"; Description: "Custom installation"; Flags: iscustom

; Components are used inside the script and can be composed of a set of Types
[Components]
name: "vst3"; Description: "VST3 Plugin (.vst3)"; Types: standard custom; Check: Is64BitInstallMode;

; MSVC adds an .ilk file when building; it should be excluded
[Files]
Source: "..\{#PluginName}.vst3"; DestDir: "{commoncf64}\VST3\{#PluginName}.vst3"; Components: vst3
Source: "..\{#PluginName}.vst3"; DestDir: "{commoncf64}\VST3\{#Publisher}\"; Check: Is64BitInstallMode; Components: vst3; Flags: ignoreversion;

0 comments on commit fb412ae

Please sign in to comment.