In Vista, startup an application that need to elevate UAC power, there are
two kinds dialog box:
1. this application need to permission to contine.
2. Unknow application to access your computer.
I know how to do for the second way, embed the xml code below, but how to
do for the first way? thank you
<?xml version="1.0" encoding="UTF-8" standalone="yes "?>
<assembly xmlns="urn:sche mas-microsoft-com:asm.v1" manifestVersion ="1.0">
<description>Yo urAppName Application</description>
<!-- Identify the application security requirements. -->
<trustInfo xmlns="urn:sche mas-microsoft-com:asm.v2">
<security>
<requestedPrivi leges>
<requestedExecu tionLevel level="requireA dministrator"
uiAccess="false "/>
</requestedPrivil eges>
</security>
</trustInfo>
</assembly>
two kinds dialog box:
1. this application need to permission to contine.
2. Unknow application to access your computer.
I know how to do for the second way, embed the xml code below, but how to
do for the first way? thank you
<?xml version="1.0" encoding="UTF-8" standalone="yes "?>
<assembly xmlns="urn:sche mas-microsoft-com:asm.v1" manifestVersion ="1.0">
<description>Yo urAppName Application</description>
<!-- Identify the application security requirements. -->
<trustInfo xmlns="urn:sche mas-microsoft-com:asm.v2">
<security>
<requestedPrivi leges>
<requestedExecu tionLevel level="requireA dministrator"
uiAccess="false "/>
</requestedPrivil eges>
</security>
</trustInfo>
</assembly>
Comment