设置既面向x86和x64? [英] Setup targeting both x86 and x64?

查看:583
本文介绍了设置既面向x86和x64?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个需要两个x64和x86的DLL(它的数字出来,它需要在运行时哪些),但试图创建一个安装程序时,它抱怨的程序:

I have a program that requires both x64 and x86 dlls (it figures out which ones it needs at run time), but when trying to create a setup, it complains:

文件AlphaVSS.WinXP.x64.dll定位AMD64是不是个项目的目标平台兼容'86'结果
档AlphaVSS.Win2003.x64.dll针对AMD64''是不是个项目的目标平台'86'结果
档AlphaVSS.Win2008.x64.dll定位AMD64是不是个项目的目标平台兼容的86

File AlphaVSS.WinXP.x64.dll' targeting 'AMD64' is not compatible with th project's target platform 'x86'
File AlphaVSS.Win2003.x64.dll' targeting 'AMD64' is not compatible with th project's target platform 'x86'
File AlphaVSS.Win2008.x64.dll' targeting 'AMD64' is not compatible with th project's target platform 'x86'

我怎样才能让我的设置目标两个平台就像我的程序呢?

How can I make my setup target both platforms like my program does?

推荐答案

在安装项目创建的MSI(在Visual Studio)只能针对一次一个平台。你的选择是要么使2微星的,它们合并起来,并进行自定义安装启动strapper两者之间进行选择。
还有一些第三方产品,如高级安装例如,可以为你做到这一点。

The MSI created by the setup project (in Visual Studio) can only target one platform at a time. Your option is to either make 2 MSI's, merge them together and make a custom setup boot strapper that choose between the two. There are some 3rd party products,like Advanced Installer for example, that can do this for you.

这篇关于设置既面向x86和x64?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆