I use Inno Setup for my installers. I have a problem with VersionInfo inside unins000.exe
. For filling VersionInfo in installer I used directives AppPublisher
, AppCopyright
and etc. But it doesn't affect setup uninstaller unins000.exe
.
Google and help doesn't know anything about this issue. I investigated Inno Setup sources and found appending VersionInfo just for setup file:
{ 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;
But I can't found this routines in uninstaller compile code.
Anybody know, is possible place version info to unins000.exe
?
Thank you!