+ Reply to Thread
Results 1 to 3 of 3

Thread: Date/Time/Version replace

  1. #1

    Default Date/Time/Version replace

    When installing a file there are options to Always replace, or if Date more recent, or if Date/Version more recent.

    What happens if the filedate (last modified I guess?) is more recent, but the Version is older? For example.
    Does the file get replaced only if Date AND Version more recent, or
    if Date OR Version is more recent?

    I wondered why there isn't a Version only option.

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Date/Time/Version replace

    Chris,

    Date/Time is only a fallback mechanism (for application files). You can't rely on the file date/time to check if it's the latest version. If the application file does have a version resource (and 99.99999% have) then the date/time stamp check is skipped. That means, if the version resource of an existing file is older but the file date/time stamp is more recent then the installer replaces the file. That is by Windows development guidelines.

    Friedrich

  3. #3

    Default Re: Date/Time/Version replace

    Thank you. That makes perfect sense.
    (But I didn't guess that this is what it does).

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •