CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2003
    Location
    Ft. Worth Texas
    Posts
    31

    What to do? MS-C# or LINUX?

    Good morning!

    I've had a discussion with a client about a new project. The main concern is as the software provider, can a full blown application be upgraded simply by replacing the EXE with a new one. My customer's concern is because of the computer illiteracy of his customer base, performing an install type function might prove unsucessfull.

    Can the compiler of a C# program be configured such that after the initial product install, all the required DLL's, references, etc. are not part of the EXE, but rather only utilized by the EXE. My thinking is that if this is possible, then I should be able to only need to send a new EXE to the customer.

    And then as I have discovered over the years, just because a program loads, compiles, and/or runs on my development computer, does not insure that the installation on a target computer will be successful.

    If this is not possible, can LINUX do it? Would you recommend using LINUX?

  2. #2
    Join Date
    Feb 2011
    Location
    United States
    Posts
    1,016

    Re: What to do? MS-C# or LINUX?

    are not part of the EXE, but rather only utilized by the EXE
    Sure, this is the entire concept of dynamic linking. It will work as long as all of the library (DLL) files are available on the client computer. For .NET applications, this typically means they have the same .NET framework installed as was your compile target (plus any external libraries you utilized).

    However, I doubt that copying a file into a location on a drive is going to be simpler than an install. I haven't actually made an installer before, but this one looks pretty good: http://nsis.sourceforge.net/Main_Page

    The situation will be similar under linux.
    Best Regards,

    BioPhysEngr
    http://blog.biophysengr.net
    --
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

  3. #3
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: What to do? MS-C# or LINUX?

    Click-Once deployment is built into VS2010. It lets you specify an minimum version number, and can be set to check a site for updates automatically. Easy to disable the program, too. It can be set to NOT install to the desktop. Only a LINK on the start menu.

    http://msdn.microsoft.com/en-us/libr...vs.100%29.aspx
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

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

Featured