Managed DirectX as Prerequisites

I am packaging a vb.net application that uses DirectX Managed, and I am not using a vs deployment project, etc. Now I want to check whether Managed DirectX 9 C is installed on the client or not. If you do not download directX from the Internet. What is the preferred way to do this? I found the following software development kit for Microsoft components, http://msdn.microsoft.com/en-us/library/ms994369.aspx . And this is the latest version that I found http://www.microsoft.com/downloads/details.aspx?familyid=2a5e4ebc-651c-40aa-9525-1810af47c317&displaylang=en N I'm looking for something (bootstrapper) that detect whether managed directX is installed or not, if it is not installed, download and install. Any idea?

+3
source share
1 answer

You can simply take the mdxredist.msi file from the component installer and run it using the regular configuration application in visual studio. You can add msi to your project. Prerequisite List:

Adding custom prerequisites.

Then you can right-click on the installation project and go to "Properties". Click the Prerequisites button and check your custom prerequisite in the list.

+3
source

Source: https://habr.com/ru/post/1703403/


All Articles