.NET application without .NET Framework

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rajiv

    #1

    .NET application without .NET Framework

    Hello,

    Can some one guide me on how do i make a .NET application which upon
    installing on the target system doesnot require a .NET Framework
    Installed?

    Bye
    Rajiv

  • Steven Nagy

    #2
    Re: .NET application without .NET Framework

    Isn't that like asking for diet coke?

    If its a .NET app, it needs the .NET framework. But possibly you want
    to package the .NET framework installer into your application
    installer?

    I don't know what the legal issues are, but you can download the
    'redistributabl e' for the .NET framework from M$ website.
    I guess you could boot strap it or something. But as I said, check out
    the legal issues first.

    Comment

    • Michael C

      #3
      Re: .NET application without .NET Framework

      "Rajiv" <rajivjain.i@gm ail.com> wrote in message
      news:1139206799 .629691.80730@g 14g2000cwa.goog legroups.com...[color=blue]
      > Hello,
      >
      > Can some one guide me on how do i make a .NET application which upon
      > installing on the target system doesnot require a .NET Framework
      > Installed?[/color]

      No.

      Michael


      Comment

      • Michael C

        #4
        Re: .NET application without .NET Framework

        "Rajiv" <rajivjain.i@gm ail.com> wrote in message
        news:1139206799 .629691.80730@g 14g2000cwa.goog legroups.com...[color=blue]
        > Hello,
        >
        > Can some one guide me on how do i make a .NET application which upon
        > installing on the target system doesnot require a .NET Framework
        > Installed?[/color]

        Surely you're kidding right?

        Michael


        Comment

        • Steven Nagy

          #5
          Re: .NET application without .NET Framework

          You're responses seem a little 'negative' to me.
          Perhaps Rajiv has either miscommunicated his question, OR he is simply
          not very experienced with the .NET framework.
          Either way, I think we should give him a chance to re-explain.

          Go ahead Rajiv.

          Comment

          • Ankit Aneja

            #6
            Re: .NET application without .NET Framework

            How can u run .net application without .net framework
            it can be like that your application installer itself installs
            ..netframework
            "Rajiv" <rajivjain.i@gm ail.com> wrote in message
            news:1139206799 .629691.80730@g 14g2000cwa.goog legroups.com...[color=blue]
            > Hello,
            >
            > Can some one guide me on how do i make a .NET application which upon
            > installing on the target system doesnot require a .NET Framework
            > Installed?
            >
            > Bye
            > Rajiv
            >[/color]


            Comment

            • Rajiv

              #7
              Re: .NET application without .NET Framework

              hi,

              well, i do understand what u guys are trying to say? and even i think
              that it is not possible to run a .net application without its
              framework.. but when i spoke to some more experienced programmers
              according to them it is possible... it seems that some dll's have to be
              deloyed along with the application to run without the framework... may
              be its not true?? i am yet to figure out a way... but still the
              question lies in my mind.. and i am trying to explore the possibility
              that if we had to do it without the .net framework what r the
              options???

              bye
              Rajiv

              Comment

              • Bruce Wood

                #8
                Re: .NET application without .NET Framework

                In keeping with Steven's answer, we need to know whether your question
                is:

                "...does not required the .NET Framework to be installed beforehand."

                in which case you can create a Setup project for your solution from the
                Setup/Deployment Projects group. Default installations of Visual Studio
                2003 cannot install the .NET framework along with your application, but
                apparently you can download an add-on bootstrap plugin that will allow
                you to include a .NET bootstrap in your setup.exe. I've never used it
                myself, but here is the link to the (free) bootstrap plugin for Visual
                Studio:

                http://msdn.microsoft.com/vstudio/do.../bootstrapper/

                On the other hand, if your question is:

                "...does not required the .NET Framework to be installed ever."

                then the answer is no. All .NET programs require the Framework in order
                to run. It is not possible to run a .NET program without the .NET
                Framework.

                Comment

                • Bruce Wood

                  #9
                  Re: .NET application without .NET Framework

                  There are no options. A .NET program will not run without the Framework
                  installed. Those "more experienced programmers" are wrong.

                  Apparently, it is possible to have the setup.exe that installs your
                  application (if you choose to install that way) install the Framework
                  first. I've never done it myself, but there is a downloadable tool for
                  this, so I assume that it's possible. See my other reply for details.

                  Comment

                  • Rajiv

                    #10
                    Re: .NET application without .NET Framework

                    thanks Mr. Wood i got your idea of installing the framework at setup.

                    Comment

                    • Jon Skeet [C# MVP]

                      #11
                      Re: .NET application without .NET Framework

                      Rajiv <rajivjain.i@gm ail.com> wrote:[color=blue]
                      > Can some one guide me on how do i make a .NET application which upon
                      > installing on the target system doesnot require a .NET Framework
                      > Installed?[/color]

                      See http://www.pobox.com/~skeet/csharp/f...ework.required

                      --
                      Jon Skeet - <skeet@pobox.co m>
                      http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
                      If replying to the group, please do not mail me too

                      Comment

                      • Bruce Wood

                        #12
                        Re: .NET application without .NET Framework

                        Well, I was wrong, then. It is possible to run "without the Framework
                        installed."

                        Jon, you might want to add to your list of disadvantages that if
                        Microsoft releases any patches to the Framework (which they have done),
                        then your "bundled application" won't benefit from those patches (I
                        assume). Do I assume correctly?

                        Comment

                        • Rajiv

                          #13
                          Re: .NET application without .NET Framework

                          Hi,

                          Thanks Jon...

                          I guess now we are going in the right direction.. meanwhile i did some
                          googling and found some applications which help to achieve the same...
                          have a look at this link....

                          Was ist Virtualisierungssoftware? Virtualisierung von Linux mit VirtualBox. Installation eines virtuellen Windows in MacOS mit Parallels Desktop.


                          Rajiv

                          Comment

                          • Light

                            #14
                            Re: .NET application without .NET Framework

                            Actually, sorry to be the one to correct the misinformation: yes it is
                            possible to create a .NET application and run it on a system without
                            the framework.

                            There is a copy protection program that does this. What it does to my
                            understanding is use a compiled form of the framework in native code so
                            the framework isn't required.

                            They charge about $10,000 for it so that it is unlikely to be a
                            realistic solution but it is possible. I'm not sure the name of it but
                            some commercial software has used it.
                            Curtis

                            The Premier Help System For Developers

                            Comment

                            • Jon Skeet [C# MVP]

                              #15
                              Re: .NET application without .NET Framework

                              Rajiv <rajivjain.i@gm ail.com> wrote:[color=blue]
                              > I guess now we are going in the right direction..[/color]

                              Not really. Although I acknowledge that it's possible, I'd personally
                              recommend against it. I think it's much, much better to run against the
                              normal framework.
                              [color=blue]
                              > meanwhile i did some
                              > googling and found some applications which help to achieve the same...
                              > have a look at this link....
                              >
                              > http://thinstall.com/solutions/net_virtual.php[/color]

                              Yes, Thinstall is one of the options I mention in the section I
                              referred to earlier.

                              --
                              Jon Skeet - <skeet@pobox.co m>
                              http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
                              If replying to the group, please do not mail me too

                              Comment

                              Working...