Issue 30601 - Post processing before doing install sets: Windows dlls should get rebased
Summary: Post processing before doing install sets: Windows dlls should get rebased
Status: CLOSED FIXED
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: 680
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: Joost Andrae
QA Contact: issues@installation
URL:
Keywords:
Depends on: 35884
Blocks: 20269
  Show dependency tree
 
Reported: 2004-06-23 09:48 UTC by ingo.schmidt-rosbiegal
Modified: 2004-12-07 08:36 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ingo.schmidt-rosbiegal 2004-06-23 09:48:16 UTC
Before the packaging process in instset_native and instsetoo_native can start,
we need some preparations for this.
-This includes rebase and bind for all dlls and exes on Windows
-Calculating the checksums of the files
- Adding the checksums into a database (?)
For this we need a new cvs module ( "prepare_instset" (?) )
Comment 1 rt 2004-07-05 10:38:40 UTC
I'll do it differently (checksum handling should be done _after_ successfull
testing), but anyway - accepted
Comment 2 rt 2004-07-26 14:52:47 UTC
RT->JL: You told me about some dlls which must not be rebased. Please list those
files here, so that I can explicitly exclude them  from possible harmfull
operations.
Comment 3 joachim.lingner 2004-07-26 14:57:50 UTC
The libraries:
cli_types.dll, cli_ure.dll, cli_cppuhelper.dll 
must not be modified after they have been build. That is, neither rebase nor
bind may be called. The reason is, that they contain a hash value which will
become invalid when either tool is used. Then they cannot be installed anymore.
Comment 4 rt 2004-10-20 09:14:27 UTC
I am changing the summary of this issue. The real task is to re-implement a
process to rebase windows dlls. Whether its done in a separat module and how
this module should be named are just implementation details, I think.

Joost did some test measurements for statup performance with and without
rebasing. Results
 Start time in seconds                        without rebase   with rebase
Writer                    1. Start after reboot       13.9                      13.9
                              10 times average            7.7                  
      7.6
Backing window 1. start after reboot         7.9                         6.8
                               10 times average           3.5                  
      3.4
Comment 5 rt 2004-10-20 15:19:31 UTC
Obviously there is a fourth dll with must not get rebased: cli_basetypes.dll
If you try to rebase one of those mentioned cli_*.dll the rebase tool does not
give any error message. Judging from console output and log file (with -l
option) everything works well. Nevertheless, it returns error code 227    :-(
Comment 6 rt 2004-10-27 09:38:11 UTC
I've created a new module postprocess.
Comment 7 rt 2004-11-08 13:08:27 UTC
A first implementation of rebasing is now active in postprocess/rebase/makefile.mk

A more sophisticated mechnism is desirable and should get active before shipping
the final release. Follow-up issue for this refinement is i36845
Comment 8 rt 2004-11-08 16:00:31 UTC
Re-opened to re-assign.
Comment 9 rt 2004-11-08 16:01:31 UTC
re-assign to QA.
Comment 10 rt 2004-11-08 16:07:28 UTC
Hi Joost,

I implemented rebasing for windows in my CWS 'rebase'. When verifying this issue
you should do a crashmail roundtrip in order to check that I did not break the
chrashreport tooling.
Comment 11 Joost Andrae 2004-11-16 11:27:29 UTC
JA: I measured better startup performance for this cws. CrashReporter roundtrip
was OK. Verified on CWS rebase
Comment 12 matthias.huetsch 2004-11-29 18:38:35 UTC
Adding dependency to issue 20269 (startup performance).
Comment 13 rt 2004-12-07 08:36:51 UTC
Closing. For follow up work please see issue 36845.