Skip to content

How to create reusable element and install VC Redistributables (c++) before installing my app(s) by referencing in multiple products #8735

Answered by vdrasutis
vdrasutis asked this question in Questions
Discussion options

You must be logged in to vote

Thanks @michaelgburton for idea.

Have you considered creating a bundle and using an approach like this instead for the VC Redistributables?

https://gist.github.com/nathancorvussolis/557d1c4faccd5c83d88be606c60430d0

Here is my sample of the project and using reusable component.
Note: I did changed some names - so might miss some, it is only for high view how to...

Project file:

<Project Sdk="WixToolset.Sdk/5.0.1">
  <PropertyGroup>
    <OutputType>Bundle</OutputType>
    <Platform Condition=" '$(Platform)' == '' ">x64</Platform>
    <OutputName>Installer_$(Platform)_Bundle</OutputName>
  </PropertyGroup>
  <!--<Import Project="$(SourceRoot)\GEO.Common.targets" />-->
  <PropertyGroup Cond…

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
4 replies
@vdrasutis
Comment options

@michaelgburton
Comment options

@michaelgburton
Comment options

@bevanweiss
Comment options

Comment options

You must be logged in to vote
3 replies
@vdrasutis
Comment options

@michaelgburton
Comment options

@vdrasutis
Comment options

Comment options

You must be logged in to vote
1 reply
@wmanning
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by vdrasutis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants