Edit fileInfo of exe created using Iexpress by mod

2019-08-08 06:13发布

I have been able to merge my .msi and exe files to a single exe file using the IExpress wizard and been able to install the exe on target machines without any issues.

While i noticed the FileInformation of the exe file created using the IExpress tool , i noticed one thing that the few properties are by default like Product Name , Company name ,File Description, Copyright etc . They are using default values like Internet Explorer, Microsoft etc and can we edit these values?

Some research shows that editing sed files will help to fix this issue , and i editted the sed file by adding an extra section like this by opening on notepad

VersionInfo=VersionSection
[VersionSection]
Internalname=My.exe
OriginalFilename=mytest.exe
FileDescription=%FileDesc%
CompanyName=MyComp
ProductName=MyComp-App
LegalCopyright=@C 2015
[Strings]
FileDesc="My lovely description"

Saved the notepad and opened the exe , but changes are not reflecting . How can i do it properly ? Also do i need to share this sed file also with end users to see the proper FileInfo?

1条回答
我欲成王,谁敢阻挡
2楼-- · 2019-08-08 07:02

You need to add the IExpress command to your post-build step.

Here is a screenshot of a project showing the packaging order if you're also going to sign your deliverables.

enter image description here

Hope that helps.

查看更多
登录 后发表回答