Inno setup - 如何在设置悬停中更改版本?

巴拉吉·维涅什

我能够在 Inno 脚本中设置应用程序版本,并在控制面板中正确显示。但是当我将鼠标悬停在安装文件本身上时,我没有得到正确的版本。它只是显示为 0.0.0.0。有什么区别?

在此处输入图片说明

如何更改悬停显示中的版本?你认为我缺少什么?

桃金娘

VersionInfoVersion在您的[Setup]部分添加指令

[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

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章