Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I apologize for double posting this in the MDX forums. I didn't realize there's a deployment forum.

 

I want to create an installer that first checks for the .NET Framework 1.1, and if it's 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 it's possible, would someone please link me?

 

Thanks.

 

-Nick

Posted

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 won't 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...