I am new to WiX, but need a complicated scenario! I manage a modular web application containing multiple WCF Library (i.e. module), and need to put every module as a feature in the final setup.
So I managed a WiX Setup Library for every module which genrates .wixlib files, and a single WiX Setup who references the .wixlib projects, and also will be a one-to-one relation between modules (i.e. .wixlib) and features in the final setup.
The problem arises when there is same files shared among .wixlibs, due to similar File/@Id and Componend/@Id which will be there for those shared files.
P.S: I have used WaX as engine to build .wxs files, which simply uses file name as File/@Id and Component/@Id in the .wxs files.
I beleive there could be two possible workarounds (I could achevei non of them!)
- Some way to force WaX generate randome
File/@IdandComponent/@Idfor every file. - The could be a way in
Lit.exe(who builds.wixlib) to append a random id toFile/@IdandComponent/@Idwhile compiling and generating final.wixlibfiles.
Any sort of help will be appreciated.