在基本MSI项目中从InstallShield显示消息“安装程序需要64位处理器" [英] Show message “Setup requires a 64Bit processor” from InstallShield in basic MSI project

查看:99
本文介绍了在基本MSI项目中从InstallShield显示消息“安装程序需要64位处理器"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用InstallShield 11并为64位计算机创建一个基本的MSI项目.
当我在32位计算机上运行安装程序时,Windows安装程序显示一条消息,
处理器不支持此安装程序包."
现在的问题是,我希望InstallShield安装程序改为显示另一条消息:

I am using InstallShield 11 and creating a basic MSI project for a 64 Bit machine.
When I run my setup on a 32 Bit machine, the Windows installer shows a message that
"This installation package is not supported by the processor."
Now the problem is that I want the InstallShield setup to show another message instead:
64bit processor required!

推荐答案

此消息由Windows Installer自动显示,无法自定义.

如果您确实想要自定义消息,则可以尝试以下方法:

创建一个自定义EXE引导程序,该程序确定目标平台是32位还是64位
如果是32位,则显示您的自定义消息
如果是64位,则启动MSI程序包

没有预定义的解决方案,因此您需要自己编写EXE.我个人认为这不值得.
This message is shown automatically by Windows Installer and cannot be customized.

If you really want a custom message, you can try this approach:

create a custom EXE bootstrapper which determines if the target platform is 32-bit or 64-bit
if it''s 32-bit show your custom message
if it''s 64-bit launch the MSI package

There is no predefined solution, so you would need to write the EXE yourself. Personally, I don''t think it''s worth it.


这篇关于在基本MSI项目中从InstallShield显示消息“安装程序需要64位处理器"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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