Re: Load EXE and run from memory - is it possible in C# ?
From: Erik Frey (eriksjunk_at_hotmail.com)
Date: 07/28/04
- Next message: Jim: "Re: Add row to datagrid without underlying table?"
- Previous message: nicolas: "A HREF and AXwebbrowser"
- In reply to: Just D.: "Load EXE and run from memory - is it possible in C# ?"
- Next in thread: Kyril Magnos: "Re: Load EXE and run from memory - is it possible in C# ?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 28 Jul 2004 15:43:21 -0600
"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.
Why not use Assembly.LoadFrom? It can load assemblies from the web:
Erik
- Next message: Jim: "Re: Add row to datagrid without underlying table?"
- Previous message: nicolas: "A HREF and AXwebbrowser"
- In reply to: Just D.: "Load EXE and run from memory - is it possible in C# ?"
- Next in thread: Kyril Magnos: "Re: Load EXE and run from memory - is it possible in C# ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|