Re: WindowsForm Application in C#.NET

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: remotesoft (info_at_remotesoft.com)
Date: 08/06/04

  • Next message: Morten Wennevik: "Re: Error installing .net framework 1.1"
    Date: Thu, 5 Aug 2004 20:22:44 -0700
    
    

    In theory, you can find out all the dependent assemblies (.dll) of your .NET
    exe, then copy those dependent dlls into your application directory, in
    addition you also need to copy the necessary CLR runtime files
    (c:\windows\system32\mscoree.dll,
    c:\windows\microsoft.net\framework\v1.1.4322\mscorwks.dll, etc). Now you
    have all files to run your application, unfortunately, the CLR relies
    heavily on the windows registry settings (look at
    HLLM\Software\Microsoft\.NETFramework hive), so copying files will NOT work,
    you need to do something on the registry.

    Our linker and mini-deployment tool does exactly the above:
    (1) find all dependent files, and put them into a directory
    (2) provide a virtual registry internal to your application
    Now you can copy the generated package to machines w/o .NET Framework, and
    it works just fine. It never touches the registry of the target machine.

    more info here: http://www.remotesoft.com/linker/
    send an email if you need a trial version

    "Rajeev" <navvyus@yahoo.com> wrote in message
    news:8fa6add7.0408051449.3d95d1e4@posting.google.com...
    > Hi
    > I have created a WindowsForm application in C#.NET. When I try to run
    > the exe on some machine without .NET framework it errors out and
    > prompts for .NET framework installation. Do I need to install the
    > complete the .NET framework on the machine I am runing it on or can I
    > just copy some dll's into this machine and make it work.
    > In other words is it possible to run a WinForm application designed in
    > .NET to run on a machine without .NET framework by just copying some
    > dll's.
    >
    > Thanks a lot


  • Next message: Morten Wennevik: "Re: Error installing .net framework 1.1"

    Relevant Pages

    • Re: New at CE: cant launch an application at startup
      ... You *are* dependent on something! ... Think you might need GWES running to ... You aren't really rebooting. ... reenumerate the registry. ...
      (microsoft.public.windowsce.app.development)
    • Re: VBA and VSTO
      ... so I am not dependent to what the user have installed of ... Is my code in VBA in a high level portable to the new ...
      (microsoft.public.excel.programming)
    • Re: Linking with specific dll in evc4
      ... Have you looked at the options on the Link tab in the project ... If you are using a single workspace, simply making the EXE project dependent ... Select EXE as the project to modify, check the DLL project as ...
      (microsoft.public.windowsce.embedded.vc)
    • Re: Optimised version works on dev machine but not on others
      ... Your .exe might be dependent on other DLL's being present in the system ... "Mike" wrote in message ... > My optimized build works without problems on my development machine. ...
      (microsoft.public.vc.mfc)
    • Re: >Net Framework
      ... NO, the software that she installs *may* need them all, but *Kelly* certainly doesn't. ... Starting with .NET Framework 2.0, all *subsequent* runtimes are dependent. ... Then download, save, and install the update for .NET 2.0 SP2 from the bottom of this page: ...
      (microsoft.public.windowsxp.general)