On Thu, Aug 17, 2017 at 3:10 PM, Matwey V. Kornilov <
matwey.korni...@gmail.com> wrote:

> Hello,
>
> What is recommended way to locate and merge MS redistributable *.msm file
> into final *.msi installer produced by CPack and WIX?
>
> It seems to be a quite common task but I cannot find any mention.
>

 I've never tried this myself.

You probably already found:

http://wixtoolset.org/documentation/manual/v3/howtos/redistributables_and_install_checks/install_vcredist.html

Perhaps the patch mechanism in the WIX generator can be used to insert the
required snippets into the generated XML:

https://cmake.org/cmake/help/latest/module/CPackWIX.html#variable:CPACK_WIX_PATCH_FILE

I don't outright know where the msm files are stored or what would be the
best way to locate them.

I suppose it might not be that common in a CMake context because it would
be CPack generator and compiler specific while the competing
https://cmake.org/cmake/help/latest/module/InstallRequiredSystemLibraries.html
is both generator and compiler agnostic.

Nils
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to