Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

UTC timestamps


1 reply to this topic

neilraine

neilraine
  • Members
  • 1 posts

Posted 21 May 2004 - 14:54


I've been creating .msi's using Wise for Windows Installer 3.52.

My application, once installed, needs to check the timestamps of various files that were installed with it, to check whether they have been changed by the user.

What I've discovered is that these files end up with different timestamps depending on which timezone they are installed in, or whether daylight saving time is on or off at the time of the install.

What I would expect is that the installer should preserve the UTC timestamp of the files, and that the local timestamp seen by the user would then depend only on which timezone they are in when viewing the files.

It appears that msiexec is making the common mistake of setting the local timestamp of the files as it installs them, rather than the UTC timestamp.

Does anyone know if there is an option that can be set in the .msi file to fix this?



Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 22 May 2004 - 05:12

Not really an answer, but here is some info:
http://support.micro...kb;en-us;158588

Regards
-Stein Åsmul