Recently, I encountered a very strange issue, this issue only happens in XP SP3 and Vista. Here is my steps:
- List item
- Create two new folders in desktop(assume folder names are A and B)
- Copy Microsoft GraphEdit(graphedt.exe) application to A folder, then create a empty “graphedt.exe.manifest” file as well. Run graphedt.exe, you will see a error message, the graphed.exe can’t run due to the wrong manifest.
- Copy Microsoft GraphEdit(graphedt.exe) application to B folder, run graphedt.exe and close it, then create a empty “graphedt.exe.manifest” file, run graphedt.exe again, you will see the manifest file can’t apply to graphedt.exe. But if you change the last modified time of graphed.exe, the manifest will work again.
It seems MS will remember the status whether the EXE use manifest file in the first time, MS will reset the old remembered status if you change the EXE size or last modified date, I’m confusing it.