U7 manifest file for some VB6 applications

I have an old VB6 application that should work on Windows 7 (with the UAV level set at the default level, 3 of 4 IMHO). It has the ability to update itself, and Windows 7 now complains that it will change the computer (at least windows 7 here).

I was able to run it on Vista with some kind of manifest file, but now that doesn't work anymore (that's the intended behavior if I think about it).

The manifest file 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="1.1.0.24" processorArchitecture="X86" name="IKOfficeAppStarter" type="win32"/>
    <description>IKOffice Starter</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="asInvoker" uiAccess="true"/>
            </requestedPrivileges>
        </security>
    </trustInfo>
</assembly>

      

the manifest can be found next to the exe "IKOffice Starter.exe" and is called "IKOffice Starter.exe.manifest" which should be okey.

Currently, the Shield icon has disappeared from my .exe, but when you try to start the software, I get the message "Der angeforderte Vorgang erfordert höhere Rechte" or translated into English "the required operation requires height".

What can I do to stop windows hitting me so I can install this application on our clients' computers. Hey, I already told Windows to run it as Invoker, so why is it still complaining?

+2


a source to share


2 answers


and Windows 7 now complains that it will change the computer



Was the Dinn Day program so Schlimmes? in the Register, or in the irgendwelche Verzeichnisse schreiben wo es nicht hindarf? behebe diesen "Fehler" indem Du das Programm umschreibst.

+1


a source


Where does the error message come from? Windows or VB 6 app? Can a VB6 app say "hey, you're controlling me like an invoker, but I need to be run over"? After all, VS2008 does it. Or do you think Windows is telling you this?



Also I doubt you need uiAccess = true and since manifests tend to get copied from project to project make it false.

+1


a source







All Articles