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. knowing the frame work is installed or not

knowing the frame work is installed or not

Scheduled Pinned Locked Moved C#
csharpwindows-adminhelptutorial
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.
  • S Offline
    S Offline
    shavil
    wrote on last edited by
    #1

    Hi, I am writing a windows application and i want to write the code to know weather .net frame work is there or not and i want to know weather iis is installed or not. after executing my application i want to run on other system with the help of that exe file. please send any links or code how to know the framework is installed or not and iis is there or not.... the program should run on other also(where there will be no dot net) system with "Exe file". It should prompt the message that framework is not there

    N T J 3 Replies Last reply
    0
    • S shavil

      Hi, I am writing a windows application and i want to write the code to know weather .net frame work is there or not and i want to know weather iis is installed or not. after executing my application i want to run on other system with the help of that exe file. please send any links or code how to know the framework is installed or not and iis is there or not.... the program should run on other also(where there will be no dot net) system with "Exe file". It should prompt the message that framework is not there

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Check this[^]

      Navaneeth How to use google | Ask smart questions

      1 Reply Last reply
      0
      • S shavil

        Hi, I am writing a windows application and i want to write the code to know weather .net frame work is there or not and i want to know weather iis is installed or not. after executing my application i want to run on other system with the help of that exe file. please send any links or code how to know the framework is installed or not and iis is there or not.... the program should run on other also(where there will be no dot net) system with "Exe file". It should prompt the message that framework is not there

        T Offline
        T Offline
        Tom Deketelaere
        wrote on last edited by
        #3

        shavil wrote:

        the program should run on other also(where there will be no dot net) system with "Exe file". It should prompt the message that framework is not there

        As far as I know this isn't possible with .NET (in vb6 it is but that's a dead language). You can however add a setup project wich will create a setup for you (.exe and .msi files) These will automaticly check for the framework and if its not there offer to download and install it.

        1 Reply Last reply
        0
        • S shavil

          Hi, I am writing a windows application and i want to write the code to know weather .net frame work is there or not and i want to know weather iis is installed or not. after executing my application i want to run on other system with the help of that exe file. please send any links or code how to know the framework is installed or not and iis is there or not.... the program should run on other also(where there will be no dot net) system with "Exe file". It should prompt the message that framework is not there

          J Offline
          J Offline
          Jimmanuel
          wrote on last edited by
          #4

          i always resorted to checking the registry to see if IIS is installed, another method is to check the windows service list to see if W3SVC is installed and running

          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