Add custom action of installing msi before the setup in installer project

陌路散爱 提交于 2019-12-02 09:46:43

All Visual Studio custom actions run after all the files have been installed, so you cannot use a custom action to install another MSI before your primary output is installed. Also, running an MSI-based install from a custom action is likely to fail because concurrent MSI-based installs are not allowed.

The normal way to do this is to create a bootstrapper package that installs dependencies before your MSI is installed, start here:

https://msdn.microsoft.com/en-us/library/ms165429.aspx

I found an associated article that i have used previously to package a dependency (which i did not want in the pre-requisites) on codeproject

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!