Skip to content

Instantly share code, notes, and snippets.

@rlaphoenix
Created October 6, 2021 17:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rlaphoenix/1dfdafcb4e1070e4a65045d8cf269bf5 to your computer and use it in GitHub Desktop.
Save rlaphoenix/1dfdafcb4e1070e4a65045d8cf269bf5 to your computer and use it in GitHub Desktop.
VapourSynth Editor Inno Setup Script
; https://jrsoftware.org/ishelp/index.php
#define AppName "VapourSynth Editor"
#define ExeName "vsedit"
#define Version "r19"
[Setup]
AppId={#AppName}
AppName={#AppName}
AppPublisher=mystery_keeper
AppPublisherURL=https://bitbucket.org/mystery_keeper/vapoursynth-editor
AppReadmeFile=https://bitbucket.org/mystery_keeper/vapoursynth-editor/src/master/README
AppSupportURL=https://bitbucket.org/mystery_keeper/vapoursynth-editor/issues
AppUpdatesURL=https://bitbucket.org/mystery_keeper/vapoursynth-editor/src/master/CHANGELOG
AppVerName={#AppName} {#Version}
AppVersion={#Version}
Compression=lzma2/max
DefaultDirName={autopf}\{#AppName}
LicenseFile=LICENSE
; Support disabled for <= Windows 7/Server 2008 R2 SP1. No documented reason, assumed.
MinVersion=6.2
OutputBaseFilename={#AppName}-{#Version}-setup
OutputDir=dist
OutputManifestFile={#AppName}-{#Version}-setup-manifest.txt
PrivilegesRequiredOverridesAllowed=dialog commandline
SetupIconFile={#ExeName}.ico
SolidCompression=yes
VersionInfoVersion=1.0.0
WizardStyle=modern
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: *; DestDir: {app}; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{autoprograms}\{#AppName}"; Filename: "{app}\{#ExeName}.exe"
Name: "{autodesktop}\{#AppName}"; Filename: "{app}\{#ExeName}.exe"; Tasks: desktopicon
[Run]
Filename: "{app}\{#ExeName}.exe"; Description: "{cm:LaunchProgram,{#StringChange(AppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
@rlaphoenix
Copy link
Author

rlaphoenix commented Oct 6, 2021

This script assumes you run it from within a release build/dist directory, not from the project root. There shouldn't be any reason this cannot work with any fork of the project just make sure you look at all the values and fields and update as necessary.

VapourSynth Editor-r19-setup.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment