Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - More restrictions in "program files" except of writing ?

Reply
 
Old 11-27-2006   #1 (permalink)
MueMeister


 
 

More restrictions in "program files" except of writing ?

Hi guys,

short but significant question: Next to the restriction to write
to "C:\program files" directory are their other restrictions in
that location?

I mean what's the deal with that location if I cannot write lets
say application session files there? I would prefer to install
my app to C:\MyApplication rather to the program files folder.
Do I gain disadvantages because of such a step?

Thanks a lot for your reply.
Mue :-)

My System SpecsSystem Spec
Old 11-27-2006   #2 (permalink)
Jimmy Brush


 
 

Re: More restrictions in "program files" except of writing ?

> short but significant question: Next to the restriction to write
> to "C:\program files" directory are their other restrictions in
> that location?


The folder exists to store program files there. Program files are considered
any files your program needs to run that are not user specific. The files
here are NOT meant to be modified except during an install, uninstall, or
upgrade.

> I mean what's the deal with that location if I cannot write lets
> say application session files there?


This is where your main program files are stored, such as your .exe and .dll
files. This is the only purpose for this location - nothing else goes here.

Files your users create using your program are to be stored inside that
user's profile folder, such as their documents folder. This would include
your application 'session' files.

> I would prefer to install
> my app to C:\MyApplication rather to the program files folder.
> Do I gain disadvantages because of such a step?


No - this is not allowed. Your program is to be installed inside Program
Files or the AppData folder inside of a user's profile directory.


--
- JB

Windows Vista Support Faq
http://www.jimmah.com/vista/

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
"Program files" role set to wrong folder Vista General
More "access denied" - program configuration files Vista file management
"this operation has been canceled due to restrictions on this computer" Vista security
"Program Files" directory problem - probably virtualisation issue Vista General
"this operation has been canceled due to restrictions on this computer". Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46