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

Bob Arnson bob at firegiant.com
Mon Oct 31 10:37:04 PDT 2016


Please send usage questions to the wix-users mailing list. The wix-devs list is for discussing the development of WiX itself.

-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of Ricarddsb .
Sent: Monday, 31 October, 2016 11:35
To: wix-devs at lists.wixtoolset.org
Subject: [wix-devs] Issue with VC++ redist 2015 as a pre-requisite for our app

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
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-devs mailing list