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

Timestamp of installed files vary by few seconds


2 replies to this topic

gzvinstall

gzvinstall
  • Full Members
  • 8 posts

Posted 24 February 2011 - 20:22

I have an install script MSI project. I have various files that, after being installed vary from the original file's timestamp by few seconds.

For example, the date of file A is 1:40:55 PM inside the installshield IDE - Files and Folders. After installing the application, the timestamp of the file installed on the target machine is 1:41:00 PM.

Any ideas on what might be causing this? We have programs to validate files by comparing the date time stamps of installed files with those of the original files. These programs fail due to this variance.

Any help will be appreciated.
Thanks!


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 25 February 2011 - 18:02

Windows Installer doesn't store the file times (neither create nor modify time) so I guess it's something operting system specific (like some file copy API truncating the seconds).

gzvinstall

gzvinstall
  • Full Members
  • 8 posts

Posted 25 February 2011 - 19:23

Thanks for your valuable response.