I was wondering about using a manifest file with a 64-bit exe. A couple of things, I have seen "processorArchitecture" as "AMD64", is this correct? Another post here
says something about using "processorArchitecture=*". The other thing is with using common controls 6, is the info in the 32-bit manifest the same for x64?
Also curious as to what happens with a manifest asking for administrator under XP Pro 64-bit. Will it bring up a "run as" dialog or is that a vista+ thing?
I've seen Greg's code which does bring up the dialog but will a manifest have the same effect without code?
Quote from: sinsi on March 12, 2010, 07:22:56 AM
A couple of things, I have seen "processorArchitecture" as "AMD64", is this correct? Another post here
says something about using "processorArchitecture=*". The other thing is with using common controls 6, is the info in the 32-bit manifest the same for x64?
here's a manifest for an x64 program as generated by vs 2008:
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="false"></requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="amd64" publicKeyToken="6595b64144ccf1df" language="*"></assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>
QuoteAlso curious as to what happens with a manifest asking for administrator under XP Pro 64-bit. Will it bring up a "run as" dialog or is that a vista+ thing?
I've seen Greg's code which does bring up the dialog but will a manifest have the same effect without code?
it will just run, even on a limited account.
Thanks for that my friend. The only thing different is 'amd64' instead of 'x86'.
sinsi, try use:
processorArchitecture="*"
This must be one thing for any architecture.
Alex
For the processorArchitecture element is should be "ia64".
http://msdn.microsoft.com/en-us/library/aa374191%28VS.85%29.aspx
"ia64" is Itanium. I think that part of that documentation was overlooked. It should be "amd64".