[wix-devs] Issue with VC++ redist 2015 as a pre-requisite for our app

Ricarddsb . ricarddsb at gmail.com
Mon Oct 31 08:35:13 PDT 2016


Hi,

We are having headache's trying to add vc++ redist 2015 as a pre requisite
to our installer. I doub't im the only one fighting with this issue.

Before we had vc++ redist 2013 as a pre-requisite, if needed it installed
with bootstrap the vc redist 2013, everyting went fine, but when we changed
a component of our app that needed as a requirement the vc++ redist 2015 is
when the problems started.

Looking at a post we saw there were issues using bootstrap to install vc
redist 2015 as there was some wierd stuff going on on the product.xml and
package.xml of vc++redist2015, i followed a couple of workarounds that
worked for other people (they said so) but it didn't for me so sadly i'm
stuck, also tried with merge modules with the correspondent .msm file for
vc++redist 2015 but there wasn't any luck.

I wonder if any of you can tell me how to solve the issue we have.

*Code with bootstrap that worked fine with vc++redist2013:*
<GenerateBootstrapper ApplicationFile="$(TargetFileName)"
ApplicationName="$(OutputName)" BootstrapperItems="@(BootstrapperFile)"
ComponentsLocation="HomeSite" CopyComponents="True"
OutputPath="$(OutputPath)\" Path="$(ProgramFiles32)*\Microsoft
SDKs\Windows\v8.1A\Bootstrapper\*" ApplicationRequiresElevation="False"
Culture="en" Validate="False" />

*Code that dons't works for vc++redist2015*
<GenerateBootstrapper ApplicationFile="$(TargetFileName)"
ApplicationName="$(OutputName)" BootstrapperItems="@(BootstrapperFile)"
ComponentsLocation="HomeSite" CopyComponents="True"
OutputPath="$(OutputPath)" Path="$(ProgramFiles32)*\Microsoft Visual Studio
14.0\SDK\Bootstrapper\*" ApplicationRequiresElevation="False" Culture="en"
Validate="False" />

*Code of MSM (workaround, also it doesn't works...):*
<Feature Id="VCRedist" Title="Visual C++ 14.0 Runtime" AllowAdvertise="yes"
Display="1" Level="1">
      <MergeRef Id="VCRedist"/>
    </Feature>
*Where VCRedist is:*
 <Merge Id="VCRedist"
SourceFile="$(var.BinariesPath)Vc2015\Microsoft_VC140_CRT_x86.msm"
DiskId="1" Language="0"/>

Any suggestion would be very helpfull.

Thanks and regards,

Richard


More information about the wix-devs mailing list