[virt-tools-list] [PATCH] wixl: use a versionized installation directory

Richard W.M. Jones rjones at redhat.com
Sat Jan 24 11:35:56 UTC 2015


On Mon, Jan 12, 2015 at 04:39:52PM +0100, Fabiano Fidêncio wrote:
> From: Marc-André Lureau <marcandre.lureau at gmail.com>
> 
> It turned out that not only the current MSI broke the "component rule",
> but also that our files are not versionized correctly. Windows Installer
> applies some file versioning rules before replacing a file
> http://msdn.microsoft.com/en-us/library/aa368599%28v=vs.85%29.aspx
> 
> Since msitools doesn't extract version from files and populate the Version
> field of the File table, it "usually" keep the current file installed.
> 
> It's practically impossible to rely on version information from
> files (from a quick look, only 5% of the files are versionized and even
> less correctly, libgcrypt seems to do non-monotonic buildid for example)

Is there something mingw can do to version files correctly?  I'd never
even heard of this feature of Windows before.  Where is the version
stored?  In the file?  In an NTFS ADS ..?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v




More information about the virt-tools-list mailing list