summaryrefslogtreecommitdiffstats
path: root/instsetoo_native/inc_openoffice/windows/msi_templates
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2015-04-09 19:17:52 +0200
committerAndras Timar <andras.timar@collabora.com>2015-04-10 07:10:06 +0000
commitd96d76480257cc9cfd5c6dfa8eba6847d5fdafc4 (patch)
tree0eb49f613c9718c8c17477787c1021151b6ab7d6 /instsetoo_native/inc_openoffice/windows/msi_templates
parentDocxAttributeOutput::m_postponedDiagram: use std::unique_ptr<> (diff)
downloadcore-d96d76480257cc9cfd5c6dfa8eba6847d5fdafc4.tar.gz
core-d96d76480257cc9cfd5c6dfa8eba6847d5fdafc4.zip
Don't try to install LibreOffice on XP, if it was built with SDK 8.x or higher
Change-Id: I79a357a51a3d98774745001d5f99b045ef964255 Reviewed-on: https://gerrit.libreoffice.org/15218 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'instsetoo_native/inc_openoffice/windows/msi_templates')
-rw-r--r--instsetoo_native/inc_openoffice/windows/msi_templates/CustomAc.idt2
-rw-r--r--instsetoo_native/inc_openoffice/windows/msi_templates/InstallE.idt2
-rw-r--r--instsetoo_native/inc_openoffice/windows/msi_templates/InstallU.idt2
-rw-r--r--instsetoo_native/inc_openoffice/windows/msi_templates/Property.idt2
4 files changed, 5 insertions, 3 deletions
diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/CustomAc.idt b/instsetoo_native/inc_openoffice/windows/msi_templates/CustomAc.idt
index 937270577002..602c683b85d6 100644
--- a/instsetoo_native/inc_openoffice/windows/msi_templates/CustomAc.idt
+++ b/instsetoo_native/inc_openoffice/windows/msi_templates/CustomAc.idt
@@ -8,7 +8,7 @@ SetARPInstallLocation 51 ARPINSTALLLOCATION [INSTALLLOCATION]
SetARPNoRemove 51 ARPNOREMOVE 1
NewProductFound 19 OOO_CUSTOMACTION_1
SameProductFound 19 OOO_CUSTOMACTION_2
-WrongWindowsVersion 19 OOO_CUSTOMACTION_4
+WrongWindowsVersion 19 OOO_CUSTOMACTION_5
SetLanguageSelected 51 LANG_SELECTED 1
ResetLanguageSelected 51 LANG_SELECTED 0
SetApplicationSelected 51 APP_SELECTED 1
diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/InstallE.idt b/instsetoo_native/inc_openoffice/windows/msi_templates/InstallE.idt
index 6dd5ede6d88c..680961b4f744 100644
--- a/instsetoo_native/inc_openoffice/windows/msi_templates/InstallE.idt
+++ b/instsetoo_native/inc_openoffice/windows/msi_templates/InstallE.idt
@@ -71,4 +71,4 @@ ValidateProductID 300
WriteEnvironmentStrings 2500
WriteIniValues 2450
WriteRegistryValues 2400
-WrongWindowsVersion VersionNT < 501 10
+WrongWindowsVersion VersionNT < WindowsMinVersionNumber 10
diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/InstallU.idt b/instsetoo_native/inc_openoffice/windows/msi_templates/InstallU.idt
index c19c5b22f910..24642ecaeb74 100644
--- a/instsetoo_native/inc_openoffice/windows/msi_templates/InstallU.idt
+++ b/instsetoo_native/inc_openoffice/windows/msi_templates/InstallU.idt
@@ -28,4 +28,4 @@ SetupProgress 800
SetupResume Installed And (RESUME Or Preselected) And Not PATCH 700
setUserProfile 510
ValidateProductID 350
-WrongWindowsVersion VersionNT < 501 10
+WrongWindowsVersion VersionNT < WindowsMinVersionNumber 10
diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/Property.idt b/instsetoo_native/inc_openoffice/windows/msi_templates/Property.idt
index 99238570760e..b771f8bc706e 100644
--- a/instsetoo_native/inc_openoffice/windows/msi_templates/Property.idt
+++ b/instsetoo_native/inc_openoffice/windows/msi_templates/Property.idt
@@ -60,3 +60,5 @@ STR_MS_POWERPOINT_SHOW OOO_STR_MS_POWERPOINT_SHOW
STR_INSTALLATION_WIZARD OOO_STR_INSTALLATION_WIZARD
UpgradeCode UPGRADECODETEMPLATE
VC_REDIST 1
+WindowsMinVersionText WINDOWSMINVERSIONTEXTTEMPLATE
+WindowsMinVersionNumber WINDOWSMINVERSIONNUMBERTEMPLATE