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

Preventing duplicate files in MSIs


1 reply to this topic

kbeckett

kbeckett
  • Members
  • 1 posts

Posted 15 March 2006 - 04:16

It appears that Visual Studio 2005 Setup projects are not capable of using the DuplicateFiles table in the MSI to prevent duplicate files?

This is ironic, considering that the basic design of .NET is based upon making copies of all dependent DLLs in the local build directory of each project. I have a solution with 25 web service projects that is generating a 90MB MSI file which would be less than 10% of that size if duplicate files weren't being stored!
sad.gif

Is there any way to prevent this?
How could MS leave out such an important feature?
Isn't the effort to implement this very small?

Apparently, most .NET applications of moderate size or larger using standard MSI files to install are generating MSIs that are much larger than they should be, thus taking longer to generate, download, copy, install, etc. Good grief.

Is this an evil plot to drive users to other products?
mad.gif

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 15 March 2006 - 06:14

As a developer you will most likely find the open source WIX toolset perfect. WIX makes it possible to compile MSI files from XML source files. Developers find this format much more intuitive - and you will have access to the full range of MSI features. Check it out here:
PROJECT: http://sourceforge.net/projects/wix
TUTORIAL: http://www.tramontana.co.hu/wix/
FAQ: http://gauss.dynalia.../wix/wixfaq.htm


Regards
-Stein Åsmul