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.
UTC timestamps
Started by
neilraine
, May 21 2004 14:54
1 reply to this topic
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?