先发个截图看看情况:
现在我想要实现的效果是: 当鼠标悬停到这个安装包上时, 这些信息当中的文件版本与我的安装包版本一致, 即1.0.19.0。
解决方法:
在描述中的[Setup]段中加入参数VersionInfoVersion=1.0.19.0即可, VersionInfoVersion是负责指明上面图片中的文件版本的。下面给出我的部份Script内容:
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "TestTool"
#define MyAppVersion "1.0.19.0"
#define MyAppPublisher "Veiko"
#define MyAppURL "http://www.xxxxx.com"
#define MyAppExeName "test.exe"
#define MyProjPath "."
[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={
{8C28414E-3A1C-415B-85F9-E2353F672EE3}
AppN