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.

Upgraded product, same file name?

1 reply to this topic


  • Full Members
  • 1 posts

Posted 01 May 2008 - 17:59

We have two products - a beginner version and a full-featured version. The files in both versions all have exactly the same names, but one of the files is different internally, which gives the different versions.

The problem is, if a user installs the full-featured version on top of the beginner version, InstallShield thinks the files are the same, and thus doesn't actually install the full-featured version.

How can I distinguish these two identically-named files (one full-featured version, the other beginner version) and then convince InstallShield DevStudio 9 that if the user installs the full-featured on top of the beginner, to go ahead and upgrade the file?


Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 07 May 2008 - 16:28

Wth function GetFileInfo you can get the file size or the MD5 check sum. This should enable you to tell the files apart. Then you could delete/rename the existing file to let the new file install, or set the component to "always overwrite" or overwrite same or older version.