Skip to content

Commit

Permalink
[MM-62029] Require MSIINSTALLPERUSER for auto update to work (#3239)
Browse files Browse the repository at this point in the history
Co-authored-by: Devin Binnie <[email protected]>
  • Loading branch information
devinbinnie and Wipeout55 committed Dec 9, 2024
1 parent b138e6c commit 38f148e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/app-builder-lib+24.13.3.patch
Original file line number Diff line number Diff line change
@@ -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..0ce1b74 100644
index 2d5cd3c..172339e 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 @@
Expand Down Expand Up @@ -72,7 +72,7 @@ index 2d5cd3c..0ce1b74 100644

<ComponentGroup Id="ProductComponents" Directory="APPLICATIONFOLDER">
+ <Component Directory="resourcesDir">
+ <Condition>(NOT ALLUSERS = 1) AND DISABLEAUTOUPDATE = 0</Condition>
+ <Condition>(NOT ALLUSERS = 1) AND MSIINSTALLPERUSER = 1 AND DISABLEAUTOUPDATE = 0</Condition>
+ <File Name="app-update.yml" Source="$(var.appDir)\..\msi-app-update.yml" ReadOnly="yes" KeyPath="yes"/>
+ </Component>
{{-files}}
Expand Down

0 comments on commit 38f148e

Please sign in to comment.