Reply to Thread

Post a reply to the thread: Date/Time/Version replace

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 04-02-2014, 04:13 AM
    Chris

    Re: Date/Time/Version replace

    Thank you. That makes perfect sense.
    (But I didn't guess that this is what it does).
  • 04-02-2014, 03:05 AM
    linder

    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
  • 04-02-2014, 02:35 AM
    Chris

    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.

Posting Permissions

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