Pregunta

Using Inno Setup version 5.2.3. I need to update the manifest resource that is embedded in my setup.exe.

I need to add some features required by a compatibility testing program used by our client:

  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
    <application>
      <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
      <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
      <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
    </application>
  </compatibility>

I know there is an OutputManifestFile key. but is there an InputManifestFile or similar?

¿Fue útil?

Solución

Those GUIDs represent "my application is fully compatible with (and tested on) these versions of Windows". Patching the resource on an old version of an Inno installer would be lying, and you should not do that.

Instead, you should upgrade to the latest version of Inno. This already contains these GUIDs in its manifest because it has indeed been updated and tested on those versions of Windows.

Note that similar rules apply to your application: you should not include those values in your application's manifest without committing to test on those versions.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top