0

Actually, trying to set a Version Info, for self extractor created through IExpress. After searching I got the following LINK, whereas, it does not recognize the values from Version Section, default values from Wextract.exe are being published every time. Seems to be IExpress ignoring the [VersionSection]. I tried the following in the SED File.

[Options]
VersionInfo=VersionSection;
[VersionSection]
FromFile=MYApp.MSI;

Please help me to resolve the issue. Thanks in advance.

1 Answers1

2

First, you need to remove those semicolons.

Second, the FromFile needs to have the right type of version information. MSI files don't seem to have this information. When you view a file's properties there should be a Version tab if the file has version information. (You can see easily enough that MSI files lack this tab, and thus that version information.)

A working example:

[Options]
VersionInfo=VersionSection
[VersionSection]
FromFile=notepad.exe

For those curious, iexpress.exe reads the version information from the FromFile using the GetFileVersionInfo API. There's a great worked example here on Stack Overflow.

Community
  • 1
  • 1
fission
  • 1,170
  • 18
  • 35