通过修改sed文件编辑使用Iexpress创建的exe的fileInfo [英] Edit fileInfo of exe created using Iexpress by modifying sed file
问题描述
我已经能够使用IExpress向导将.msi和exe文件合并到一个exe文件,并且能够在目标机器上安装exe,而没有任何问题。
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.
虽然我注意到使用IExpress工具创建的exe文件的FileInformation,但我注意到一些事情,默认情况下,如产品名称,公司名称,文件描述,版权等。他们正在使用默认值,如Internet Explorer,Microsoft等,我们可以编辑这些值吗?
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?
一些研究表明,编辑sed文件将有助于解决这个问题,我编辑通过在记事本上打开,添加一个额外的部分的sed文件
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"
保存记事本并打开了exe,但是变化并没有反映出来。
我该怎么办?另外我还需要与最终用户共享这个sed文件以查看正确的FileInfo?
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?
推荐答案
您需要添加IExpress命令您的后期制作步骤。
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.
希望有帮助。
这篇关于通过修改sed文件编辑使用Iexpress创建的exe的fileInfo的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!