为什么不是所有的应用程序都是可移植的?

今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,它是一个由Q&a网站组成的社区驱动分组。...

为什么不是所有的应用程序都是可移植的?It’s a question that nags at anyone who has fallen in love with portable apps: why aren’t all applicati*** portable?

今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,它是一个由Q&a网站组成的社区驱动分组。

问题

超级用户读者Tom喜欢便携式应用程序提供的干净组织,并想知道为什么所有东西都不可移植:

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 versi*** of applicati*** 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 applicati*** available with minimal effort and on the plus side, I get a nice clean setup.

Applicati*** 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?

我们当然是便携式应用程序的粉丝,也希望了解事情的真相。

答案

超级用户撰稿人David Whitney提供了一些关于为什么许多应用程序不可移植以及Windows如何实施某种反可移植性安排的见解:

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 applicati*** not cleaning up after themselves. DLL hell happened as a result of multiple versi*** 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 applicati*** installed in Program Files.

So I guess, the reason is that “applicati*** 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 permissi***, and download updates, and install windows services…

xcopy is the “simple case” and certainly isn’t a best fit for everything.

不幸的是,对于所有便携设备的爱好者来说,许多应用程序——尤其是像Office这样的大型应用程序——将仍然牢牢地固定在操作系统上并分布在整个操作系统中。


有什么要补充的解释吗?在评论中发出声音。想从其他精通技术的Stack Exchange用户那里了解更多答案吗?在这里查看完整的讨论主题。

 

  • 发表于 2021-04-12 04:53
  • 阅读 ( 117 )
  • 分类:互联网

你可能感兴趣的文章

什么是“便携”应用程序,为什么它很重要?

便携式应用程序比传统应用程序具有一定的优势。它们很轻,而且它们允许你在使用应用程序和设置的同时在计算机之间移动。这就是为什么它们不同,为什么有时但不总是——一个好的选择。 如何安装常规应用程序 相关:...

  • 发布于 2021-04-08 09:51
  • 阅读 ( 175 )

如何从一个闪存驱动器玩积木乐趣随处minecraft

...们的主要雷击机目录,包括地图、mod和有用的雷击机相关应用程序,重量约为14GB。 如果您正在寻找一个有足够空间存放Minecraft和任何其他文件的驱动器,您想随身携带,在亚马逊上有很多高等级的USB3.0驱动器可供选择,比如这...

  • 发布于 2021-04-10 20:57
  • 阅读 ( 269 )

用于组织桌面的最佳应用程序启动器和停靠点

...滚动才能看到有哪些程序?如果是这样,您可能需要一个应用程序启动程序来组织您的桌面,使您的生活更轻松。 我们已经创建了一个列表,列出了许多不同形式的有用应用程序启动器。您可以从dock程序、便携式应用程序启动...

  • 发布于 2021-04-12 09:49
  • 阅读 ( 335 )

适用于windows、linux和mac的最佳免费文本编辑器

...本更多的功能?您愿意在Linux中使用图形文本编辑器,而不是内置vi吗?有许多选项可以用于有用的文本编辑器。 有些采用了选项卡式界面,如Jarte(基于WordPad字处理引擎,很容易与WordWeb集成)、EditPad-Lite(也有自动备份)和Not...

  • 发布于 2021-04-12 11:46
  • 阅读 ( 193 )

最好的免费便携式应用程序为您的闪存驱动器工具包

...USB闪存驱动器上,并创建桌面PC的可移植版本。 便携式应用程序套件和集合 有几个可移植的应用程序套件提供了一种方法来收集大量的可移植程序,并使用菜单系统轻松地访问它们。PortableApps.com其中,Lupo PenSuite、CodySafe和Libe...

  • 发布于 2021-04-12 12:25
  • 阅读 ( 170 )

查看和管理flash cookies

...方式。一切准备就绪… 一旦启动程序,您将看到系统上所有flash cookies的列表。您可以看到每个文件的“URL、文件名、创建/修改时间、文件大小和文件路径”。flash Cookie有两种显示模式(程序窗口的下半部分)。第一个是“Cooki...

  • 发布于 2021-04-13 23:50
  • 阅读 ( 51 )

什么是“便携”应用程序,为什么重要?

与传统应用程序相比,便携式应用程序提供了一些明确的优势。它们是轻量级的,允许您在计算机之间移动,同时随身携带应用程序和设置。这就是为什么它们不同,为什么它们有时但并不总是一个好的选择。 如何安装常规...

  • 发布于 2021-04-14 10:33
  • 阅读 ( 145 )

无论制造商告诉你什么,移动硬件和软件都是可分离的

...的行为;这两者都不是 硬件的多样性正在枯竭,这就是为什么公司开始试图通过每台设备附带的软件来区分自己。让他们感到困惑的是,商店里**的东西仍然是实体设备,因此他们别无选择,只能将希望差异化和增值的用户体验...

  • 发布于 2021-04-22 15:04
  • 阅读 ( 89 )

微软开源了它的将ios应用程序移植到windows的工具

...一些重大消息,称windows10可以运行经过改造的Android和iOS应用程序。虽然开发者在4月份就对这个消息很感兴趣,但微软一直对这些工具保密到今天。另一个令人惊讶的举动是,微软将其iOS到Windows应用的关键移植工具开源。以前代...

  • 发布于 2021-05-01 01:06
  • 阅读 ( 121 )

防止sim卡交换黑客窃取您的电话号码和您的身份的其余部分

...须通过****部请求。有趣的是,这些高安全性选项似乎并不是常识,正如主板所指出的,服务提供商并不是特别热衷于讨论它们。你所能做的就是打电话给****部,询问你账户的高安全措施。使用T-Mobile和Sprint,您可以选择上述服...

  • 发布于 2021-05-13 14:45
  • 阅读 ( 131 )
0RL484FBRJ40
0RL484FBRJ40

0 篇文章

相关推荐