From nobody Sun Feb 8 16:42:47 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+55902+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55902+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1584379987; cv=none; d=zohomail.com; s=zohoarc; b=foMMWenKvMLYrUw02Zgk5FdkVwpXvZKms1uWwBWoHewOfI3LluyIvf3I3XjqBnAGXx7ZV1qjLuO92uEm8FB4A/gt+MfzkPhYao+lpfSnE91EpZ/Te/4wmowc39JPQOdguZDSbSOCart1V5MyG0Wecz8iHuOQ9T35AlJy/4XyAZE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1584379987; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=EfUhkYM6wInq8Pgy/92FKBPlOYPDBa1sZLpOccKPuPo=; b=h+mNidTTUCemSM5/W+V0c6kyudQKHkwe4y1196wKcVg1h5faEIoKna2daiqIXFP7ih1/MVZnv3BOZiumgvkZ1I4B+FeNb5IExa6wLlPde/sSDXW5smwefbEqQRClhUce2TsYHrMvRlVMGOqkfRt9jt2rG6ydVY8/7wj813lk+5o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55902+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1584379987038977.4697386101344; Mon, 16 Mar 2020 10:33:07 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 8iB7YY1788612xnS0Lv0ARue; Mon, 16 Mar 2020 10:33:06 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web11.74233.1584379978542701702 for ; Mon, 16 Mar 2020 10:33:06 -0700 IronPort-SDR: L/r9QyZa4u0rI5pscM53PdnegdirX9jxNP3FyfcA9ACO27AkXWKAmgLWwMGx8R0lGmIQO+CpEN GNcVUrEHJ83Q== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2020 10:33:06 -0700 IronPort-SDR: 84h3x2QfO8J1gfA6ru00wdIiOL9ODeiBpOs1z5POdlRWtqVokdv+b6e/50pL33qCXuxcRQt0MY +UKvgGlSnPeA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,561,1574150400"; d="scan'208";a="417229418" X-Received: from nldesimo-desk1.amr.corp.intel.com ([10.7.159.63]) by orsmga005.jf.intel.com with ESMTP; 16 Mar 2020 10:33:06 -0700 From: "Nate DeSimone" To: devel@edk2.groups.io Cc: Ashley DeSimone , Puja Pandya , Erik Bjorge , Bret Barkelew Subject: [edk2-devel] [edk2-staging/EdkRepo] [PATCH] EdkRepo: Use /S switch to pass command args in installer Date: Mon, 16 Mar 2020 10:32:48 -0700 Message-Id: <20200316173248.1678-3-nathaniel.l.desimone@intel.com> In-Reply-To: <20200316173248.1678-1-nathaniel.l.desimone@intel.com> References: <20200316173248.1678-1-nathaniel.l.desimone@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,nathaniel.l.desimone@intel.com X-Gm-Message-State: j3MAI5ctUHXhiJQb4JTB0kcQx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1584379986; bh=dYMFF9qMtNLcdWjBG/cg2jkj0wX80bxP2dXN6WH1QV4=; h=Cc:Date:From:Reply-To:Subject:To; b=a59qDDc6jfslXnwjZP66E/pHuWmnRJ7NcFR6XVBDj4SlTeiX7Twrv5MebMOzR7za55N HmjrWiIOFZwl/vDbasuzOQynK7WvLxAjkYXTt6aXR9fkTM6cYuG6DndgGcoZkczfDEwBW hdVln6UX3CtQfA2VBTfcZTj1ceYQtpmaTP4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Cc: Ashley DeSimone Cc: Puja Pandya Cc: Erik Bjorge Cc: Bret Barkelew Signed-off-by: Nate DeSimone Reviewed-by: Ashley DeSimone --- edkrepo_installer/EdkRepoInstaller/App.xaml.cs | 4 ++-- edkrepo_installer/EdkRepoInstaller/InstallWorker.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/edkrepo_installer/EdkRepoInstaller/App.xaml.cs b/edkrepo_insta= ller/EdkRepoInstaller/App.xaml.cs index 58186c9..5d23624 100644 --- a/edkrepo_installer/EdkRepoInstaller/App.xaml.cs +++ b/edkrepo_installer/EdkRepoInstaller/App.xaml.cs @@ -185,7 +185,7 @@ namespace TianoCore.EdkRepoInstaller { InstallLogger.Log(string.Format("{0} is a third party = version of {1}. {0} is already installed.", DisplayName, ProductName)); InstallLogger.Log(string.Format("To install this versi= on of {1}, {0} must be uninstalled first.", DisplayName, ProductName)); - SilentProcess p =3D SilentProcess.StartConsoleProcessS= ilently("cmd.exe", string.Format("/c \"{0}\"", UninstallString)); + SilentProcess p =3D SilentProcess.StartConsoleProcessS= ilently("cmd.exe", string.Format("/S /C \"{0}\"", UninstallString)); p.WaitForExit(); Thread.Sleep(4000); } @@ -200,7 +200,7 @@ namespace TianoCore.EdkRepoInstaller ); if (Uninstall =3D=3D MessageBoxResult.Yes) { - SilentProcess p =3D SilentProcess.StartConsoleProc= essSilently("cmd.exe", string.Format("/c \"{0}\"", UninstallString)); + SilentProcess p =3D SilentProcess.StartConsoleProc= essSilently("cmd.exe", string.Format("/S /C \"{0}\"", UninstallString)); p.WaitForExit(); Thread.Sleep(1000); } diff --git a/edkrepo_installer/EdkRepoInstaller/InstallWorker.cs b/edkrepo_= installer/EdkRepoInstaller/InstallWorker.cs index 5a358f9..c37189b 100644 --- a/edkrepo_installer/EdkRepoInstaller/InstallWorker.cs +++ b/edkrepo_installer/EdkRepoInstaller/InstallWorker.cs @@ -672,7 +672,7 @@ namespace TianoCore.EdkRepoInstaller { InstallLogger.Log(string.Format("Uninstalling = {0}...", UninstallerPath)); string UninstallString =3D string.Format("\"{0= }\" /Uninstall /Passive", UninstallerPath); - SilentProcess p =3D SilentProcess.StartConsole= ProcessSilently("cmd.exe", string.Format("/c \"{0}\"", UninstallString)); + SilentProcess p =3D SilentProcess.StartConsole= ProcessSilently("cmd.exe", string.Format("/S /C \"{0}\"", UninstallString)); p.WaitForExit(); Thread.Sleep(4000); } --=20 2.24.0.windows.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#55902): https://edk2.groups.io/g/devel/message/55902 Mute This Topic: https://groups.io/mt/72004234/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-