I looked at that CodeProject's code. The use of UTC for the date/time of files in CAB files in that code is a specific implementation "allowed" but not defined by anything I was able to find publicly available. The bit they set to indicate that they are using UTC is defined as reserved in the very MSFT documentation they supply, however, which leads one to wonder how conforming an implementation it really is.
I searched for anything indicating that that bit is used even in an undocumented way by Microsoft and found nothing. If their program is used instead of the built-in support provided by the shell/installer/etc. their façade works. However, if that bit is ignored (which it would be if the CAB were used in/by an MSI), the UTC value in the CAB will likely be interpreted as local time in whatever time zone the client machine is running in. Could you set the timezone of your build machine to just across the international date line? -----Original Message----- From: Matthew Rowan [mailto:mgro...@gmail.com] Sent: Monday, May 03, 2010 6:00 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Cabinet file dates are stored in local time rather than UTC Hi Guys I'm having this issue where creating an installer in Australia and having it available for download in the US causes WPF images to be unable to be generated. The cause we have determined is that the modified date of the assemblies is in the future due to the Cabbing process storing the file timestamps in local rather than UTC. We are on WiX 3. Has anybody else noticed this behavior? And would anybody be able to help me modify the source? I am finding it hard to find information on the winterop.dll CreateCabAddFile which appears to be the native function used by WiX. I found this CodeProject<http://www.codeproject.com/KB/files/CABCompressExtract.aspx?disp lay=Print>article specifying the option of local or UTC for cabinet files, but that is about all. Granted this issue only shows itself within the first 24 hours of a release, it is annoying none-the-less. Cheers Matthew Rowan ---------------------------------------------------------------------------- -- _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users