How do I customize what a third party MSM does?
Posted
by sqlrob
on Stack Overflow
See other posts from Stack Overflow
or by sqlrob
Published on 2010-03-11T01:47:14Z
Indexed on
2010/04/08
3:23 UTC
Read the original article
Hit count: 298
I'm trying to convert a project in Visual Studio 2008 from static linking of the CRT to dynamic linking. This was easy enough, and I added the CRT MSM and policy MSM to my Wix file with no problems.
I am not that happy with the MSI that is output though, it is much larger than what I expected. Looking at the MSI with Orca shows three copies of the CRT DLLs that I need. From looking at the conditions, one of the sets is used for pre-XP installs. Since the system requirements are XP and later, how do I remove this component without touching the original MSM? This needs to be done in an automated build, so Orca isn't a possible solution. Plus, when I tried it with Orca, the filesize remained the same after deleting the File and Component rows.
And somewhat related, how do I set the permanent attribute in the components that remain?
© Stack Overflow or respective owner