需要安装的软件在连接到操作系统时需要一些时间,并且它们的部分(operating system and part)过程调用取决于计算机上已有的资源。如果计算机中缺少这些资源(例如通用DLL 文件(DLL file)),安装程序可能会单独安装它,或者程序无法运行。便携软件在很多方面都比较好。这些不依赖于系统文件,并且可以在不依赖于系统资源的情况下运行。查看便携版和安装版软件之间的区别(difference between portable and installer edition software)。
便携版和安装版软件(Portable and Installer edition software)的区别
安装版软件
对于需要安装到本地计算机上的软件,程序员使用不同的安装程序创建者来创建将安装该软件的程序。您不能直接运行该软件,因为它需要某些步骤,例如向Windows 注册表注册(Windows registry)、重新加载注册表(registry reload)、链接到动态链接库(DLL文件)。在大多数情况下,此类软件使用现有的常见DLL文件。如果程序员创建了自定义库或(custom library or something)类似的东西,安装程序会在安装软件时将该文件复制到适当的位置。
需要安装的软件的问题是它们可能会在安装它们的计算机上留下指纹——即使在您卸载软件之后也是如此。因此,如果您在做一些私人的事情,人们可能会知道您安装和卸载了一些软件。
第二个问题是您必须在您希望使用它的每台计算机上安装此类软件。安装(Installation)需要时间,因为它可能还需要在安装软件后重新加载Windows 注册表(Windows Registry)。
当您使用安装程序安装软件时,可能会发生以下一种或多种情况:
- 该软件根据其配置方式在Program Files 或 Users(Program Files or Users)下创建一个新文件夹
- 新(New)值被写入Windows 注册表(Windows Registry)和/或旧条目可能被修改
- 将文件从安装程序(Installer program)复制到本地计算机
- 创建桌面、任务栏图标
- 在开始菜单中创建文件夹
- 将DLL(DLL)文件复制到Windows 或 C(Windows or C) :WindowsSystem32 等文件夹
当您卸载相同的软件时,上面创建的一个或多个元素可能会保留在计算机上,并且可能会泄露您正在使用计算机上的特定软件。
与基于安装的软件相比,便携式软件要好得多,正如这篇关于便携式和安装版软件之间区别的文章所示。(Portable software are much better compared to Installation based software as this article on the difference between portable and installer edition software shows.)
便携式软件
当我们说便携式软件时,这意味着您无需将其安装在任何地方。这使得该软件具有便携性,因为您可以将其放在USB 记忆(USB)棒上并在任何计算机上使用,而无需将其安装在您希望使用的每台计算机上。您只需将包含便携式软件的笔式驱动器插入您正在使用的计算机并启动便携式软件。Internet上有一些很好的资源,可让您将基于安装的软件转换为可移植软件。
便携式软件有两种工作方式:
- 便携式软件包(software package)已经包含嵌入到应用程序中的DLL(DLLs)
- 便携式软件可以创建一个 VM 并在其中运行——尤其是在它需要使用Registry的情况下;关闭便携式软件后立即删除VM
你不需要安装它。因此,它可以帮助您节省一些时间,同时让您无需在注册表或其他地方留下软件指纹即可使用计算机。
UltraSurf(一种代理软件(proxy software))等程序可以简单地在可移动驱动器上运行、启动和使用,而无需更改实际系统中的任何内容。因此,其他人发现您使用该软件的可能性较小。它们有助于立即开始工作,同时保护您免受窥探。
虽然大多数便携式软件没有留下任何痕迹,但您可能需要检查您复制软件的文件夹(或任何位置),以查看它在您启动时是否创建了任何INF 或 XML 文件。(INF or XML file)一些便携式软件会在它们所在的相同文件夹中创建这些文件——以保存软件配置或其他(software configuration or something)内容。最好在删除便携式软件之前检查它所在的文件夹。如果您发现任何相关的INF 或 XML(INF or XML),如果您想保密,只需将其删除。
与体积较小的基于安装的软件相比,便携式软件总是更好。如果它是一个巨大的软件,并且您不在乎(t care)其他人是否知道您在使用它,那么您可以选择安装版本(installation version)。此类基于安装的软件的一个示例是 Visual Studio,因为它需要许多DLL(DLLs),这些 DLL 需要复制到计算机才能正常运行。虽然可以将Visual Studio转换为便携式软件,但考虑到需要集成到一个便携式软件中的库和帮助文件等的数量,最终产品将是巨大的。(end product)在这种情况下,它可能会运行得太慢。
如果您是必须在不同机器上运行某些软件的人(例如技术人员),那么便携式版本会更好,因为您可以节省时间。在审查员、被封锁的网站和战争报告等(war reporting etc.)情况下,便携式软件可为您提供所需的保护。
您可能想看看其中一些免费便携式 Windows 软件。(You might want to take a look at some of these Free Portable Windows Software.)
随机阅读(Random read): 有趣的较少(Interesting lesser)知道Microsoft Trivia 和 Fun Facts(Microsoft Trivia and Fun Facts)。
Difference between Portable and Installer edition software
Sоftware that needs to be installed take time as they connect to the operating system and part of their procedure callѕ depend оn the resources already available on the computer. If those resources – e.g. a common DLL file – arе missing from the computеr, the installer might either install it separatеly or the program fails tо run. Portable software are better in many aspects. These do not depend on ѕystem files and may run without being dependent on sуѕtem resources. Check out the difference between portable and installer edition software.
Difference between Portable and Installer edition software
Installer Edition Software
For software that requires installation onto the local computer, programmers use different installer creators to create a program that will install the software. You cannot run the software directly as it needs certain steps such as registration with Windows registry, a registry reload, linking to dynamic link libraries (DLL files). In most cases, such software uses the existing common DLL files. If the programmer has created a custom library or something similar, the installer will copy that file to the appropriate location while installing the software.
Problems with the software that requires installation is that they might leave fingerprints on the computer where they were installed – even after you uninstall the software. Thus, if you are working on something private, people may know that you installed and uninstalled some software.
The second problem is that you have to install such software on every computer where you wish to use it. Installation takes time as it may also require reloading the Windows Registry after the installation of software.
When you use the installer to install software, one or more of the following might happen:
- The software creates a new folder under Program Files or Users, based on how it is configured
- New values are written to Windows Registry and/or old entries might be modified
- Copying of files from Installer program to the local machine
- Creation of desktop, taskbar icon
- Creation of folder in Start menu
- Copying DLL files into Windows or C:\Windows\System32 etc. folders
When you uninstall the same software, one or more of the elements created above may stay back on the computer and may give away that you were using the particular software on the machine.
Portable software are much better compared to Installation based software as this article on the difference between portable and installer edition software shows.
Portable Software
When we say portable software, it means that you need not install it anywhere. This makes the software portable because you can carry it on USB sticks and use it on any computer without having to install it on every computer that you wish to use. You simply plug the pen drive containing the portable software into the computer that you are using and start the portable software. There are some good resources on the Internet that allow you to convert installation-based software into portable software.
Portable software work in two ways:
- The portable software package already contains DLLs embedded into the app
- The portable software may create a VM and run in it – especially if it needs to use Registry; the VM is removed as soon as the portable software is closed
You need not install it. So it helps you save some time while at the same time, allowing you to use a computer without leaving software fingerprints in the registry or elsewhere.
Programs such as UltraSurf (a proxy software) can simply be carried on a removable drive, launched, and used without changing anything in the actual system. Thus, there are fewer chances that someone else may discover you used the software. They are helpful in getting to work straight away while protecting you from prying eyes.
While most portable software leaves no traces, you might want to check the folder (or any place) where you copied the software to see if it created any INF or XML file when you started it. Some portable software creates these files in the same folders where they were present – to save software configuration or something else. It is always better to check the folder where the portable software was present before you removed it. If you find any related INF or XML, just delete it if you wish to keep it a secret.
Portable software are always better compared to installation-based software when smaller in size. If it is a huge software and you don’t care if others know about you using it, you may go for the installation version. An example of such installation-based software is Visual Studio as it needs many DLLs that need to be copied to the computer for proper functioning. Though it is possible to convert Visual Studio into portable software, the end product will be huge, considering the number of libraries and help files etc. that need to be integrated into one portable software. It may run too slow in such cases.
If you are someone – like a technician – who has to run some software on different machines, portable versions are better as you will save on time. In case of censors, blocked sites, and war reporting etc., portable software gives you the protection you need.
You might want to take a look at some of these Free Portable Windows Software.
Random read: Interesting lesser know Microsoft Trivia and Fun Facts.