编辑:我尝试了this个问题,但答案中没有给出任何方法。我无法创建两个不同的MSI,因为我得到了这个问题的标题错误,我尝试使用Advanced Installer,只为我的32位虚拟测试机器告诉我应用程序无法运行。
有人告诉我,我应该让我的应用程序兼容x86和x64架构,但我无法在Visual Studio安装项目中将目标设置为x86,因为我在构建时遇到此错误:
ERROR: File 'Microsoft.Management.Infrastructure.Native.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'
以下是安装项目中列出的依赖项:
为了使其与x86兼容,我需要做什么?有人可以帮忙吗?