solenv/bin/modules/installer/windows/msiglobal.pm |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 342ecfbd79e8b371f4ab8b3f58ec6c04b1a0c589
Author:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
AuthorDate: Mon Aug 18 14:04:33 2025 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Mon Aug 18 16:25:10 2025 +0200

    tdf#166947 properly fix windows installation sets for aarch64
    
    While https://learn.microsoft.com/en-us/windows/win32/msi/template-summary
    says that the value should be Arm64 for aarch64, the installsets created
    by the baseline fail to install/produce error 1620 on installation.
    The missing bit was that for that to work properly the msi summary
    information table must be at least schema version 500.
    
    That is mentioned here:
    
https://learn.microsoft.com/en-us/windows/win32/msi/using-64-bit-windows-installer-packages
    
    Thanks a lot to Mike Kaganski for that pointer
    
    Change-Id: I5fc84f877c6af98c78107ff99920def7053a3950
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189870
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/solenv/bin/modules/installer/windows/msiglobal.pm 
b/solenv/bin/modules/installer/windows/msiglobal.pm
index e6e77ea0dbd1..0c4327afe1e1 100644
--- a/solenv/bin/modules/installer/windows/msiglobal.pm
+++ b/solenv/bin/modules/installer/windows/msiglobal.pm
@@ -550,7 +550,9 @@ sub write_summary_into_msi_database
 
     my $msiinfo = "msiinfo.exe";    # Has to be in the path
 
-    my $msiversion = 200;
+    # schema version needs to be at least 500 to support 64bit packages on 
Arm64
+    # see 
https://learn.microsoft.com/en-us/windows/win32/msi/using-64-bit-windows-installer-packages
+    my $msiversion = 500;
     my $codepage = 0; # PID_CODEPAGE summary property in a signed short, 
therefore it is impossible to set 65001 here.
     my $template = get_template_for_sis($language, $allvariableshashref);
     my $guid = get_packagecode_for_sis();

Reply via email to