[28171] in Kerberos

home help back first fref pref prev next nref lref last post

Re: .msi packages

daemon@ATHENA.MIT.EDU (Asanka Herath)
Wed Aug 1 17:35:17 2007

Message-ID: <424a85260708011418y1f515d65ufa8ee76165f9170a@mail.gmail.com>
Date: Wed, 1 Aug 2007 17:18:16 -0400
From: "Asanka Herath" <asanka@secure-endpoints.com>
To: "Jason Dorfman" <jdorfman@csail.MIT.EDU>
In-Reply-To: <46B08E86.2070106@csail.mit.edu>
MIME-Version: 1.0
Content-Disposition: inline
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

> My question is, does anyone know where to edit
> the .msi so the custom files will always overwrite the existing files?

I assume you were following the instructions in the "MSI Deployment Guide".

If you want your custom configuration files to overwrite the files on
the user's machine, you should change the 'Attributes' field of your
custom components to exclude the
msidbComponentAttributesNeverOverwrite flag.  In other words, set the
'Attributes' field of your custom components to 16, instead of 144.

One caveat.  This will not overwrite if the configuration files on the
user's machine have been modified.  Windows Installer considers a file
to be modified if the date the file was last modified is more recent
than the date it was created.

- Asanka Herath
Secure Endpoints Inc.
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post