MSI, App-V, SCCM, Appsense, Citrix. This blog contains hints and tips on these technologies. Primarily it is an online notebook of items that I may need to refer to in the future, or things I constantly forget!
Tuesday, December 3, 2013
Corflags.exe - correcting problems running 32-bit .NET apps in App-V
Corflags.exe is a tool in the the .NET SDK which can specifically apply 32-bit identification headers to existing 32-bit .NET exe assemblies. If the 32-bit id flags are not present it can prevent 64-bit Windows from properly launching 32-bit programs.
Sometimes a 32-bit application will launch correctly when locally installed on a 64-bit copy of Windows, however it may exhibit errors when it is sequenced and running in an App-V bubble.
http://www.pcpro.co.uk/blogs/2009/08/06/when-32-bit-apps-dont-work-on-64-bit-windows/
http://msdn.microsoft.com/en-us/library/ms164699(v=vs.80).aspx
http://www.microsoft.com/en-us/download/details.aspx?id=19988
This command displays the current flags.
corflags.exe <filename.exe>
This command sets the 32-bit flag.
corflags.exe <filename.exe> /32BIT+