Today I got stuck publishing apps that had icons in the %windir%\System32\ folder on the XenApp server. There are a couple ways around this but my personal favorite is to reference sysnative.
So lets say your trying to publish the TS Licensing Manager, the exe only sits in the 64 bit OS Path on 2008r2
You try and fix up the icon and you get
So to fix this we change the path to
and we get the icon.
For more information check out the following links: