DNS
DNS

Reputation: 38189

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

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?

Upvotes: 1

Views: 10236

Answers (4)

user281806
user281806

Reputation: 1030

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.

Upvotes: 1

Michael Urman
Michael Urman

Reputation: 15905

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.

Upvotes: 2

saschabeaumont
saschabeaumont

Reputation: 22426

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

Upvotes: 1

OlimilOops
OlimilOops

Reputation: 6797

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

Upvotes: 0

Related Questions