Created attachment 279467 [details] [diff] [review] Patch Currently we can get "\Document and Settings\<username>\Application Data" or "\Document and Settings\<username>\Local Settings\Application Data", there is no way to get to "\Document and Settings\AllUsers\Application Data". The patch adds this directory to nsDirectoryService as CmAppData.
Attachment #279467 - Flags: review?(benjamin)
What do you want to do with this directory? I can understand, perhaps, \Documents and Settings\All Users\Desktop or quicklaunch or start menu, but the Application Data subdirectory?
It is for TomTom HOME - some files that are downloaded from the Internet should be accessible to all users. The default install location is application's install directory, but since this one isn't always writable we need a fallback location.
Comment on attachment 279467 [details] [diff] [review] Patch All Users is also not always writable: it's typically writable only by administrators. I don't think I want to take this patch: you can pretty easily include an XPCOM component in your app to do the same thing.
Attachment #279467 - Flags: review?(benjamin) → review-
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → WONTFIX
Personally, I think that any such "symbolic" directory should be resolvable in XULRunner - otherwise, it's almost impossible to get there from JS code, in case you need it for whatever reason. For TomTom HOME, we'll probably just use the profile for now.
You need to log in before you can comment on or make changes to this bug.