This is an automated email from the ASF dual-hosted git repository.

leginee pushed a commit to branch win7-floor-trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit adc56a221cbcdccda410a0215692c37e64e90023
Author: Peter <[email protected]>
AuthorDate: Wed Nov 4 22:58:32 2026 +0100

    instsetoo_native: refuse to install below Windows 7 SP1
    
    The office is now built for Windows 7 SP1 (WINVER/_WIN32_WINNT 0x0601, the
    VS2015+ runtime, Python 3.11), but the MSI would still install on Vista or
    Windows 7 RTM and leave an office that cannot start.  Add a launch condition
    so the installer stops with a clear message instead:
    
      (VersionNT > 601) or (VersionNT = 601 and ServicePackLevel >= 1) or 
Installed
    
    The "or Installed" keeps repair and removal of an existing installation
    working.  Office MSI only: the language pack, SDK and URE packages install
    next to an office and carry only the privilege check.  The new string
    OOO_LAUNCH_3 is en-US until translated.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 .../instsetoo_native/inc_openoffice/windows/msi_languages/LaunchCo.ulf | 2 ++
 .../instsetoo_native/inc_openoffice/windows/msi_templates/LaunchCo.idt | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/main/instsetoo_native/inc_openoffice/windows/msi_languages/LaunchCo.ulf 
b/main/instsetoo_native/inc_openoffice/windows/msi_languages/LaunchCo.ulf
index 7f443b1949..9ac0306ab3 100644
--- a/main/instsetoo_native/inc_openoffice/windows/msi_languages/LaunchCo.ulf
+++ b/main/instsetoo_native/inc_openoffice/windows/msi_languages/LaunchCo.ulf
@@ -23,3 +23,5 @@
 en-US = "The Installation Wizard cannot be run properly because you are logged 
in as a user without sufficient administrator rights for this system."
 [OOO_LAUNCH_2]
 en-US = "Please use the file setup.exe to start the installation."
+[OOO_LAUNCH_3]
+en-US = "[ProductName] requires Windows 7 Service Pack 1 or later."
diff --git 
a/main/instsetoo_native/inc_openoffice/windows/msi_templates/LaunchCo.idt 
b/main/instsetoo_native/inc_openoffice/windows/msi_templates/LaunchCo.idt
index 3fe0c20621..0ab3f179aa 100644
--- a/main/instsetoo_native/inc_openoffice/windows/msi_templates/LaunchCo.idt
+++ b/main/instsetoo_native/inc_openoffice/windows/msi_templates/LaunchCo.idt
@@ -2,4 +2,5 @@ Condition       Description
 s255   l255
 WINDOWSENCODINGTEMPLATE        LaunchCondition Condition
 Privileged     OOO_LAUNCH_1
-(VersionNT < 600) or (SETUP_USED=1) or Installed       OOO_LAUNCH_2 
\ No newline at end of file
+(VersionNT < 600) or (SETUP_USED=1) or Installed       OOO_LAUNCH_2 
+(VersionNT > 601) or (VersionNT = 601 and ServicePackLevel >= 1) or Installed  
OOO_LAUNCH_3
\ No newline at end of file

Reply via email to