简体   繁体   中英

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

I am creating an installer project for one of my windows applications .

I want to make sure that an msi is installed first ie before the primary output is installed . The msi in question here is Microsoft VisualFoxPro OLEDB .

So if I tried adding custom action as 在此处输入图片说明

So if I change the file type to all files and try adding the msi , it gives an error saying

Not a valid file type for custom action

Is there any other way to do what I am trying to achieve here?

我找到了我以前用来在codeproject上打包依赖项(在先决条件中不希望得到的) 的相关文章

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM