Is it possible to install Win App without .net Framework?

Hi Folk

I have created a Win .net Application and when I try to install it, it asks me to install the .net Framework first!!

Is it possible to install a Win App on third party machines without the need to install the .net Framework !!!!!!!!!

This is a big disaster, if I will need to install a 20 MB to make a 200 kb application Works!

I need to run my application without the .net Framework!
Any ideas please
Thanks




Answer this question

Is it possible to install Win App without .net Framework?

  • Leonid B

    The .NET Framework is not included in SP1 or SP2 for Windows XP and it isn't in the latest SP for Win2k either. I think Microsoft has missed a change here.

    So .NET Framework is not default by Win2k of WinXP.

  • dborgohain

    Also, when you create an installer project in Visual Studio, the MSI that is built does not automatically install the .NET framework before installing your application.  There is, however, a fix for this:

    http://msdn.microsoft.com/vstudio/downloads/tools/bootstrapper/

    If it's really a 'big' disaster, you could look to software to get around this limitation, like Thinstall.  I've tried them before and found them to be a little limited, though.

    I'd also like to point out that a good portion of the reason your application is only 200 KB is because .NET Applications require the .NET Framework.

    Good luck!

  • cmazur

    >> I'd also like to point out that a good portion of the reason your application is only 200 KB is because .NET Applications require the .NET Framework.


    *HOWL*  Definitely one of the more hilarious statements uttered by .net evangelists.  I repeat it to myself every time i add to the several hundred useful apps in my toolchest that are <200KB that require no more than the standard .dlls, or the standard .dlls plus the vb runtime.

    it is sad that ms now (apparently) has no supported tool for rapid prototyping, rapid development, and lightweight installation.  .net fans frequently attempt to disparage vb6 by referring to it as qbasic, and that speaks volumes about what vb has become.  by all means, let vb participate in the framework-of-the-month club for programmers who don't like or don't know c++ or c (or who simply like all of the handholding and precoded bits & pieces of .net).  However, requiring the use of such a large framework abandons a large segment of technical professionals who need to build and deploy ad hoc tools on extremely short deadlines (often minutes or hours) onto a variety of existing machines and who need for those tools to be visually presentable to end users in the field or to nontechnical management.  vb has always been the tool for building such gadgets.  with the removal of the very raison d'etre for vb, these post-vb6 versions reduce it to being 'just another language in the visual-suite'.  I agree that parity among vb, c#, and "whatever ms's visual Java-like language is called" is a great thing... but certainly not if parity means that they all require an extensive framework!  That would be as silly as... <smartass remark>well, as silly as that aforementioned J-language not being able to create apps that run under a JVM!</smartass remark>.  Parity could have easily been interpreted by ms to mean "you can use .net if you want with any of these languages, or you can create bare-win32 apps with any of them".  if these languages and libraries are now as modular and architecturally-correct as ms has been claiming, it would be a relatively simple matter to simply not refer to .net at all in a given app regardless of which language was chosen.

    i am glad i took a peek at the next vb, and i will even use it on occasion perhaps - although i'd be hard pressed to say "what for" at the moment.


  • Josh Korn at Diligentsia

    Actually, there is a solution...unfortunately, it's not cheap.  http://www.remotesoft.com/linker/

    I've been looking for other solutions too.....
    And eventually, Mono will have it a similar feature: http://www.mono-project.com/StudentProjects#Replacing_CIL_with_native_code.

  • Demchuk

    You can take a look at this, but normally you need the .NET Framework.

    When you take a look at Java, you'll see that you need Java VM (Virtual Machine) and VB6 needs the VB-Runtime. So the need of a Framework is not something new. You can intergrate the .NET Framework in your setup if you like.

    The default setup that you can create with Visual Studio .NET will look for the .NET Framework in the installing computer, when the .NET Framework is not found the user will see a message and the information howto get it.

  • sieweng

    I think there is no way to convert .NET applications to native code, but I think .NET Framework worths downloading. If you don't want .NET Framework because your computer is old, the applications are running very slow, I recommend to butterfly (or google) Install-time code generation. If there is another reason, remember: .NET Framework runs not only your application; and .NET Framework is installed to Windows 2000, Windows XP by default.

    Why did you posted it twice

  • Is it possible to install Win App without .net Framework?