Can one edit an InstallShield setup.exe's manifest file?

狂风中的少年 提交于 2019-12-11 13:07:39

问题


I'm running into the Windows Vista/7 Program Compatibility Assistant problem described here:

"This program might not have installed correctly" message in Windows 7 RC

The solution (backed-up by similar questions elsewhere, and MSDN), is apparently to add a 'compatibility' section to setup.exe's manifest. InstallShield 10 SP1 does this automatically, but unfortunately I only have InstallShield 2009.

How would I go about editing the manifest? Is there a way to do this programmatically, so I can integrate it into my build?


回答1:


Look for the files named setupexe.*.manifest (Support or Program subfolder of InstallShield, I think) and edit or replace them. The appropriate one is selected and incorporated into setup.exe during build.




回答2:


Yes, just use mt.exe from the Windows SDK.




回答3:


a manifest file could be outside the exe, in the same path, or inside, in the resources of an exe.




回答4:


There is this tool from InstallShield that can update the manifest. Or a direct link here: isreman. The provided example manifests do not supply the application compatibility section, though.



来源:https://stackoverflow.com/questions/2931789/can-one-edit-an-installshield-setup-exes-manifest-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!