Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Discussions
Off Topic
Installing Software on Microsoft OS
gojericho0
Why is it when you install software on Windows it puts most of the files in the directory you create, but puts others in the Windows or system folders? Why can't it just put everything in one folder?
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
JDMurray
One upon a time in the MS-DOS days, programs were self-contained and did not normally share files. Every installed DOS program and all of its files lived in separate subdirectories. A program's subdirectory could be easily moved on disk without breaking other programs. Life was simple and good.
Under Windows, it was decided that most applications would share a common set of libraries and run-time files. If Windows apps were installed entirely into a single folder like MS-DOS programs, these files could not be easily shared, and more importantly, expensive disk space would be wasted by redundantly storing identical files in multiple subfolders.
To solve this problem, Microsoft created specific system folders where "shared components" would be stored which multiple programs could use, and "The Registry" to identify what was stored there. This saved disk space, but created a condition known a "DLL Hell," in which one installation overwrote a newer DLL with an older version of the same DLL, possibly breaking other programs. Thus, life was not entirely good (but it created jobs for software and IT people).
With the invention of inexpensive disk space, Windows Vista, and Microsoft .NET, the trend today is to go back to storing each program (almost) entirely into a separate folder one again. If you need to store files in a common area, you will still be able to do that, but it is not a requirement. Technically, it was not a requirement under earlier versions of Windows either, and that was one of the solutions for DLL Hell.
Who knows what operating system design innovations Microsoft will bring us all tomorrow...
gojericho0
Thanks JD!
You always give very good detailed answers. I saw you mentioned an install\uninstall utility from
http://www.martau.com/
another post so i downloaded it to capture some of these changes in action inorder to understand more of the behind the scenes transactions of windows
JDMurray
I enjoy my detailed trips down memory lane.
I haven't used an installation capture utility for a couple of years now, so I'll be interested in hearing how you like it. There are many to choose from, and I don't really know if there's one that's clearly above the rest in features versus ease of use.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS