Announcement

Collapse
No announcement yet.

VISTA-Manifest for CPL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    VISTA-Manifest for CPL

    I have inserted the following manifest file in the program resource file (pbr) because of the VISTA UAC manager:

    Code:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
        <assemblyIdentity 
            version="1.0.0.0000" 
            processorArchitecture="X86" 
            name="My.Program.Name" 
            type="win32" />
        <description>MyProgram Description</description>
        <dependency>
            <dependentAssembly>
                <assemblyIdentity 
                    type="win32" 
                    name="Microsoft.Windows.Common-Controls" 
                    version="6.0.0.0" 
                    processorArchitecture="X86" 
                    publicKeyToken="6595b64144ccf1df" 
                    language="*" />
            </dependentAssembly>
        </dependency>
        <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
            <security>
                <requestedPrivileges>
                    <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
                </requestedPrivileges>
            </security>
        </trustInfo>
    </assembly>
    However, the manifest file does not work for a system control program (cpl).

    What is there for a trick?

    #2
    I tell it to myself:
    I have packed the main function into an exe. This exe is invoked only by the CPL.
    Through this I do not need a manifest file for the CPL program - only for EXE.

    Comment

    Working...
    X
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎