Re: FUSION error



I never validated the manifest besides of testing it, I just included it to
the .RC file and did nothing else.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com

"Theo Landman" <tlandman_NO_SPAM@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23y0ZEFniIHA.5152@xxxxxxxxxxxxxxxxxxxxxxx
Hello,

I'm trying to compile a console application that should run on various
Windows OSs including Vista for x64. Because of Vista I need to embed a
manifest file. However using the build tool with the DDK 3790.1830 I get
an error

2>NMAKE : U1234: 'FUSION_MANIFEST_VALIDATOR' :
objfre_wnet_AMD64\amd64\regpmc.m
an(11) - Element content is invalid according to the DTD/Schema.

The manifest I try to embed is as follows
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version=SXS_ASSEMBLY_VERSION
processorArchitecture=SXS_PROCESSOR_ARCHITECTURE
name=SXS_ASSEMBLY_NAME
type="win32"
/>
<description>Port Monitor registration command line tool</description>
<asmv2:trustInfo xmlns:asmv2="urn:schemas-microsoft-com:asm.v2">
<asmv2:security>
<asmv2:requestedPrivileges>
<asmv2:requestedExecutionLevel
level="asInvoker"
uiAccess="false"/>
</asmv2:requestedPrivileges>
</asmv2:security>
</asmv2:trustInfo>
</assembly>

The problem seems to be that the validator doesn't accept the asmv2
construction. I tried to work around this by declaring the whole
assembly urn:schemas-microsoft-com:asm.v2 but this causes x64 executable
to run under Windows XP x64. Is there anyway around this?

Kind regards,
Theo

.



Relevant Pages

  • Re: How to embed a Manifest File?
    ... If you embed the manifest, ... It is also why LINK.EXE has specific options for designating "load from network" and "load from CD" that tell Windows what to expect. ... However there is much more to an application or assembly manifest than "XP styles" or even COM type information and DLL or assembly redirection. ...
    (microsoft.public.vb.general.discussion)
  • Re: Event viewer Account specified is different" errors
    ... Older Windows applications use the older Windows ... ..MANIFEST file, which is an XML document, can be created to tell XP to use ... under the proper account. ...
    (microsoft.public.windowsxp.general)
  • Re: CCombobox with 2 colors of text in each entry
    ... It's just a matter of adding a Common Control Manifest to the project. ... MS Sans Serif will be used in the windows which looks poor. ... To use the newer UI fonts, edit the .rc file and replace the ...
    (microsoft.public.vc.mfc)
  • Re: Problem mit Shell Extension DLL und Windows XP Style
    ... Das Manifest unter der ID 2 eingebunden. ... welche in den Detail Dialog von Windows ... dann ist er im normalen Windows Style. ...
    (microsoft.public.de.vc)
  • Re: XP themes for WindowsForm invoked from dll (Shell)
    ... it works great with exe files but it ... Tried to use manifest file for .dll but it doesn't work... ... You'll have to create an activation context to enable Windows XP visual ...
    (microsoft.public.dotnet.framework.windowsforms)