[Libreoffice-commits] .: Branch 'libreoffice-3-6' - scp2/source

Andras Timar timar at kemper.freedesktop.org
Tue Jun 5 08:10:37 PDT 2012


 scp2/source/ooo/windowscustomaction_ooo.scp |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit b33f69d2f45d92fd84cdff73d8baee0b14b40791
Author: Andras Timar <atimar at suse.com>
Date:   Tue Jun 5 16:57:53 2012 +0200

    fdo#43989 let unopkg.exe run with elevated privileges during install
    
    ... so it can do the pre-registration of bundled extensions in
    INSTALLLOCATION/share/prereg/bundle.
    The meaning of Type of custom action is the following:
    msidbCustomActionTypeDll + msidbCustomActionTypeBinaryData +
    msidbCustomActionTypeInScript + msidbCustomActionTypeNoImpersonate +
    msidbCustomActionTypeCommit = 3585
    So it is a binary in a dll from the MSI itself, it runs deferred
    with system privileges and after commit, because msvcrt90.dll is
    available only after commit. The same type was chosen for the
    removing part, it works.
    
    Change-Id: I14c347b5cbc47789eb0484769a676703361c2193

diff --git a/scp2/source/ooo/windowscustomaction_ooo.scp b/scp2/source/ooo/windowscustomaction_ooo.scp
index 077cd6e..2fdae2c 100644
--- a/scp2/source/ooo/windowscustomaction_ooo.scp
+++ b/scp2/source/ooo/windowscustomaction_ooo.scp
@@ -178,21 +178,21 @@ End
 
 WindowsCustomAction gid_Customaction_Register_Extensions
 	Name = "RegisterExtensions";
-	Typ = "1";
+	Typ = "3585";
 	Source = "shlxtmsi.dll";
 	Target = "RegisterExtensions";
 	Inbinarytable = 1;
-	Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\"", "behind_InstallFinalize");
-	Assignment2 = ("AdminExecuteSequence", "Not REMOVE=\"ALL\"", "behind_InstallFinalize");
+	Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\"", "InstallFinalize");
+	Assignment2 = ("AdminExecuteSequence", "Not REMOVE=\"ALL\"", "InstallFinalize");
 End
 
 WindowsCustomAction gid_Customaction_Remove_Extensions
 	Name = "RemoveExtensions";
-	Typ = "65";
+	Typ = "3585";
 	Source = "shlxtmsi.dll";
 	Target = "RemoveExtensions";
 	Inbinarytable = 1;
-	Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" And Not PATCH", "FileCost");
+	Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" And Not PATCH", "InstallFinalize");
 End
 
 WindowsCustomAction gid_Customaction_Set_Admininstall


More information about the Libreoffice-commits mailing list