diff options
author | Andras Timar <atimar@suse.com> | 2012-06-05 16:57:53 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-06-07 15:07:06 +0200 |
commit | 265242f06dbdd21dade56dc6fc6c1789f33ee966 (patch) | |
tree | 2d7bc92dddf80c06a540f9a5c9f18c0c3268759f | |
parent | bffc69a86ad7924c2b03e532b8bb1613f599bef5 (diff) |
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
(cherry picked from commit 8783ead70cc2bc2a83bf473b0dfb51f3ee10b6da)
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | scp2/source/ooo/windowscustomaction_ooo.scp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scp2/source/ooo/windowscustomaction_ooo.scp b/scp2/source/ooo/windowscustomaction_ooo.scp index c111e179c542..256a92481acd 100644 --- a/scp2/source/ooo/windowscustomaction_ooo.scp +++ b/scp2/source/ooo/windowscustomaction_ooo.scp @@ -214,21 +214,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 |