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

Override File Versioning Rules?


1 reply to this topic

mikenac

mikenac
  • Members
  • 3 posts

Posted 05 December 2001 - 22:27

I need to overwrite a higher versioned file with a lesser versioned file. I tried using RemoveFile to remove the file so that the new one would install, but apparently by then it has already decided not to install the new file.

At what point during the installation does it do the file version comparison?

I would rather not use a custom action here if at all possible. Suggestions?


Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 05 December 2001 - 22:57

Lie about the version of the old file in the file table.   MSI uses the version recorded in the file table to establish if a file is more recent or not.  AFAIK the actual version is not used.