Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/c/62.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Wix:如何使用同一安装程序启用多个或单个安装?_Wix_Installation_Windows Installer_Instance Transform - Fatal编程技术网

Wix:如何使用同一安装程序启用多个或单个安装?

Wix:如何使用同一安装程序启用多个或单个安装?,wix,installation,windows-installer,instance-transform,Wix,Installation,Windows Installer,Instance Transform,是否可以选择使用同一安装程序(但不同的版本)进行多个或单个安装?可能使用命令提示符或任何其他方法?目前如果我设置产品Id,它将只允许单实例安装。出于测试目的,我们需要一个允许多实例安装的变通方法。非常感谢您的任何建议。如果您不想更改MSI文件,有文档记录的方法是使用设置为1的MSINEWINSTANCE属性以及更改ProductCode的转换。两者都需要在命令行上指定。通过使用Orca打开MSI文件并使用transform=>New transform,然后更改属性表中的ProductCode并

是否可以选择使用同一安装程序(但不同的版本)进行多个或单个安装?可能使用命令提示符或任何其他方法?目前如果我设置产品Id,它将只允许单实例安装。出于测试目的,我们需要一个允许多实例安装的变通方法。非常感谢您的任何建议。

如果您不想更改MSI文件,有文档记录的方法是使用设置为1的MSINEWINSTANCE属性以及更改ProductCode的转换。两者都需要在命令行上指定。通过使用Orca打开MSI文件并使用transform=>New transform,然后更改属性表中的ProductCode并保存transform mst文件,可以生成该转换


我对这个问题的解释不清楚。您是否有一个Wix项目和两个配置(调试和发布),并且希望将它们都安装在程序文件中,但路径不同?请检查是否符合您的要求。我在我的答案中列出了几个选项。