Hi,

I'm trying to install an application that was compiled using Visual C++ 2012.  
I followed the instructions here to install the merge modules that my 
application depends on:

http://wix.sourceforge.net/manual-wix3/install_vcredist.htm

After running the installer, I would expect to see the redistributable files 
including msvcr110.dll and mfc110.dll in my c:\window\System32 or 
c:\windows\SysWOW64 directory, but unfortunately they are not installed and 
because they are not installed my application doesn't run.

My wxs file looks like this:

    <Feature Id='Complete' Level='1'>
      <MergeRef Id='Microsoft_VC_ATL' />
      <MergeRef Id='Microsoft_VC_CRT' />
      <MergeRef Id='Microsoft_VC_MFC' />
      <MergeRef Id='Microsoft_VC_MFCLOC' />
...
    </Feature>

    <DirectoryRef Id='TARGETDIR'>
      <Merge Id='Microsoft_VC_ATL' Language='0' 
SourceFile='msm\Microsoft_VC110_ATL_x86.msm' DiskId='1' />
      <Merge Id='Microsoft_VC_CRT' Language='0' 
SourceFile='msm\Microsoft_VC110_CRT_x86.msm' DiskId='1' />
      <Merge Id='Microsoft_VC_MFC' Language='0' 
SourceFile='msm\Microsoft_VC110_MFC_x86.msm' DiskId='1' />
      <Merge Id='Microsoft_VC_MFCLOC' Language='0' 
SourceFile='msm\Microsoft_VC110_MFCLOC_x86.msm' DiskId='1' />
    </DirectoryRef>

If I install the Visual C++ 2010 merge modules by changing "110" to "100" 
above, then the Visual C++ 2010 redistributables are installed fine - I see 
files like msvcr100.dll and mfc100.dll in the System32 or SysWOW64 directory.  
I'm installing on Windows 2003 R2 and tried unsuccessfully installing both the 
x86 and x64 merge modules. The Visual C++ 2012 merge modules require MSI 4.5 so 
I already upgraded to MSI 4.5 on by Windows 2003 R2 test box.  I've also tried 
both wix 3.6 and 3.7.

In my log, I see this line using the x64 merge modules:

MSI (s) (58:1C) [15:37:41:626]: Component: 
C_CENTRAL_mfc110_x64.4006A2C6_1BD5_3759_9C0C_17A8FFBF6E3C; Installed: Absent;   
Request: Local;   Action: Null

In the log above, action should be "Local" rather than "Null".

Any suggestions?

Thanks!
Quoc
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to