windows - 32 位 NSIS 是否可以启动 64 位程序?

标签 windows installation nsis

我正在从 32 -> 64 位移植一个 Windows 程序。它有一个使用 NSIS 编写的 32 位安装程序。我可以使用 32 位 NSIS 安装程序启动我的新 64 位 exe 之一吗?我认为没有 64 位版本的 NSIS...

最佳答案

当然可以,NSIS 不施加任何限制,NSIS 的真正妙处在于,如果您同时拥有 32 位和 64 位版本的应用程序,您可以执行组合安装程序,并将所需的文件安装在每个架构基础。例如

!include "x64.nsh"

${If} ${RunningX64}
    File ..\x64\blah.exe
${Else}
    File ..\x86\blah.exe
${EndIf}

关于windows - 32 位 NSIS 是否可以启动 64 位程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1700525/

相关文章:

c# - 消息模式下的 NamedPipeClientStream 永远不会将 IsMessageComplete 设置为 true

windows - FATAL : No bootable medium found! 系统停止

Windows 上的 Rpy2

.net - NSIS 脚本 - 下载 .NET 框架、DirectX

WiX 刻录引导运行不同的 InstallCommand 参数进行静默安装

windows - 无法覆盖 Meteor absoluteUrl?

c - Linux 和 Windows 上结构的不同值

android - 更改 ic_launcher.png 导致应用程序损坏

ruby - 尝试安装 pg gem : Brew bad interpreter error and not existing ruby version 时

installation - 如何读取提供给卸载程序的命令行参数?