2024 Autor: Peter John Melton | [email protected]. Zuletzt bearbeitet: 2023-12-16 04:41
Es ist eine Frage, die jeden nervt, der sich in tragbare Apps verliebt hat: Warum nicht? alles Anwendungen tragbar?
Die heutige Question & Answer-Sitzung wird von SuperUser zur Verfügung gestellt - einer Unterteilung von Stack Exchange, einer Community-Gruppe von Q & A-Websites.
Die Frage
SuperUser-Leser Tom liebt die saubere Organisation tragbarer Apps und möchte wissen, warum alles nicht portabel ist:
I’ve recently been trying to ‘install’ stuff a lot less on my Windows machine (I hate installers – I need to know where programs put stuff…), choosing to use portable or standalone versions of applications instead.
I put them all in a ‘Programs’ dir on a drive separate from my Windows partition, so whenever I reinstall, I have all my applications available with minimal effort and on the plus side, I get a nice clean setup.
Applications like Office and Creative Suite still require me to go through a horribly long installation process where a thousand random libraries and tools are thrown across my system.
Why do Windows apps still need installing? Why can’t we just drag Photoshop to a folder à la OSX and just have it work? Does anyone else focus on portable apps, or am I just being OCD about the whole thing?
Wir sind sicherlich Fans von portablen Apps und möchten auch den Dingen auf den Grund gehen.
Die Antwort
Der Superuser-Mitwirkende David Whitney bietet einige Einblicke, warum viele Apps nicht portierbar sind und wie Windows eine Art Anti-Portabilitäts-Anordnung durchsetzt:
Installers are a result of years of evolution and a little bit of (simplified) history helps understand why they do what they do..
The Windows 3.1 model suggested config.ini style configuration files per application with supporting shared libaries going into system folders to prevent duplication and wasted disk space.
Windows 95 introduced the registry allowing a central store for application configuration replacing many configuration files. More importantly, windows configuration was stored in the same place.
The registry became bloated due to applications not cleaning up after themselves. DLL hell happened as a result of multiple versions of the same shared libraries overwriting each other.
.NET introduced the concept of app.config (almost ini files mark 2, this time with a little more structure saving developers wasting time writing manual parsers). The GAC was introduced to version shared assemblies in an attempt to prevent DLL Hell.
In Windows XP and moreso in Vista, Microsoft attempted to define the userspace as a place to store user data and configuration files in a single standard location to allow for roamning profiles and easy migration (just copy your profile) with the applications installed in Program Files.
So I guess, the reason is that “applications in Windows are designed to live in one place, their shared dependencies in another, and the user specific data in another”, which pretty much works against the concept of xcopying a single location.
.. and that’s before you have to configure user accounts, and setup and ensure security permissions, and download updates, and install windows services…
xcopy is the “simple case” and certainly isn’t a best fit for everything.
Unglücklicherweise für Fans aller Dinge tragbar, werden viele Apps - insbesondere große Apps wie Office - fest mit dem Betriebssystem verbunden und verteilt.
Haben Sie etwas zur Erklärung hinzuzufügen? Ton aus in den Kommentaren. Möchten Sie mehr Antworten von anderen technisch versierten Stack Exchange-Benutzern lesen? Hier geht es zum vollständigen Diskussionsthread.
Empfohlen:
Warum fordert Chrome mich auf, "nicht kompatible Anwendungen zu aktualisieren oder zu entfernen"?
Viele Windows-Anwendungen (z. B. Antivirensoftware) injizieren Code in Chrome, um dessen Verhalten zu ändern. Dies führt zu häufigeren Browser-Abstürzen, sodass Google diese Techniken blockiert.
Nur installierte Anwendungen in portable Anwendungen umwandeln
Während es eine Vielzahl nützlicher Anwendungen und Dienstprogramme gibt, die über tragbare Distributionen verfügbar sind, bleiben viele Tools immer noch in ihrem "Install Only" -Format. Diese Einschränkung sollte Sie jedoch nicht davon abhalten, das jeweilige Programm als portable Anwendung zu verwenden. Mit ein paar Tricks, die wir Ihnen hier zeigen werden, können Sie diese Programme möglicherweise noch zu Ihrer Sammlung tragbarer Tools hinzufügen.
Was sind Elektron-Apps und warum sind sie so verbreitet?
Haben Sie festgestellt, dass viele neue Desktop-Anwendungen Websites ähneln? Es ist nicht deine Fantasie.
Warum der Mac App Store nicht über die gewünschten Anwendungen verfügt
Im Gegensatz zu Windows verfügt Mac OS X über einen Desktop-App-Store. Besorgen Sie sich einen neuen Mac und Sie sind vielleicht aufgeregt, den Mac App Store zu öffnen und all Ihre Lieblingssoftware zu installieren - aber Sie werden nicht alle Ihre Lieblings-Apps im Store finden.
Was sind ActiveX-Steuerelemente und warum sind sie gefährlich?
ActiveX-Steuerelemente sind die Version der Plug-Ins von Internet Explorer. Beispielsweise ist der Flash Player von Internet Explorer ein ActiveX-Steuerelement. Leider haben ActiveX-Steuerelemente eine erhebliche Quelle von Sicherheitsproblemen verursacht.