dotnet 2 framework loading from CD?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have just completed an undelete program in C#/.NET2 for NTFS. Of course to
use it you have to have .NET2 framework installed. To widen the potential
audience for this program, I was wondering if it is possible to have the clr
etc. loaded with the program from a CD. I realise that the registry entries
etc. will be missing but was hoping that there was some way that the required
libraries could be made application private or something. I know its a long
shot but I am looking forward to the replies!
 
liamo1 said:
I have just completed an undelete program in C#/.NET2 for NTFS. Of course to
use it you have to have .NET2 framework installed. To widen the potential
audience for this program, I was wondering if it is possible to have the clr
etc. loaded with the program from a CD. I realise that the registry entries
etc. will be missing but was hoping that there was some way that the required
libraries could be made application private or something. I know its a long
shot but I am looking forward to the replies!

I know of one Product (thinstall) that offers wrapping a .net app into
some sort of virtual environment so the host doesn't need installing
..net. However it's not exactly cheap and the resulting programs become
quite very large (as the whole .net framework is included). There might
be other products available?

I believe for an undelete program to be usefull, the program should run
from a disk/usbstick without ever writing to the harddrive (any write
could overrite the very data you want to undelete). So no installer etc.

I don't think you can even write such an apllication in .net (neither
with nor without thininstall), as the framework starting up probably
does some disk-writes (just a guess, I haven't researched this)

Ben
 
AFAIK you have third party products that should do something similar though
I never tried them.

The idea is generally that the framework should be installed once for all
(from Windows Update) or along with the application setup.

Try around :
http://msdn2.microsoft.com/en-us/library/k3bxs9z6.aspx
(Creating a Single Setup Project to Install a .NET Framework Application and
Dotnetfx.exe)
 
Thanks Ben for the Informative post. I downloaded a non .net filewatcher prog
and wrote a .net2 filesystemwatcher prog and both indicate that on start up
of any .net2 prog a file is written to c:\windows\temp. This deserves further
investigation. I am not too worried as leaving the filesystemwatcher program
running for a long period of time shows that windows writes and edits file
quite a lot on its own. The undelete prog that I wrote seems to work quite
succesfully on my system and I am happy with that!
Further to getting .net2 loading from a CD I loaded a basic .net2 prog into
memory,
I ran PView to find its process ID and using this ran VADump. This has given
me all the libraries in memory that are associated with that .net2 prog. But
at the moment I am not too sure if this is of any value. How do I load and
run these dll's? Thanks in Advance.
 
Back
Top