views:

21

answers:

1

Hello, I am trying to create a standalone app with a resources folder that is writable. I would like to include this in the exe, similar as to how it is done on OSX with an .app. Is this possible?

Thanks!

A: 

Assuming that you're talking about a modern Windows OS you're probably going to have problems with this even if you could come up with a solution. Most apps gets put under the Program Files directory and by default only Admins have write permissions there so it's generally seen as a bad thing to store anything the app needs to write to next to the executable in Windows.

ho1
Yeah, but the problem is it's a standalone app that runs from a USB key. It downloads resources (text + images) from the internet and stores them locally. The client would like that these are semi-protected
@davidinbcn: Maybe you could just encrypt the resources with some resource-light (since it sounds like it just have to look secure) encryption.
ho1