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

Do Merge Modules detect previous installs?


1 reply to this topic

randrus

randrus
  • Members
  • 5 posts

Posted 09 October 2002 - 16:44

Do Merge Modules detect previous installs?  If you attempt to install a setup that has a merge module that has already been installed by another setup will windows installer automatically detect this and prevent the merge module portion of the installation from being run?  Or is it necessary to add a custom action that will detect a previous install and then do a no op?

Thanks,

Ryan.
Ryan Andrus
Software Engineer
Scalable Software

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 09 October 2002 - 19:41

Merge modules include components. Windows Installer will use the same overwrite and versioning rules as with components you create, i.e. if the component already exists and is the latest version it won't be overwritten.
If your merge module includes custom action you must use appropriate condition, just like for custom actions in your main setup. (Actually all the components and custom actions of the merge module become part of your main setup during the build process)