Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6E5E3D847 for ; Tue, 9 Oct 2012 13:58:29 +0000 (UTC) Received: (qmail 48202 invoked by uid 500); 9 Oct 2012 13:58:29 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 48135 invoked by uid 500); 9 Oct 2012 13:58:29 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 48126 invoked by uid 99); 9 Oct 2012 13:58:28 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 13:58:28 +0000 Received: from localhost (HELO mail-wi0-f171.google.com) (127.0.0.1) (smtp-auth username robweir, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 13:58:28 +0000 Received: by mail-wi0-f171.google.com with SMTP id hj13so4027292wib.0 for ; Tue, 09 Oct 2012 06:58:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.135.210 with SMTP id u60mr10971968wei.57.1349791107009; Tue, 09 Oct 2012 06:58:27 -0700 (PDT) Received: by 10.216.215.3 with HTTP; Tue, 9 Oct 2012 06:58:26 -0700 (PDT) In-Reply-To: <50742228.5080002@googlemail.com> References: <50742228.5080002@googlemail.com> Date: Tue, 9 Oct 2012 09:58:26 -0400 Message-ID: Subject: Re: Installation patches From: Rob Weir To: ooo-dev@incubator.apache.org Content-Type: text/plain; charset=UTF-8 On Tue, Oct 9, 2012 at 9:10 AM, Andre Fischer wrote: > Hi, > > In the last days I looked into how to create installation patches for > updating AOO. Using patches instead of full installation packages would > lead to smaller files to distribute for updating AOO on the next release. > > I have created a new Wiki page for my findings. Please see [1] for an > overview and the details of how to create patch files. Note that I have > concentrated on the Windows platform for the time being. > This is cool. A few questions that I couldn't figure out from the wiki page: 1) How do you determine what files are changed? Is this done from comparing two fukk installs? From dependency analysis of the build? Manual analysis of the change logs and knowledge of dependencies? 2) Does it handle configuration/profile changes as well? For example, between 3.4.0 and 3.4.1 we changed the default for the "check for updates" setting. 3) You mention that the about box was not updated. Is that just a simple bug? Or a limitation of the approach? 4) How error-prone is this approach? By this I mean how much testing would be required before we release an upgrade installer in addition to a full installer? Are there any issues with binary compatibility with dynamic libraries, etc.? -Rob > My results for the impatient: > > 1. I have written a Perl script with which I have created a Windows > Installer MSP patch file that updates an installed Apache OpenOffice 3.4 to > 3.4.1. Its size is roughly a tenth of the full installation package. There > are some minor problems, like the about box still displaying 3.4 as current > version in the first line. The second line is OK. > > 2. There is already some support for the creation of patch files in the > make_installer.pl script but this functionality is inactive. It is not > triggered by the makefile in module instsetoo_native/ and therefore I can > not say whether it would still work. > > > [1] http://wiki.openoffice.org/wiki/Building_installation_packages > > > Best regards, > Andre