WIX run vcredist_x64.exe on install

后端 未结 3 541
悲&欢浪女
悲&欢浪女 2020-12-20 14:42

I have an application compiled in VS 2015 and requires the VC++ Redistributable package in order to run properly. Prior to this latest build, we were using an older version

3条回答
  •  自闭症患者
    2020-12-20 15:17

    I think the correct approach to take when having prerequisites that have their own installers is to create a WiX bootstrapper bundle, which runs through each installer in turn. This handles things like rollbacks on install failures, etc, which running custom actions from within an installer does not.

    A barebones sample can be seen here, you add and in the Chain element in the order you need them to install.

提交回复
热议问题