I mean doing this in a InstallScript project so the installer would exit in the first place if it's not running with correct processor type.
我的意思是在InstallScript项目中执行此操作,因此如果安装程序没有以正确的处理器类型运行,安装程序将首先退出。
I found it'll be easy if it's a InstallScript MSI project, just modify the "Template summary" field, while this options is not there in InstallScript project.
我发现如果它是一个InstallScript MSI项目会很容易,只需修改“模板摘要”字段,而在InstallScript项目中没有这个选项。
I have some requirements which could be met perfectly by InstallScript project type so I cannot git it up.
我有一些要求可以通过InstallScript项目类型完美地满足,所以我不能git它。
Thank U in advance for your advices.
提前感谢您的建议。
1 个解决方案
#1
1
In InstallScript you often have to roll your own behavior. In this case, it's easy: just check the SYSINFO struct for the parameters you require, and provide appropriate messaging and abort (or continue). In this case it's probably SYSINFO.bIsWow64
.
在InstallScript中,您经常需要滚动自己的行为。在这种情况下,很简单:只需检查SYSINFO结构以获取所需的参数,并提供适当的消息传递和中止(或继续)。在这种情况下,它可能是SYSINFO.bIsWow64。
#1
1
In InstallScript you often have to roll your own behavior. In this case, it's easy: just check the SYSINFO struct for the parameters you require, and provide appropriate messaging and abort (or continue). In this case it's probably SYSINFO.bIsWow64
.
在InstallScript中,您经常需要滚动自己的行为。在这种情况下,很简单:只需检查SYSINFO结构以获取所需的参数,并提供适当的消息传递和中止(或继续)。在这种情况下,它可能是SYSINFO.bIsWow64。