One of our project builds runs post build events which essentially do the following
Code: Select all
"..\..\..\Library\Third party\madCollection\madExcept5\Tools\madExceptPatch.exe" /restoreFileTime "C:\PC4\License64\PC4LicGUI.exe" "C:\_svn\trunk_xe_D11.0\Riemann\LicenseServer\Service\PC4LicGUI.mes" "C:\PC4\License64\\PC4LicGUI.map"
"C:\_svn\trunk_xe_D11.0\Library\Third party\\Microsoft\mt.exe" -manifest "C:\_svn\trunk_xe_D11.0\Riemann\LicenseServer\Service\PC4LicGui.base.manifest" -outputresource:"C:\PC4\License64\PC4LicGUI.exe"
Microsoft (R) Manifest Tool
Copyright (c) Microsoft Corporation.
All rights reserved.
mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "C:\PC4\License64\PC4LicGUI.exe". The file or directory is corrupted and unreadable.
Error: Adding manifest(s) failed, error code 31
Reverting changes to jcl\source\common\JclUnicode.* files (.pas, .rc, .res) makes the problem go away and I subsequently discovered that not running the madExceptPatch.exe also makes the problem go away (but is not desirable)
Is there a bug with madExcept patching that's likely to be causing this failure?