Results 1 to 7 of 7

Thread: [RESOLVED] Deploy without .NET Framework

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2007
    Posts
    31

    Resolved [RESOLVED] Deploy without .NET Framework

    I created a simple exe sized 50Kb (which generates random number within user given range) by VB 2008 on .NET framework 2.0. which is about 22MB.

    Is there any way that, I can distribute this file with 1 or 2 dll file and without distributing the complete .NET framework 2.0?

    In case of .NET framework 3.5 the installer size is about 200MB. It is very difficult to distribute those file on the web.

    Is there any solution. Pls help me.

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Deploy without .NET Framework

    In much the same way Java apps can't run w/o the Java RunTime installed.... .NET apps cannot run w/o the FW installed.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Deploy without .NET Framework

    if you use the actual installer from vb, it automatically checks to see if .net 2.0 is installed and if not, it will prompt them to download it from microsoft. win 7 comes with it.

    another option you have is to change your targeted framework to 1.1. It's included in every win install since xp, but you shouldn't have to do anything as 2.0 is a pushed download through automatic updates, and if a user doesn't have it installed by now, it's their own fault. Most new games require it. Even my video card's control panel requires it.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  4. #4

    Thread Starter
    Junior Member
    Join Date
    May 2007
    Posts
    31

    [Resolved] Deploy without .NET Framework

    Thanks for your kind reply.

  5. #5
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: [RESOLVED] Deploy without .NET Framework

    another option you have is to change your targeted framework to 1.1.
    Only if running vb2003 .... vb2005 could only target 2.0, and VB2008+ targets 2.0, 3.0, 3.5 so the only way to target 1.1 is with vb/vs2003.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  6. #6
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: [RESOLVED] Deploy without .NET Framework

    Quote Originally Posted by techgnome View Post
    Only if running vb2003 .... vb2005 could only target 2.0, and VB2008+ targets 2.0, 3.0, 3.5 so the only way to target 1.1 is with vb/vs2003.

    -tg
    thanks for the info
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  7. #7
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: [RESOLVED] Deploy without .NET Framework

    A JVM download is only about 10MB. The main difference with .Net is that you don't just need the CLR but also the vast set of Framework libraries.

    To use a Java application you can't usually get by with the JVM alone, but you can pick and choose various "framework" subsets.

    A big plus with .Net is that even though the Framework is large it has almost everything you'll ever need, and most of the visible widgets (controls, etc.) are consistent with the Windows look and feel, being based on native components underneath.

    Java frameworks seem to multiply like roaches, and those containing widgets may have been designed for Mac, Linux, or what have you (whatever the author thought looked good?) and so it can sometimes be hard to make a Java application look "right" on Windows.


    While I'm no particular fan of .Net there is a lot of wisdom in its approach (huge monolithic Framework) because even though it presents some pain to download that monster... once you have it you're all set. Well, until the next one comes out!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width