I’m writing a couple of installation packages for a client/server application. I’m using the Wix Toolkit and as recommended each DLL is wrapped up as its own component with a unique id.
There are some common DLL’s which need to be installed in both packages. Should these DLL’s have the same component GUID or should they be different in each package?
Given your reply to my comment, it would make things especially bad if both the client and server were installed on the same machine.
From Windows Installer Components:
(Emphasis added).
Plus:
The following bullet point may sound like it contradicts these:
But that’s actually saying things the other way around – if you have two installers that install the same DLL to the same location, they must be part of the same component. It’s the location of the file (as well as its name, and the bits inside it, version, etc) that’s important.
Re: first line of my answer, and given what you’re planning to do – if the server was installed (DLLs in server directory), and then the client was installed, the DLLs would not be present in the GAC, and so the client app wouldn’t work.