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

DLL versions during patching


1 reply to this topic

Amarjeet

Amarjeet
  • Full Members
  • 77 posts

Posted 05 January 2012 - 11:17

I am just curious how installshield decides how to patch a dll.

For unversioned files its clear. Patching is done based on date and time stamp.

But for Dll's whats the policy. If i am trying to patch DLL with same version but new date and time modified stamp will that be patched ?

( I can do it by saying overwrite, but i just wanted to know how patching mechanism takes the decision)

Amarjeet

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 05 January 2012 - 19:28

I guess you are talking about the decision whether an existing file should be overwritten? Look up MSI Help topic "file overwrite rules". There arer even flow diagrams because the rules sometimes aren't as obvious as you might think at first. For instance, unversioned files are overwritten based on the create and modified date of the existing file, regardless of the date of the file in your setup package. Windows Installer can even use hash values in this decision.