【发布时间】:2018-05-04 00:33:29
【问题描述】:
我为我的安装程序使用 Inno Setup。 unins000.exe 中的 VersionInfo 有问题。为了在安装程序中填充 VersionInfo,我使用了指令 AppPublisher、AppCopyright 等。但它不影响安装程序卸载程序 unins000.exe。
Google 和帮助对这个问题一无所知。我调查了 Inno Setup 源,发现仅为安装文件附加 VersionInfo:
{ Update version info }
AddStatus(SCompilerStatusUpdatingVersionInfo);
UpdateVersionInfo(ExeFile, VersionInfoVersion, VersionInfoProductVersion, VersionInfoCompany,
VersionInfoDescription, VersionInfoTextVersion,
VersionInfoCopyright, VersionInfoProductName, VersionInfoProductTextVersion);
{ For some reason, on Win95 the date/time of the EXE sometimes
doesn't get updated after it's been written to so it has to
manually set it. (I don't get it!!) }
UpdateTimeStamp(ExeFile.Handle);
finally
ExeFile.Free;
end;
end;
{ Sign }
if SignTools.Count > 0 then begin
AddStatus(SCompilerStatusSigningSetup);
Sign(ExeFileName);
end;
except
EmptyOutputDir(False);
raise;
end;
但是我在卸载程序编译代码中找不到这个例程。
有人知道,可以把版本信息发给unins000.exe吗?
谢谢!
【问题讨论】:
标签: inno-setup