?
Solved

Can I install into C:\<MyProgramName>\ ?

Posted on 2013-11-04
4
Medium Priority
?
438 Views
Last Modified: 2013-11-04
Currently we install our program into:

C:\Program Files\<Company Name>\<Program Name\

and the program's data files we write to are placed in:

AppData\Roaming\<OurProgram>\

Management is asking why we should have our program files spread all over the computer, instead of having them all in one place. They wish to know if we could just install our program into:

C:\<Company Name>\<Program Name>\

Is there a good reason not to do this?

(Both the program files and the data files we write to would be under this single directory.)

(Of course we actually install into the more abstract versions of C:\Program Files\: i.e.
[ProgramFilesFolder][Manufacturer]\[ProductName]
[AppDataFolder][Manufacturer]\[ProductName]

(P.S. I've also noticed a recent trend to install all program files into AppData\Local, e.g. Google Chrome, Amazon Kindle Previewer.)
0
Comment
Question by:deleyd
  • 2
4 Comments
 
LVL 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 400 total points
ID: 39622624
First reason is that C:\Program Files is the 'standard' location for programs.  Some are using AppData\Local to get around permission and GPO restrictions on other directories.  I'm sure there is a way to install the programs at C:\<Company Name>\<Program Name>\ but since there are increased security restrictions to putting anything in C:\ , you would want to check that out before you say that you can do it.

Note that if you were publishing a Unix/Linux version, you would likely have files in many more directories based on standard procedure there.
0
 

Author Comment

by:deleyd
ID: 39622670
I wonder if Windows 8 places any restrictions on installing programs in to C:\...

I've seen a few programs the probably originated on Linux which get installed to C:\... such as Python, Strawberry Perl, Qt, xampp, code_red RedSuite.

If installing to C:\... is OK then why don't more companies install it there?

Does Microsoft have anything useful to say on this subject?
0
 
LVL 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 400 total points
ID: 39622740
At the very least, you have to use an Admin account to install programs.  If everybody installed their programs in C:\, it would get very cluttered...kind of like C:\Program Files usually is now.  And yes a lot of programs that originated in Unix/Linux (or DOS?) get installed in C:\.  Some of those work better there because they don't encounter the spaces in file names that Windows frequently uses.  I've had some of those programs not work properly with file names and/or paths with spaces in them.

I can't find anything from Microsoft on the reasons for using C:\Program Files.  The obvious conclusion to me is that you have to put them somewhere and Microsoft puts all their applications there.

The other thing is that the end-users of most software never know where the software is installed and the software doesn't care as long as You get the paths right.  So even if you do install your software in C:\, only you and your bosses will know about it.  And some techies that like to go see how things are being done.
0
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 1600 total points
ID: 39622857
> Is there a good reason not to do this?

Yes - following Windows Client Software Logo guidelines, that on page 8 say the following:

Applications should be installed to the Program Files folder by default. User data or application data must never be stored in this location because of the security permissions configured for this folder

All application data that must be shared among users on the computer should be stored within ProgramData

All application data exclusive to a specific user and not to be shared with other users of the computer must be stored in Users\<username>\AppData
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
This article is about my experience upgrading my consulting machine to Windows 10 Version 1709 (The Fall 2017 Creator Update)
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Suggested Courses

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question