Here is a batch file which creates such a manifest file:
@echo off
rem (c) 2008 Cristian Adam
if [%1] == [] (
echo Usage: make_manifest file.exe
) else (
if exist %1.manifest goto :EOF
echo ^<?xml version="1.0" encoding="UTF-8" standalone="yes" ?^> >> %1.manifest
echo ^<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"^> >> %1.manifest
echo ^<description^>Windows Forms Common Control manifest^</description^> >> %1.manifest
echo ^<dependency^> >> %1.manifest
echo ^<dependentAssembly^> >> %1.manifest
echo ^<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*" /^> >> %1.manifest
echo ^</dependentAssembly^> >> %1.manifest
echo ^</dependency^> >> %1.manifest
echo ^</assembly^> >> %1.manifest
)
And now a screenshot to show the before and after state:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiAxM3i_wtEuvoUEroeYwdEEV6mbnkj3hHyJ03xC8Jet9uj7lQ-hB5kqACg_WCBBHuHNDLwx7SrRg4vWFM18Fowa0O8dMh6TnqNmsp5GU-B62VLjtwc5uksQ-dN8dQiy7Np2Qu/s320/manifest_diff.png)