Creating Installers that Check if certain things are installed

nikhilhs

Member
Joined
Feb 22, 2004
Messages
22
I apologize for double posting this in the MDX forums. I didnt realize theres a deployment forum.

I want to create an installer that first checks for the .NET Framework 1.1, and if its not there, installs it. It then does the same for DirectX 9.0. And then it installs my program. Is this possible with the Visual Studio.NET installer creator? Or will I have to use something else? If its possible, would someone please link me?

Thanks.

-Nick
 
My Solution

Hi,

Well, The windows installer that you can produce using .NET automatically checks if the .NET version x is installed before proceding. So if there is no framework it wont install it.

other option:
You can disable that check and inserts and ACTION on the setup project that checks if the .NET framework is installed (you can check the registry very easy - also to check the version - ) and then install it. The action can be a small CMD application. I have use it several times to setup my application after an installation.

Hope this helps
 
Back
Top