diff --git a/services/premiere-plugin/build/installer.iss b/services/premiere-plugin/build/installer.iss index 5f83ad4..492575c 100644 --- a/services/premiere-plugin/build/installer.iss +++ b/services/premiere-plugin/build/installer.iss @@ -75,21 +75,5 @@ begin Result := DirExists(ExpandConstant('{userappdata}\Adobe\CEP\extensions\{#LegacyBundleId}')); end; -procedure CurStepChanged(CurStep: TSetupStep); -var - PremiereRunning: Boolean; -begin - if CurStep = ssInstall then begin - PremiereRunning := False; - // Heuristic — Premiere's main exe is Adobe Premiere Pro.exe. - // If it is running, files in {app} can still be replaced (CEP loads them - // on panel open, not on Premiere launch), but the user needs a Premiere - // restart before the new bundle is picked up. Just warn, don't block. - if Exec('cmd.exe', '/C tasklist /FI "IMAGENAME eq Adobe Premiere Pro.exe" | find /I "Adobe Premiere Pro.exe" >nul', '', SW_HIDE, ewWaitUntilTerminated, PremiereRunning) and PremiereRunning then begin - // exit code 0 from `find` means the process was found - end; - end; -end; - [Run] Filename: "{app}\README.md"; Description: "Open README"; Flags: shellexec postinstall skipifsilent unchecked