大网数据广告活动
安装更新与部署

Installing Multiple Instances of Products and Patches

· 52CE 我爱测

Windows Installer permits one instance of a product code to be installed per context, and the two possible types of context are the following:MachineUser If a product code remains unchanged, only one instance can be installed in the machine context and only one instance can be installed in each user context. For multiple instances to remain isolated, they…

Windows Installer permits one instance of a product code to be installed per context, and the two possible types of context are the following:

  • Machine
  • User

If a product code remains unchanged, only one instance can be installed in the machine context and only one instance can be installed in each user context.

For multiple instances to remain isolated, they must have different product codes and cannot share file data or nonfile data. The Windows Installer cannot install multiple instances of products using concurrent installations. However, you can install multiple instances of a product if you have a separate installation package for each instance of a product or patch. Then each package can keep its own set of data and have its own unique product code.

Starting with the installer running Windows Server 2003 and Windows XP with Service Pack 1 (SP1), you can install multiple instances of a product by using product code transforms and one .msi package or one patch. You can also use product code transforms to install multiple instances of a product with Windows 2000 with Service Pack 4 (SP4) and Windows Installer  3.0. The only way to install more than one instance of a product with previous versions of the installer is to have a separate installation package for each instance.

Using instance transforms significantly reduces the effort needed to support multiple instances of a product. You can author one base Windows Installer package for a product and then multiple instance transforms that change the product code and manage data for each instance.

For more information, see Authoring Multiple Instances with Instance Transforms and Installing Multiple Instances with Instance Transforms.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。