Message: 6 Date: Tue, 23 Sep 2008 11:32:11 -0400 From: Travis Burkitt <[EMAIL PROTECTED]> Subject: [WiX-users] Questions about using MFC Merge Module
My main questions are: >- Why do I have an MFC merge module that is picking up the middle >version of the 3 that are installed? (FYI the VC module does the same >thing) This blog may answer your question: http://blogs.msdn.com/vcblog/archive/2008/05/15/vc-runtime-binding.aspx, you can #define _BIND_TO_CURRENT_VCLIBS_VERSION to always link to the latest one, aka, SP1(version 9.0.30729.1). Check the manifest file to see if it actually works for you or not. >- Is there a way to reduce the size of the msi file and still ensure >that the necessary files are included for the end user? (e.g. any way >to use version 9.0.21022.8 which likely has all I need and is much >smaller?) version 9.0.21022.8 is the RTM version without the new MFC classes introduced in SP1(version 9.0.30729.1). SP1 introduces many new classes thus much bigger runtime size. AppLocal seems the way to ship the smallest package. Or you may pack your app with no MFC,and distribute it with VC++ 2008 Redistributable Package as a standalone pre-requisition. >- It isn't as clean, but is it acceptable to require users to download >and install the MS VC++ 2008 Redistributable Package. >- Also I need to use the policy merge modules? (e.g. >policy_9_0_Microsoft_VC90_MFC_x86.msm) My understanding is it depends: if your exe is linked against 9.0.21022.8, and the target PC only has version 9.0.30729.1 or higher, you need the policy modules to re-direct to this version, or else your exe refuses to run. If the target happens to have the same version as the one your exe is linked to, the policy modules are not necessary. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users