Есть у кого-нибудь опыт ручной правки манифеста clikonce
От: vladpol Украина http://vlad-mislitel.livejournal.com/
Дата: 16.08.10 07:27
Оценка:
ОЧЕНЬ нужен совет..
При включении манифеста нативной dll-ки происходит ее удваивание и ошибка развертывания.

есть манифесты

  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
- <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <assemblyIdentity version="5.2.2.3" name="Microsoft.Windows.Networking.RtcDll" type="win32" publicKeyToken="6595b64144ccf1df" /> 
  <description>RTC Core DLL</description> 
- <dependency>
- <dependentAssembly>
  <assemblyIdentity version="5.2.2.3" name="Microsoft.Windows.Networking.Dxmrtp" type="win32" publicKeyToken="6595b64144ccf1df" /> 
  </dependentAssembly>
  </dependency>
- <dependency optional="yes">
- <dependentAssembly>
  <assemblyIdentity version="5.2.2.3" name="Microsoft.Windows.Networking.RtcRes" type="win32" publicKeyToken="6595b64144ccf1df" /> 
  </dependentAssembly>
  </dependency>
- <file name="rtcdll.dll" hash="96e06083790dd3b1d1eb45c4caaa0e630c47e9eb" hashalg="SHA1">
  <comClass description="RTCClient Class" clsid="{7a42ea29-a2b7-40c4-b091-f6f024aa89be}" threadingModel="Apartment" /> 
  <typelib tlbid="{cd260094-de10-4aee-ac73-ef87f6e12683}" version="1.1" helpdir="" /> 
  </file>
  </assembly>



<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
    <assemblyIdentity version="5.2.2.3" name="Microsoft.Windows.Networking.RtcRes" type="win32" publicKeyToken="6595b64144ccf1df"/>
    <description>RTC Resource DLL</description>
    <file name="rtcres.dll" hash="518ed3d5189ee0ffafd9b712c9ef04c824fe1362" hashalg="SHA1"></file>
</assembly>



<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="5.2.2.3" name="Microsoft.Windows.Networking.Dxmrtp" type="win32" publicKeyToken="6595b64144ccf1df"/>
<description>RTC DXMRTP DLL</description>
<file name="dxmrtp.dll" hash="b0c3db0d4668a66d862821bbb3a2f04e22e66aae" hashalg="SHA1">
<comClass description="codec handler" clsid="{1dcd0710-0b41-11d3-a565-00c04f8ef6e3}" threadingModel="Both"/>
<comClass description="DecodingHandler" clsid="{1dcd0711-0b41-11d3-a565-00c04f8ef6e3}" threadingModel="Both"/>
<comClass description="Tapi Audio Capture Filter" clsid="{581d09e5-0b45-11d3-a565-00c04f8ef6e3}" threadingModel="Both"/>
<comClass description="TAPI audio duplex device controller" clsid="{613ebf9e-c765-446f-bf96-7728ce579282}" threadingModel="Both"/>
<comClass description="Tapi Audio Decode Filter" clsid="{65439c20-604f-49ca-aa82-dc01a10af171}" threadingModel="Both"/>
<comClass description="Tapi Audio Encoder Filter" clsid="{8d5c6cb6-0b44-4a5a-b785-44c366d4e677}" threadingModel="Both"/>
<comClass description="Tapi Audio Render Filter" clsid="{44a3b142-cf81-42ea-b4d1-f43dd6f64ece}" threadingModel="Both"/>
<comClass description="Tapi Audio Mixer Filter" clsid="{ad4e63da-c3ef-408f-8153-0fc7d5c29f72}" threadingModel="Both"/>
<comClass description="TAPI Video Capture" clsid="{47a39f38-7f0f-4ce0-b788-d76b39fd6a4f}" threadingModel="Both"/>
<comClass description="TAPI H.26X Video Decoder" clsid="{145cb377-e7bb-4adf-bd42-a42304717ede}" threadingModel="Both"/>
<comClass description="Tapi RTP Source Filter" clsid="{5467edec-0cca-11d3-96e0-00104bc7b3a8}" threadingModel="Both"/>
<comClass description="Tapi RTP Render Filter" clsid="{323cdf3c-0cca-11d3-96e0-00104bc7b3a8}" threadingModel="Both"/>
</file>
</assembly>


при публикации формируется манифест основного приложения


<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly manifestVersion="1.0" xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1">
  <asmv1:assemblyIdentity version="1.0.0.27" name="helloWorld.exe" publicKeyToken="8ad8cd14a4b48a76" language="neutral" processorArchitecture="msil" type="win32" />
  <application />
  <entryPoint>
    <assemblyIdentity name="helloWorld" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
    <commandLine file="helloWorld.exe" parameters="" />
  </entryPoint>
  <trustInfo>
    <security>
      <applicationRequestMinimum>
        <PermissionSet class="System.Security.PermissionSet" version="1" Unrestricted="true" ID="Custom" SameSite="site" />
        <defaultAssemblyRequest permissionSetReference="Custom" />
      </applicationRequestMinimum>
      <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
        <!-- UAC Manifest Options
            If you want to change the Windows User Account Control level replace the 
            requestedExecutionLevel node with one of the following.

        <requestedExecutionLevel  level="asInvoker" uiAccess="false" />
        <requestedExecutionLevel  level="requireAdministrator" uiAccess="false" />
        <requestedExecutionLevel  level="highestAvailable" uiAccess="false" />

            If you want to utilize File and Registry Virtualization for backward 
            compatibility then delete the requestedExecutionLevel node.
        -->
        <requestedExecutionLevel level="asInvoker" uiAccess="false" />
      </requestedPrivileges>
    </security>
  </trustInfo>
  <dependency>
    <dependentOS>
      <osVersionInfo>
        <os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" />
      </osVersionInfo>
    </dependentOS>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
      <assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="2.0.50727.0" />
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
      <assemblyIdentity name="System.Core" version="3.5.0.0" publicKeyToken="b77a5c561934e089" language="neutral" processorArchitecture="msil" />
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
      <assemblyIdentity name="WindowsBase" version="3.0.0.0" publicKeyToken="31bf3856ad364e35" language="neutral" processorArchitecture="msil" />
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="helloWorld.exe" size="7680">
      <assemblyIdentity name="helloWorld" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>ZexiF5bi+6CQ+74YQd+GvUTU4+k=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Interop.RTCCORELib.dll" size="73728">
      <assemblyIdentity name="Interop.RTCCORELib" version="1.2.0.0" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>j+jzbYc/sK0AF//0nXNs66eE7ZM=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Microsoft.Windows.Networking.Dxmrtp.manifest" size="1849">
      <assemblyIdentity name="Microsoft.Windows.Networking.Dxmrtp" version="5.2.2.3" publicKeyToken="6595b64144ccf1df" type="win32" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>ZcCxPAQw0JEABELNuVTGQAvSYzQ=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Microsoft.Windows.Networking.RtcDll.manifest" size="1069">
      <assemblyIdentity name="Microsoft.Windows.Networking.RtcDll" version="5.2.2.3" publicKeyToken="6595b64144ccf1df" type="win32" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>LSFTPWX0QQZfkSnYRgg99OxiNRo=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Microsoft.Windows.Networking.RtcRes.manifest" size="418">
      <assemblyIdentity name="Microsoft.Windows.Networking.RtcRes" version="5.2.2.3" publicKeyToken="6595b64144ccf1df" type="win32" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>wFrkQ6Oepc3poGUeUGaXoctwh0g=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Native.RTCTestClient.manifest" size="2698">
      <assemblyIdentity name="Native.RTCTestClient" version="1.0.0.0" type="win32" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>5YKFbJ1KNT8rZgavp/q+NRI5AOk=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="RTCTestClient.dll" size="4096">
      <assemblyIdentity name="RTCTestClient" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>xMr/C8c3PyDOll5Jk92hKjLkAgA=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <file name="dxmrtp.dll" size="853504">
    <hash>
      <dsig:Transforms>
        <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
      </dsig:Transforms>
      <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
      <dsig:DigestValue>0N1/N4PQPSErRHHxJdIIY0VQMiY=</dsig:DigestValue>
    </hash>
  </file>
  <file name="rtcdll.dll" size="991232">
    <hash>
      <dsig:Transforms>
        <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
      </dsig:Transforms>
      <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
      <dsig:DigestValue>VmTfMszhMoxRlVWxNliAwPC0ESE=</dsig:DigestValue>
    </hash>
  </file>
  <file name="rtcres.dll" size="132096">
    <hash>
      <dsig:Transforms>
        <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
      </dsig:Transforms>
      <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
      <dsig:DigestValue>cKbQ7seSUycnqz2DRQkWT+7AE9Q=</dsig:DigestValue>
    </hash>
  </file>
  <publisherIdentity name="CN=Comp\Vlad" issuerKeyHash="ee188540283ba2605de617b43707fd21a803d476" />
<Signature Id="StrongNameSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>QHe5f1tkDJxR81EaW6/zXKF/pZM=</DigestValue></Reference></SignedInfo><SignatureValue>i3+omdZZpi4RS2Q370jhvw3plWdd5luJ/z4Bz5NH2K8f0erc4uqo5BdbUaUS2a+dI+WXKbI3s+nhE76wGKv5IuV0njoax7T6bLZsh3F2pBGwkr/D65x0FsMc+qBh+Ab2PsvZJ5PsN5VkjEW+FVHXQ+/BeFDiQ0hlNqXUo2/cyz4=</SignatureValue><KeyInfo Id="StrongNameKeyInfo"><KeyValue><RSAKeyValue><Modulus>5m1VniH6I8lKRqvG05nBVckHPFNU+HMgiZuqkqNyQLU+5j0G4UZAD/hsfuTbXj8aU2xMr53k163QFCSSZvDOysy6z20SE9f4sv6L11UG66wESLPMid4no/bab9d7XLgRqlkjacNC3UDgC3A8BTN86gWV/ZvOpTUaXRDWJe05R78=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><msrel:RelData xmlns:msrel="http://schemas.microsoft.com/windows/rel/2005/reldata"><r:license xmlns:r="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:as="http://schemas.microsoft.com/windows/pki/2005/Authenticode"><r:grant><as:ManifestInformation Hash="93a57fa15cf3af5b1a51f3519c0c645b7fb97740" Description="" Url=""><as:assemblyIdentity version="1.0.0.27" name="helloWorld.exe" publicKeyToken="8ad8cd14a4b48a76" language="neutral" processorArchitecture="msil" type="win32" /></as:ManifestInformation><as:SignedBy /><as:AuthenticodePublisher><as:X509SubjectName>CN=Comp\Vlad</as:X509SubjectName></as:AuthenticodePublisher></r:grant><r:issuer><Signature Id="AuthenticodeSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>z1uTX7lEb7AjFDXoL1BtnOyiuNc=</DigestValue></Reference></SignedInfo><SignatureValue>INZQ2+PorZUNcaJMD4It/fcK9LARYUhr+YoSidbWsbHJI/2UurD7S6TOhLO/oKSKbVPKnxyc4aAQ27wisvDLgG6isaZdrL6UrwSajPfJEUTip94bP+pm5d9uQhnqVwzvVhRfyoHcQA+0GtcbMgBIhh8ItomR0gX5LaHLQcIzqzQ=</SignatureValue><KeyInfo><KeyValue><RSAKeyValue><Modulus>5m1VniH6I8lKRqvG05nBVckHPFNU+HMgiZuqkqNyQLU+5j0G4UZAD/hsfuTbXj8aU2xMr53k163QFCSSZvDOysy6z20SE9f4sv6L11UG66wESLPMid4no/bab9d7XLgRqlkjacNC3UDgC3A8BTN86gWV/ZvOpTUaXRDWJe05R78=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><X509Data><X509Certificate>MIIBvTCCASagAwIBAgIQW21C+XohIoBCPudzc1H3fTANBgkqhkiG9w0BAQUFADAdMRswGQYDVQQDHhIAQwBvAG0AcABcAFYAbABhAGQwHhcNMTAwODE1MTYzOTAyWhcNMTEwODE1MjIzOTAyWjAdMRswGQYDVQQDHhIAQwBvAG0AcABcAFYAbABhAGQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOZtVZ4h+iPJSkarxtOZwVXJBzxTVPhzIImbqpKjckC1PuY9BuFGQA/4bH7k214/GlNsTK+d5Net0BQkkmbwzsrMus9tEhPX+LL+i9dVBuusBEizzIneJ6P22m/Xe1y4EapZI2nDQt1A4AtwPAUzfOoFlf2bzqU1Gl0Q1iXtOUe/AgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAnl4vaa6rWJetAETXwAKc0HMChGW47AbLb8P61I/r8YdUKg/ZtbktpVob8/Fy7RTkOxrNVjXsPy81NwEV9enNdm50HfhQNMuiuVRnBJkWG4WL7YTQxQIcOUMV7ew7XZiQ/CncmO5WMFIuQZxALcG9nvzAPGJw0fnjIclsC/Z9vLE=</X509Certificate></X509Data></KeyInfo></Signature></r:issuer></r:license></msrel:RelData></KeyInfo></Signature></asmv1:assembly>




Так вот при запуске получаю ошибку


The file 'C:\Documents and Settings\Administrator\Local Settings\Temp\Deployment\B3LA2Y6B.6MJ\8CN0HLDK.HKC\dxmrtp.dll' already exists.


Разные танцы с бубном пробовал, но все они закончились не удачно

Сроки горят

Посоветуйте в какую сторону копать

P.S. Как на РСДН делать скрытый текст?
С уважением, Владислав Полищук
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.