可以编辑InstallShield setup.exe的清单文件吗? [英] Can one edit an InstallShield setup.exe's manifest file?
问题描述
我遇到了此处描述的Windows Vista/7程序兼容性助手问题:
I'm running into the Windows Vista/7 Program Compatibility Assistant problem described here:
"此程序可能尚未正确安装" Windows 7 RC中的错误消息
该解决方案(由其他地方的类似问题以及MSDN支持)显然是在setup.exe的清单中添加了兼容性"部分. InstallShield 10 SP1会自动执行此操作,但是很遗憾,我只有InstallShield 2009.
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?
推荐答案
查找名为setupexe.*.manifest(我认为是InstallShield的Support或Program子文件夹)的文件,然后进行编辑或替换.在构建过程中,选择了合适的一个并将其合并到setup.exe中.
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.
这篇关于可以编辑InstallShield setup.exe的清单文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!