Inno 设置 - 如何在设置悬停中更改版本?
Inno setup - how to change version in the setup hover?
我能够在 Inno 脚本中设置应用程序版本,并且在控制面板中正确显示。但是当我将鼠标悬停在安装文件本身上时,我没有得到正确的版本。它只是显示为 0.0.0.0。有什么区别?
如何在悬停显示中更改版本?你觉得我错过了什么?
在 [Setup]
部分添加 VersionInfoVersion
指令:
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{93A88F3C-324F-4BAF-B14C-85E44C59742E}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DisableProgramGroupPage=yes
OutputBaseFilename=setup
Compression=lzma
SolidCompression=yes
VersionInfoVersion=1.0.0.0
我能够在 Inno 脚本中设置应用程序版本,并且在控制面板中正确显示。但是当我将鼠标悬停在安装文件本身上时,我没有得到正确的版本。它只是显示为 0.0.0.0。有什么区别?
如何在悬停显示中更改版本?你觉得我错过了什么?
在 [Setup]
部分添加 VersionInfoVersion
指令:
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{93A88F3C-324F-4BAF-B14C-85E44C59742E}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DisableProgramGroupPage=yes
OutputBaseFilename=setup
Compression=lzma
SolidCompression=yes
VersionInfoVersion=1.0.0.0