From eb6015df05420ba7bab6eb9832cb7c71ba4ec8b5 Mon Sep 17 00:00:00 2001 From: tt2468 Date: Mon, 30 Aug 2021 02:51:35 -0700 Subject: [PATCH] Base: Remove generated installer file --- installer/installer-windows.generated.iss | 63 ----------------------- 1 file changed, 63 deletions(-) delete mode 100644 installer/installer-windows.generated.iss diff --git a/installer/installer-windows.generated.iss b/installer/installer-windows.generated.iss deleted file mode 100644 index c297bf0b..00000000 --- a/installer/installer-windows.generated.iss +++ /dev/null @@ -1,63 +0,0 @@ -#define MyAppName "obs-websocket" -#define MyAppVersion "5.0.0" -#define MyAppPublisher "Stephane Lepin" -#define MyAppURL "http://github.com/Palakis/obs-websocket" - -[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.) -AppId={{117EE44F-48E1-49E5-A381-CC8D9195CF35} -AppName={#MyAppName} -AppVersion={#MyAppVersion} -AppPublisher={#MyAppPublisher} -AppPublisherURL={#MyAppURL} -AppSupportURL={#MyAppURL} -AppUpdatesURL={#MyAppURL} -DefaultDirName={code:GetDirName} -DefaultGroupName={#MyAppName} -OutputBaseFilename=obs-websocket-{#MyAppVersion}-Windows-Installer -Compression=lzma -SolidCompression=yes -DirExistsWarning=no - -[Languages] -Name: "english"; MessagesFile: "compiler:Default.isl" - -[Files] -Source: "..\release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs -Source: "..\LICENSE"; Flags: dontcopy -; NOTE: Don't use "Flags: ignoreversion" on any shared system files - -[Icons] -Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}" -Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" - -[Code] -procedure InitializeWizard(); -var - GPLText: AnsiString; - Page: TOutputMsgMemoWizardPage; -begin - ExtractTemporaryFile('LICENSE'); - LoadStringFromFile(ExpandConstant('{tmp}\LICENSE'), GPLText); - Page := CreateOutputMsgMemoPage(wpWelcome, - 'License Information', 'Please review the license terms before installing obs-websocket', - 'Press Page Down to see the rest of the agreement. Once you are aware of your rights, click Next to continue.', - String(GPLText) - ); -end; - -// credit where it's due : -// following function come from https://github.com/Xaymar/obs-studio_amf-encoder-plugin/blob/master/%23Resources/Installer.in.iss#L45 -function GetDirName(Value: string): string; -var - InstallPath: string; -begin - // initialize default path, which will be returned when the following registry - // key queries fail due to missing keys or for some different reason - Result := '{pf}\obs-studio'; - // query the first registry value; if this succeeds, return the obtained value - if RegQueryStringValue(HKLM32, 'SOFTWARE\OBS Studio', '', InstallPath) then - Result := InstallPath -end;