Issue 65192

Summary: Package manager: change order of installation
Product: udk Reporter: groucho266
Component: codeAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: 680m165   
Target Milestone: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description groucho266 2006-05-09 09:41:20 UTC
The order in which the individual parts of a package are installed seems to be
not defined. It would be very helpfull to define this order so that program code
(DLLs) is installed first and configuration patches (XCUs) last.
This would enable configuration change listeners to immediately use the newly
installed program code (like new services) when they receive a change notification.
Comment 1 Stephan Bergmann 2006-05-10 10:29:06 UTC
.
Comment 2 Stephan Bergmann 2006-07-13 11:12:37 UTC
@jl:  As discussed, changing owner to package manager master.  Feel free to
retarget to 2.x if af does not complain.
Comment 3 joachim.lingner 2006-07-17 08:21:54 UTC
.
Comment 4 joachim.lingner 2006-07-28 06:53:21 UTC
Suggested order of installation:

-rdb
-components
-xcus
-other

What if there are several xcus, from which the component depends. For example,
xcu A indicates a new service. When installed, the listener tries to use this
service, the service expect xcu B, which is not yet available and throws a
runtime exception.

A better solution would be a locking mechanism in the configuration, that
prevents any notifications until a lock has been released.

By the way, is it a common scenario that service names are put into the
configuration?
Comment 5 joachim.lingner 2006-07-28 09:47:06 UTC
The ordered registration of extension contents could be done in
BackendImpl::PackageImpl::processPackage_
(desktop/source/deployment/registry/package/dp_package.cxx
Comment 6 joachim.lingner 2006-08-30 08:42:28 UTC
.
Comment 7 joachim.lingner 2006-10-09 13:28:01 UTC
retargeted
Comment 8 joachim.lingner 2007-01-16 14:21:34 UTC
Retargeting to OOo 2.3
Comment 9 joachim.lingner 2007-05-10 14:32:22 UTC
Retargeted to 2.4
Comment 10 joachim.lingner 2007-10-16 08:53:54 UTC
Retargeted to 3.0.
Comment 11 joachim.lingner 2008-05-30 15:33:51 UTC
Retargeted.