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. Simple Question

Simple Question

Scheduled Pinned Locked Moved C#
questioncsharp
4 Posts 4 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.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    If .net isnt installed, my app wont run. Can i get it to display a message saying that the user needs to install it? (I'm doubtful that you can but, you never know...)

    C M D 3 Replies Last reply
    0
    • A Anonymous

      If .net isnt installed, my app wont run. Can i get it to display a message saying that the user needs to install it? (I'm doubtful that you can but, you never know...)

      C Offline
      C Offline
      Carsten Zeumer
      wrote on last edited by
      #2

      You might create a proxy application that does not use .NET. This first checks if the .NET runtimes are installed and the decides whether to display an error or to start the .NET applocation. /cadi 24 hours is not enough

      1 Reply Last reply
      0
      • A Anonymous

        If .net isnt installed, my app wont run. Can i get it to display a message saying that the user needs to install it? (I'm doubtful that you can but, you never know...)

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

        No,this tool is provided by Microsoft Check it out[^],and it the .NET redistibutable with it and it will check if .net isn't present it will launch the .NET setup and then Your application immidete after the .NET setup is finished,if the .NEt is already installed it will launch your your application setup.

        1 Reply Last reply
        0
        • A Anonymous

          If .net isnt installed, my app wont run. Can i get it to display a message saying that the user needs to install it? (I'm doubtful that you can but, you never know...)

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

          Like cadi said, you have to write a proxy application that checks for the existance of the .NET Framework, preferrably the correct version of it. Then it launches your application is the requirement is met. The catch is, you can't use C#, J#, or any of the Managed languages to do this. It either has to be written in unmanaged C++ or some other language that doesn't need the .NET Framework to run. 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