-
Hello. We have a "VCRedistributables.wxs" and used Wix v3:
And then used in multiple features/producs like this using "FeatureGroupRef ":
Now I run wix conversion to v4.
And then I reference in the Feature/products like this (as by your video not sure if it counts as a dependency but if I use something from fragment, then it is all is pulled in? https://www.youtube.com/watch?v=DH12kv2CmQ4&t=319s): But I get error during installation, and log does not say anything useful why it fails "install.log":
Would really appreciate any help ideas what I am missing, thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
For now have this code below - it does not throw any error, my app installs successfully but VC Redistributable is still not installed :( :
Also there is some samples how to include executable in you MSI like this: https://www.youtube.com/watch?v=lHB1hTcO2oA, but it does not reuse CA component, does not use multiple files. So it is simpler and works Update 2024-09-06: Using
So from log looks like CustomAction is executed - and fails |
Beta Was this translation helpful? Give feedback.
-
For now I managed to fix build (after conversion with Wix CLI) using MergeFiles and build using wix v5.0.1:
Here is working code and produces same behaviour for v4/v5 wix after migrating from v3:
|
Beta Was this translation helpful? Give feedback.
-
I was able to create new Bundle project which would include original MSI of our product and C++ Redistributable exe - basic installer worked. But... as we need to pass some parameters from bundle installer to our app installer. So decided that it is to much effort, and will go with manually or using other existing PowerShell deployment scripts to install C++ Redistributable. |
Beta Was this translation helpful? Give feedback.
-
Thanks @michaelgburton for idea.
Here is my sample of the project and using reusable component. Project file:
Bundle.wxs:
Common/Components/VCRedistributables.wxs:
|
Beta Was this translation helpful? Give feedback.
Thanks @michaelgburton for idea.
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: