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?
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.
Yes, just use mt.exe from the Windows SDK.
a manifest file could be outside the exe, in the same path, or inside, in the resources of an exe.
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.