Results 1 to 4 of 4

Thread: .net gripe

  1. #1

    Thread Starter
    Frenzied Member dis1411's Avatar
    Join Date
    Mar 2001
    Posts
    1,048

    .net gripe

    hopefully this can be fixed in the next .net release... .net progs ran on a system sans the framework report an initilization error and give some address. i dont know why it doesnt explain that the user needs to install the .net framework..

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    I agree that the error code sucks. I was thinking about writing a small exe in C++ or something that checks for the framework, and if it is installed, start the real install of the app. If the framework isn't there, then give a real message to the user explaining how to get it.

    Of course, I just haven't got around to it yet.

  3. #3
    Hyperactive Member
    Join Date
    Dec 2001
    Location
    Dublin, Ireland
    Posts
    262
    If anyone has tried downloading the asp.net forums source code they have a page that will tell if you have the framework installed and what version. You could use the same principal seeing as a webpage does not require the user to have the framework.
    Also setup projects for .net apps can include a check for the redistributable and not install if it isn't on the machine. I don't know what message it shows if you don't have it.

  4. #4
    PowerPoster sunburnt's Avatar
    Join Date
    Feb 2001
    Location
    Boulder, Colorado
    Posts
    1,403
    was thinking about writing a small exe in C++ or something that checks for the framework, and if it is installed, start the real install of the app. If the framework isn't there, then give a real message to the user explaining how to get it.
    The MSDN has a "bootstrap" C++ example that does just that. Poke around and you'll find it if you want a headstart or a time saver :-D
    [edit] here it is http://msdn.microsoft.com/downloads/...mpositedoc.xml [/edit]
    Last edited by sunburnt; Oct 12th, 2002 at 10:00 AM.
    Every passing hour brings the Solar System forty-three thousand miles closer to Globular Cluster M13 in Hercules -- and still there are some misfits who insist that there is no such thing as progress.

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