Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. check if .net framework is not installed

check if .net framework is not installed

Scheduled Pinned Locked Moved C#
csharpdotnet
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mohsen Saad
    wrote on last edited by
    #1

    hello, I am creating an application in .NET I want the application to display a message to inform the user that the .net framework should be installed instead of saying there is a missing dll when the user tries to run the application

    M D 2 Replies Last reply
    0
    • M Mohsen Saad

      hello, I am creating an application in .NET I want the application to display a message to inform the user that the .net framework should be installed instead of saying there is a missing dll when the user tries to run the application

      M Offline
      M Offline
      MoustafaS
      wrote on last edited by
      #2

      You can simly use the .NET bootstrapper ,it will check if the .NET is installed and, if so it will install youe application ,otherwise it will install the .NET frmaework by it self and after installing it will start your application installation immediatly. http://msdn.microsoft.com/vstudio/downloads/tools/bootstrapper/default.aspx[^].

      1 Reply Last reply
      0
      • M Mohsen Saad

        hello, I am creating an application in .NET I want the application to display a message to inform the user that the .net framework should be installed instead of saying there is a missing dll when the user tries to run the application

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        Your requirements are self excluding. You can't create a .NET application that checks to see if the .NET Framework is installed. It HAS to be installed before you launch your application, otherwise, how is it going to launch in the first place? You have two options. 1) Your installer must handle installing the .NET Framework required by your application. 2) You write a launcher application in Visual C++ (not Managed C++!!) that checks for the existance of the correct version of the .NET Framework, then if found, launches the real application, and if not, puts up a dialog telling the user to install the correct version of .NET. Option #1 is MUCH easier to deal with. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups