1

In another question today, RBerteig mentioned that he/she always tried

to follow the rule that the only way to write to C:\Program Files is through a real installer

I have never heard of this rule. Where does it come from?

1
  • You could maybe ask him/her to provide a source?
    – TFM
    Aug 20 '09 at 7:32
5

This is only done by convention. If you are working as normal user there is additional reason why writing to it trough installer is practical. That folder is read-only for standard users and writable only by administrators. Installer usually runs with administrative privileges.

2

This is not a rule... :)

This folder is a normal folder. It is only a convention to install applications to this folder on windows systems...

0

That is not a rule.

Personally, I divide programs into Program files and Program files2 (imaginitive, I know :) into which come programs which (installer or not) have all their settings in their directories, so I know what program directories I need to go through to backup them.

1
  • 1
    C:\PROGRA~1 and C:\PROGRA~2 :)
    – user1686
    Aug 20 '09 at 12:35
0

There is no such rule.

You can place any software you want into the program files folder as long as it's software you want all users of the machine to have access to.

This idea of a "rule" might have started out with Vista because of UAC. People started to notice that regular users don't have write permission to the program files directory. Only admins and Trusted Installer have write access to it.

Edit: cleaned up the preceding paragraph a bit.

2
  • Huh? That permissions date back through all NT versions. It's just that starting with Vista MS actively encourages users not to work as adminitrators anymore. The permissions on any non-user folder didn't change.
    – Joey
    Aug 20 '09 at 20:22
  • my sentence came out a bit wrong. Meant to say that it was in Vista most people started to notice it because of UAC. Trustedinstaller permissions are new in Vista afaik.
    – Paxxi
    Aug 20 '09 at 21:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.