Re: Using VC8 linker to generate isolated app manifest with dependencies.



Hi Geogre,

Thank for your response!

What hash is used? Is it the hash generated by the
CryptCATAdmin* functions or just a simple hash of
the whole file?

Would you address specifically this part of my post.

You can use the platform SDK utility Mt.exe to generate hash. It is
available in Windows 2000 and Windows XP.

Mt.exe generates hashes using the CryptoAPI implementation of the Safe Hash
Algorithm (SHA-1). The generated Hashes are inserted as a hexadecimal
string into the <file> tags in the manifest. I suggest you refer to the
following platform SDK documentation for the details:

Mt.exe
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sbscs/setup
/supported_microsoft_side_by_side_assemblies.asp

By the way, I am afraid my first reply missed the point that the VS2005 has
already integrated the platform SDK's manifest tool. You can access that
option in the project Property Pages dialog. On the Configuration
Properties tab, click Linker, then Manifest File, then Generate Manifest...

One related MSDN documention on this topic is as the following:

Manifest Generation in Visual Studio
http://msdn2.microsoft.com/en-us/library/ms235229.aspx

I hope the above information helps, if you have any questions or concerns,
please do not hesitate to let me know. I am standing by to help you.

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • ClickOnce and Side-by-Side com components
    ... + Parsing and DOM creation of the manifest resulted in error. ... COMPONENT STORE TRANSACTION FAILURE SUMMARY ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Does .NET detect alterations to an assembly?
    ... "The common language runtime also performs a hash verification; ... of each file as it existed when the manifest was built. ... > Please do not send email directly to this alias, ... will the alteration at least be ...
    (microsoft.public.dotnet.security)
  • RE: Question on Mage.exe
    ... using mage.exe to update the manifest for my ClickOnce application. ... has either a different computed hash than the one specified or no hash ... deploymentManifest, String targetDir, Uri deploymentUri, ...
    (microsoft.public.dotnet.general)
  • Clickonce file association
    ... I'm having difficulty implementing a Clickonce deployment with file ... the manifest may not be valid or the file could not be opened. ...
    (microsoft.public.dotnet.general)
  • Re: XP theme without manifest file?
    ... You can include the manifest in your app's resource script. ... article how to do it in Platform SDK, but I don't have the link right now. ... Prev by Date: ...
    (microsoft.public.win32.programmer.ui)