【问题标题】:NSIS: adding custom text into status text boxNSIS:将自定义文本添加到状态文本框中
【发布时间】: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


    【解决方案1】:

    DetailPrint(您可以使用 SetDetailsPrint 控制打印位置)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-11-10
      • 1970-01-01
      • 1970-01-01
      • 2020-01-22
      • 2013-06-06
      • 2018-11-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多