none
Embedding manifest in the applications for VISTA RRS feed

  • Question

  • HI All

    I want to run an application which should be run on VISTA without right clicking the tab "Run As Administrator".
    What i mean to say that , my application should run with just double clicking the exe.

    The below is the updated manifest which i had embedded in my application.
    But unfortunately, it is not working.I had seen insome forums that it worked.Can somebody please give me some pointers ??

    ------------------------------------------MANIFEST---------------------------------------------------------------------------------

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
      <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
        <security>
          <requestedPrivileges>
            <requestedExecutionLevel level="requireAdministrator" uiAccess="false"></requestedExecutionLevel>
          </requestedPrivileges>
        </security>
      </trustInfo>
      <dependency>
        <dependentAssembly>
          <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="x86" publicKeyToken="6595b64144ccf1df" language="*"></assemblyIdentity>
        </dependentAssembly>
      </dependency>
    <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> 
          <security>
            <requestedPrivileges>
              <requestedExecutionLevel
                level="requireAdministrator"/>
            </requestedPrivileges>
          </security>
       </trustInfo>
    </assembly>

    --------------------------------------------------------------------------------------------------------------------------------------------
    • Moved by Kevin Woley Friday, July 10, 2009 6:18 PM to find the right forum (From:Windows Events)
    Thursday, July 9, 2009 7:25 AM

Answers

All replies