Re: Load EXE and run from memory - is it possible in C# ?

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Kyril Magnos (kyril.magnos_at_yahoo.com)
Date: 07/28/04


Date: Wed, 28 Jul 2004 14:50:28 -0700

Dimitri,

AFAIK, This is not possible in C#. But, if this is a .NET application, you
may want to look into self-updating applications.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/updater.asp

-- 
HTH
Kyril Magnos
"I'm not a developer anymore, I'm a software engineer now!" :-)
"Just D." <no@spam.please> wrote in message 
news:6VUNc.1115$wz.778@fed1read01...
| Hi All,
|
| I have a question. I need to load some EXE file into memory and then find 
a
| way how to run it from the memory without saving to disk. I know that it 
was
| possible in C++ to execute any code already loaded into memory. What about
| C#? Does anybody know how to do that?
|
| The main purpose - to download a small installer from my www and then 
using
| this installer to download some big installer (like SETUP.EXE) and run it
| without saving to a client disk. That's a requirement, the purpose is to
| keep the client always up-to-date and don't allow him to keep old 
installer
| files on the remote machine. The small installer should test the remote
| application version and understand what version is running to stop it and
| update if it's needed.
|
| Thanks,
| Dmitri.
|
| 


Relevant Pages

  • Re: Dell Desktop 8400 - mem slot 4 not recognized
    ... of memory configured as two half-gig DIMM in slots 1 and 2. ... The BIOS reports none present in 4. ... reseated each stick enough times to be confident it is not installer ...
    (alt.sys.pc-clone.dell)
  • Re: prioris XL 5166dp memory
    ... then the upgrade to win2000 works just fine. ... My suspicion is that the win2000 installer can't ID the chipset properly, ... size the memory properly. ... >SIMMs in their sockets, i.e. capacity of each SIMM installed. ...
    (comp.sys.dec)
  • Load EXE and run from memory - is it possible in C# ?
    ... I need to load some EXE file into memory and then find a ... way how to run it from the memory without saving to disk. ... The main purpose - to download a small installer from my www and then using ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: SP6 problem?
    ... > The programs are memory intensive and when deployed on the client machine ... > client, ... > So now I want to include the SP6 DLLs in the installer and I rebuild the ...
    (microsoft.public.vb.bugs)
  • Re: RAM used in a Pentium 4 1.70ghz
    ... Could this be due to the RAM being too fast for the PC 1.70ghz processor, or be realted to the BIOS speed? ... When new memory is installed, ... The memtest86+ tester, ... to your installer, ...
    (microsoft.public.windowsxp.hardware)