diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2017-12-14 08:37:45 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-03-19 18:57:20 +0100 |
commit | dd43ea20eedf3dfbc516065d9dc23c8dab8938a9 (patch) | |
tree | 182e2460571036d994e4aebe67bc373b12941d40 /instsetoo_native/inc_openoffice/windows/msi_templates | |
parent | no section break after split paragraph (diff) | |
download | core-dd43ea20eedf3dfbc516065d9dc23c8dab8938a9.tar.gz core-dd43ea20eedf3dfbc516065d9dc23c8dab8938a9.zip |
MSI cleanup: remove redundant conditions
VersionNT is now always greated than 600 (only needs checking in version
checking action). ISSETUPDRIVEN and ISSCHEDULEREBOOT are specific to
InstallShield and aren't relevant to LibreOffice installer.
Change-Id: I6cb769c863e09f1568ae895a6cfbb0e5940c2486
Reviewed-on: https://gerrit.libreoffice.org/46434
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
(cherry picked from commit cfbc934609aaa303d03fd73b58bde1370ea312dc)
Diffstat (limited to 'instsetoo_native/inc_openoffice/windows/msi_templates')
5 files changed, 8 insertions, 13 deletions
diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/AdminExe.idt b/instsetoo_native/inc_openoffice/windows/msi_templates/AdminExe.idt index 2377f5c5661f..7959472331a0 100644 --- a/instsetoo_native/inc_openoffice/windows/msi_templates/AdminExe.idt +++ b/instsetoo_native/inc_openoffice/windows/msi_templates/AdminExe.idt @@ -10,5 +10,4 @@ InstallFiles 350 InstallFinalize 400 InstallInitialize 250 InstallValidate 200 -ScheduleReboot ISSCHEDULEREBOOT 375 SetAdminInstallProperty 248 diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/AdvtExec.idt b/instsetoo_native/inc_openoffice/windows/msi_templates/AdvtExec.idt index 32b74d61a9f5..132df0855f18 100644 --- a/instsetoo_native/inc_openoffice/windows/msi_templates/AdvtExec.idt +++ b/instsetoo_native/inc_openoffice/windows/msi_templates/AdvtExec.idt @@ -16,4 +16,3 @@ RegisterExtensionInfo 350 RegisterMIMEInfo 450 RegisterProgIdInfo 400 RegisterTypeLibraries 500 -ScheduleReboot ISSCHEDULEREBOOT 675 diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/CustomAc.idt b/instsetoo_native/inc_openoffice/windows/msi_templates/CustomAc.idt index 602c683b85d6..8aa06a155b46 100644 --- a/instsetoo_native/inc_openoffice/windows/msi_templates/CustomAc.idt +++ b/instsetoo_native/inc_openoffice/windows/msi_templates/CustomAc.idt @@ -5,7 +5,6 @@ ISInitAllUsers 307 ALLUSERS 1 setAllUsersProfile 51 ALLUSERSPROFILE [%ALLUSERSPROFILE] setUserProfile 51 USERPROFILE [%USERPROFILE] SetARPInstallLocation 51 ARPINSTALLLOCATION [INSTALLLOCATION] -SetARPNoRemove 51 ARPNOREMOVE 1 NewProductFound 19 OOO_CUSTOMACTION_1 SameProductFound 19 OOO_CUSTOMACTION_2 WrongWindowsVersion 19 OOO_CUSTOMACTION_5 diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/InstallE.idt b/instsetoo_native/inc_openoffice/windows/msi_templates/InstallE.idt index 680961b4f744..0a0d60f09832 100644 --- a/instsetoo_native/inc_openoffice/windows/msi_templates/InstallE.idt +++ b/instsetoo_native/inc_openoffice/windows/msi_templates/InstallE.idt @@ -1,7 +1,7 @@ Action Condition Sequence s72 S255 I2 InstallExecuteSequence Action -AllocateRegistrySpace NOT Installed 750 +AllocateRegistrySpace Not Installed 750 AppSearch 25 BindImage 2100 CCPSearch CCP_TEST 200 @@ -9,17 +9,17 @@ CostFinalize 500 CostInitialize 350 CreateFolders 1850 CreateShortcuts 2150 -DeleteServices VersionNT 1000 +DeleteServices 1000 DuplicateFiles 2050 FileCost 400 -FindRelatedProducts NOT ISSETUPDRIVEN 100 +FindRelatedProducts 100 InstallFiles 1950 InstallFinalize 3150 InstallInitialize 700 InstallODBC 2600 -InstallServices VersionNT 2750 +InstallServices 2750 InstallValidate 650 -ISInitAllUsers VersionNT And NOT Installed And Privileged 525 +ISInitAllUsers Not Installed And Privileged 525 IsolateComponents 450 LaunchConditions 50 MigrateFeatureStates 600 @@ -52,12 +52,10 @@ RemoveRegistryValues 1300 RemoveShortcuts 1600 RMCCPSearch Not CCP_SUCCESS And CCP_TEST 250 SameProductFound SAMEPRODUCTS 120 -ScheduleReboot ISSCHEDULEREBOOT 3125 SetARPInstallLocation 990 -SetARPNoRemove VersionNT < 600 995 SetODBCFolders 550 -StartServices VersionNT 2800 -StopServices VersionNT 950 +StartServices 2800 +StopServices 950 UnpublishComponents 850 UnpublishFeatures 900 UnregisterClassInfo 1350 diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/InstallU.idt b/instsetoo_native/inc_openoffice/windows/msi_templates/InstallU.idt index 24642ecaeb74..7a89cbcc756f 100644 --- a/instsetoo_native/inc_openoffice/windows/msi_templates/InstallU.idt +++ b/instsetoo_native/inc_openoffice/windows/msi_templates/InstallU.idt @@ -9,7 +9,7 @@ ExecuteAction 850 FileCost 450 FindRelatedProducts 150 InstallWelcome Not Installed 650 -ISInitAllUsers VersionNT And NOT Installed And Privileged 575 +ISInitAllUsers Not Installed And Privileged 575 IsolateComponents 500 LaunchConditions 50 MaintenanceWelcome Installed And Not RESUME And Not Preselected And Not PATCH 750 |