【发布时间】:2011-06-27 11:33:40
【问题描述】:
我有 NSIS 安装程序,我需要 MSI 3.1 来安装 C++ 运行时。
如果找不到安装程序或它已过时,我会显示消息框。 代码如下:
Section "Install"
GetDLLVersion "$SYSDIR\msi.dll" $R0 $R1
${If} $R0 < 0x00030001 ;require version 3.1 or higher of MSI Installer
MessageBox MB_ICONINFORMATION|MB_OK "Windows Installer 3.1 or higher is required. Please install or update your Windows Installer" IDOK "exit"
${EndIf}
标签出口就在 SectionEnd 之前。
如何将自定义文本添加到 NSIS 状态文本框中(关于正在解压的文件的信息正在滚动的位置)?现在只有“已完成”文本。
【问题讨论】:
标签: windows-installer nsis status