简体   繁体   English

如何使用VS 2015的InstallShield LE显式定位x86环境

[英]How to explicit target an x86 environment with InstallShield LE for VS 2015

Since the "default" Setup-Project-Type is now longer officially supported by Microsoft in VS 2015, i'm trying to deal with InstallShield LE 2015 - delivered with VS2015. 由于Microsoft在VS 2015中现在不再正式支持“默认” Setup-Project-Type,因此我尝试处理VS2015附带的InstallShield LE 2015

I have created an Outlook AddIn, which i want to deploy on x86 AND x64 machines. 我创建了一个Outlook加载项,我希望将其部署在x86和x64机器上。
As far as i understand, it's not possible with the Limited-Edition to create one single setup for both environments - not really convinient, but OK for my needs. 据我了解, 限量版无法为两种环境创建一个单一的设置 -不太方便,但可以满足我的需求。

So i have created an InstallShieldProject which runs on x64 environments as expected on my W10x64. 因此,我创建了一个InstallShieldProject ,它可以在W10x64上按预期在x64环境中运行。 But now i want to create a x86 Setup : 但是现在我想创建一个x86安装程序
I have changed the Platform target for all Projects from Any CPU to x86 and also created a new Configuration at the Configuration Manager to target x86 explicit. 我已经将所有项目的Platform targetAny CPU更改为x86并且还在Configuration Manager创建了一个新的配置 ,以明确地目标x86。
But the resulting MSI (Setup) doenst executes under an x86 environment: With the default "Platform not supported" message - on x64 everything works fine. 但是,生成的MSI(安装程序) doenst executes under an x86 environment:使用默认的“不支持平台”消息-在x64上,一切正常。

Whow do i create a Setup for an x68 environment with InstallShield LE 2015? 我应该使用谁通过InstallShield LE 2015为x68环境创建安装程序?

(The "Setup.exe"-Bootstrapper from IS-LE runs under x86, but not the containing MSI) (IS-LE的“ Setup.exe” -Bootstrapper在x86下运行,但不包含MSI)

To create a 32-bit package, you merely have to remove all items that are being installed into 64-bit file or registry locations. 要创建32位程序包,只需删除要安装到64位文件或注册表位置的所有项目。 See also my answer to this related but not quite duplicate question where I go into further detail. 另请参阅我对这个相关但并非完全重复的问题的回答,在此我将进行更详细的介绍。

Or my employer is willing to sell you a more powerful version of InstallShield that lets you specify a platform for your .msi file, but if this is your only reason to upgrade... 或者我的雇主愿意向您出售功能更强大的InstallShield版本,该版本可以让您为.msi文件指定平台,但是如果这是您升级的唯一理由...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM