diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-04-05 16:32:50 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-04-05 16:35:22 +0300 |
commit | b2c34b75f67331107767e733e717e5607cdd5d26 (patch) | |
tree | e8bcf916007fccc2a3fc10d685fc0d77966c9827 /scp2 | |
parent | 691961e7f65c336b718fc01f25a5b6d9b6df1c14 (diff) |
bnc#530872: Save old associations for MS doc types when installing
Then restore them, if still relevant, when uninstalling LibreOffice.
git log from build repository:
commit 1737ec9b6675cc7e30df03fa5537012a429425bb
Author: Tor Lillqvist <tlillqvist@novell.com>
Date: Thu Oct 14 15:28:55 2010 +0300
Make win32-restore-associations.diff apply again
commit 72a25ab4a055cd1d3cf5aec627cfe120113bfb34
Author: Tor Lillqvist <tlillqvist@novell.com>
Date: Thu May 20 10:34:24 2010 +0300
Make patches apply for a Windows build
commit d635f716a75d8c1648eab0c1d598b390be8c4f07
Author: Tor Lillqvist <tlillqvist@novell.com>
Date: Thu Sep 17 22:16:40 2009 +0300
Add new patch to restore MSO file associations on uninstall
* patches/dev300/apply: Add it to Win32Only
* patches/dev300/win32-restore-associations.diff: New file. Save
previous associations of the MS Office file formats on installation
of OOo. On uninstallation of OOo, restore them. Still a bit
experimental, but seems to work.
Diffstat (limited to 'scp2')
-rwxr-xr-x | scp2/source/ooo/windowscustomaction_ooo.scp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scp2/source/ooo/windowscustomaction_ooo.scp b/scp2/source/ooo/windowscustomaction_ooo.scp index 6cae743ae27c..dd0874492ec9 100755 --- a/scp2/source/ooo/windowscustomaction_ooo.scp +++ b/scp2/source/ooo/windowscustomaction_ooo.scp @@ -54,6 +54,15 @@ WindowsCustomAction gid_Customaction_Regallmsdocdll Assignment1 = ("InstallExecuteSequence", "Not REMOVE=\"ALL\" And Not PATCH And _IsSetupTypeMin<>\"Custom\"", "CostFinalize"); End +WindowsCustomAction gid_Customaction_Restoreregallmsdocdll + Name = "Restoreregallmsdocdll"; + Typ = "65"; + Source = "reg4allmsdoc.dll"; + Target = "RestoreRegAllMSDoc"; + Inbinarytable = 1; + Assignment1 = ("InstallExecuteSequence", "REMOVE=\"ALL\" And Not PATCH", "end"); +End + WindowsCustomAction gid_Customaction_Regactivexdll1 Name = "Regactivexdll1"; Typ = "65"; |