Directory tree in a Resource without extraction...

Posted by Corelgott on Server Fault See other posts from Server Fault or by Corelgott
Published on 2009-11-22T23:33:32Z Indexed on 2010/04/11 14:03 UTC
Read the original article Hit count: 320

Filed under:
|

Hi all,

i am looking for a way to store a complete directory including sub directories in an application's resource and not have to extract it to use it.

Details:

  • We would like to use GeckoFx (Gecko as C# Component) in one of our applications.
  • GeckoFX needs the XUL-Runner and needs to find it's folder structure
  • We have some other data which I would not prefer to extracted to the customer's pc; At least not onto something persistent like a hdd...

Getting the complete directory into the resources is not that kind of a big deal. Compress to one file and done.

But not writing it to the disk to use it is something else.

I have a strong dislike against temp folders and such things. Would anything like a RAM drive be possible? Some part of the RAM beeing mounted? Does something like this even exist as a lib, or would this only be possible by a device driver?

Any thoughts on this?

Thanks in advance!

Corelgott

© Server Fault or respective owner

Related posts about resources

Related posts about c#