More control for file replacement

As others mentioned earlier, I am using the Inno Setup also for update or repairs. There are these situations:

  • New installation: The files should be copied into the destination folders

  • Existing installation with an older version: the existing files should be replaced by newer version, unchanged files should be skipped to improve performance

  • Existing installation with same or newer version (repair mode): an existing file should be overwritten

Currently you only have some flags like ignoreversion or replacesameversion.
But when you want to decide at runtime whether a file should be forced to be overwritten, you need multiple entry for a file to use different flags.

There something that gives you more flexibility would be nice. Also would it be nice if it not only works with exe oder dlls, but also for msi files or other data files. But I understand that using an MD5 or something like that to detect file changes would not boost performance. But maybe you have better ideas.

Share update with 0 linked conversations as well

Upvoters
Status

New

Board

Inno Setup Ideas

Date

About 4 hours ago

Author

An Anonymous User

Subscribe to post

Get notified by email when there are changes.