From 48b5bb8a867a9ee903818043974a75fb637af8ef Mon Sep 17 00:00:00 2001 From: Devin Binnie <52460000+devinbinnie@users.noreply.github.com> Date: Fri, 6 Dec 2024 12:04:22 -0500 Subject: [PATCH] [MM-60416] Check for the presence of the EXE uninstaller before trying to run it (#3238) Co-authored-by: Devin Binnie --- patches/app-builder-lib+24.13.3.patch | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/patches/app-builder-lib+24.13.3.patch b/patches/app-builder-lib+24.13.3.patch index c3557799..8ee87a12 100644 --- a/patches/app-builder-lib+24.13.3.patch +++ b/patches/app-builder-lib+24.13.3.patch @@ -1,5 +1,5 @@ diff --git a/node_modules/app-builder-lib/templates/msi/template.xml b/node_modules/app-builder-lib/templates/msi/template.xml -index 2d5cd3c..172339e 100644 +index 2d5cd3c..3c2d128 100644 --- a/node_modules/app-builder-lib/templates/msi/template.xml +++ b/node_modules/app-builder-lib/templates/msi/template.xml @@ -1,5 +1,8 @@ @@ -23,7 +23,18 @@ index 2d5cd3c..172339e 100644 -@@ -26,6 +33,27 @@ +@@ -20,12 +27,38 @@ + + + ++ ++ ++ ++ ++ + + {{ if (iconPath) { }} + {{ } -}} @@ -45,13 +56,13 @@ index 2d5cd3c..172339e 100644 + + + -+ ++ EXEINSTALLEREXISTS + + {{ if (isRunAfterFinish) { }} {{ if (!isAssisted) { }} -@@ -42,6 +70,7 @@ +@@ -42,6 +75,7 @@ {{ } -}} @@ -59,7 +70,7 @@ index 2d5cd3c..172339e 100644 {{ if (isAssisted) { }} -@@ -80,6 +109,7 @@ +@@ -80,6 +114,7 @@ {{ } -}} @@ -67,7 +78,7 @@ index 2d5cd3c..172339e 100644 {{ if (menuCategory) { }} -@@ -110,6 +140,10 @@ +@@ -110,6 +145,10 @@ {{-dirs}}