From aa3437e98fe61cc6387a1a993d38431a517c554b Mon Sep 17 00:00:00 2001 From: localcc Date: Tue, 29 Jul 2025 18:03:57 +0200 Subject: [PATCH] Allow installing from an administrator user (#35202) Release Notes: - N/A --- crates/zed/resources/windows/zed.iss | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/crates/zed/resources/windows/zed.iss b/crates/zed/resources/windows/zed.iss index 9d104d1f15..51c1dd096e 100644 --- a/crates/zed/resources/windows/zed.iss +++ b/crates/zed/resources/windows/zed.iss @@ -1245,16 +1245,6 @@ Root: HKCU; Subkey: "Software\Classes\zed\DefaultIcon"; ValueType: "string"; Val Root: HKCU; Subkey: "Software\Classes\zed\shell\open\command"; ValueType: "string"; ValueData: """{app}\Zed.exe"" ""%1""" [Code] -function InitializeSetup(): Boolean; -begin - Result := True; - - if not WizardSilent() and IsAdmin() then begin - MsgBox('This User Installer is not meant to be run as an Administrator.', mbError, MB_OK); - Result := False; - end; -end; - function WizardNotSilent(): Boolean; begin Result := not WizardSilent();