From c66efa24eb4b12beaaabbddc88f7c5aef4faf6c5 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Wed, 20 Jun 2012 21:07:29 +0200 Subject: fdo#51270 fix RemoveExtensions custom action FINDPRODUCT property was not available to this deferred custom action. Not to mention that registry keys are also deleted at his stage of uninstallation. The proper solution is to set the installation directory with a type 51 custom action, and pass it to RemoveExtensions custom action via CustomActionData property. Change-Id: I0ac18b3a0b19ff1a87bcf580fad9c7fdadb26f76 --- instsetoo_native/inc_openoffice/windows/msi_templates/CustomAc.idt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'instsetoo_native/inc_openoffice/windows/msi_templates/CustomAc.idt') diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/CustomAc.idt b/instsetoo_native/inc_openoffice/windows/msi_templates/CustomAc.idt index 41c2de258377..5f34a1c2766e 100644 --- a/instsetoo_native/inc_openoffice/windows/msi_templates/CustomAc.idt +++ b/instsetoo_native/inc_openoffice/windows/msi_templates/CustomAc.idt @@ -6,7 +6,8 @@ setAllUsersProfile2K 51 ALLUSERSPROFILE [%ALLUSERSPROFILE] SetAllUsersProfileNT 51 ALLUSERSPROFILE [%SystemRoot]\Profiles\All Users setUserProfileNT 51 USERPROFILE [%USERPROFILE] SetARPInstallLocation 51 ARPINSTALLLOCATION [INSTALLLOCATION] -SetInstalllocation 51 RegisterExtensions [INSTALLLOCATION] +SetInstallLocation1 51 RegisterExtensions [INSTALLLOCATION] +SetInstallLocation2 51 RemoveExtensions [INSTALLLOCATION] NewProductFound 19 OOO_CUSTOMACTION_1 SameProductFound 19 OOO_CUSTOMACTION_2 SetLanguageSelected 51 LANG_SELECTED 1 -- cgit