On Nov 11 18:08, Achim Gratz wrote: > Corinna Vinschen writes: > > On Nov 11 10:02, Ken Brown wrote: > >> Of course, this still doesn't solve the problem of making sure that the > >> _autorebase postinstall script runs whenever the user installs a package > >> containing DLLs. I wonder if we should reconsider Achim's proposal. If I > >> understand correctly, it is something like this (oversimplified): > >> > >> 1. Change autorebase.bat to do an incremental rebase instead of trying to > >> do > >> a full rebase. > >> > >> 2. Arrange for autorebase.bat to never be marked as "done". > >> > >> Achim, please correct me if my oversimplification distorts your suggestion > >> too much. > > > > Achim, can you give a management summary how your proposal works? > > As Ken already correctly summarized, the autorebase postinstall script > will never be marked as done by setup.exe, so it will be run on each > install or update. The incremental part ensures that this step doesn't > take too much time if there's nothing to do. Currently this is based on > the name of that script, but it could be done differently. The other > part is that all "perpetual" postinstall scripts are run before any > normal postinstall scripts, so these can assume to run in a correctly > rebased environment.
I understand that you're patching setup to recognize the autorebase package by name, but how does it recognize other "perpetual" postinstall scripts ATM? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
pgpS6O9Opd8Dw.pgp
Description: PGP signature