From: http://msdn.microsoft.com/en-us/library/aa375190(VS.85).aspx
Isolated applications are self-describing applications installed with manifests. Isolated applications can use both private assemblies and shared assemblies.
An application is considered fully isolated if all of its components are either shared side-by-side assemblies or private assemblies. It is called partially isolated if it uses some components that are not side-by-side assemblies. Note that if an application uses some components that are not side-by-side assemblies, or uses private assemblies, the application may be affected by the installation or removal of other applications on the system. For more information, see Side-by-side Assembly Sharing.
Developers are encouraged to design isolated applications and to update existing applications into isolated applications for the following reasons:
- Isolated applications are more stable and reliably updated because they are unaffected by the installation, removal, or upgrading of other applications on the system.
- Isolated applications can be designed so that they always run using the same assembly versions with which they were built and tested.
- Isolated applications can use functionality provided by the side-by-side assemblies made available by Microsoft. For more information, see Supported Microsoft Side-by-side Assemblies.
- Isolated applications are not tied to the shipping schedule of their side-by-side assemblies because applications and administrators can update the configuration after deployment without having to reinstall the application. This would not apply in the case where only one version of the assembly is being made available.
- A fully isolated application may be installed by using the xcopy command. Windows Installer can also be used to install an isolated application without impact to the registry. For more information, see Installation of Win32 Assemblies.
In some cases, existing applications can be updated into an isolated application without having to rewrite the application code. An application manifest can be created that describes the application's dependencies on side-by-side assemblies. If the application uses components that are not side-by-side assemblies, these may be deployed as private assemblies. Note that the possibility of doing this with third-party components may depend on licensing because the component will need to be authored as an assembly. For example, by creating an application manifest and specifying a dependence on the side-by-side common controls (COMCTL32), an application running on Windows XP can take advantage of Windows theming. You should always test your application to ensure it is compatible with the new version of the COMCTL32 assembly.
It may not be possible to update every existing application into a fully isolated application. For example, some Windows File Protection (WFP) system assemblies are not available as side-by-side assemblies and cannot be installed with the application as a private assembly. It may be possible to partially isolate such applications by specifying side-by-side assembly dependencies for some of the application's assemblies in an application manifest.
孤立应用程序通过使用清单安装,能够实现自我描述。它们可以利用私有组件和共享组件,并且在安装、卸载或更新其他应用程序时不会受到影响。这些应用程序可以在部署后更新配置而无需重新安装,确保稳定性和可靠性。
204

被折叠的 条评论
为什么被折叠?



