Hi,
Can we add manifest files to the set-up control panels for both Mediaportal and TV-engine, so that instead of the ugly elevation prompt we get a more beautiful one?
.NET Security Blog : Adding a UAC Manifest to Managed Code
Windows Vista Application Development Requirements for User Account Control Compatibility
http://www.microsoft.com/downloads/d...displaylang=en
See Step Six: Create and Embed an Application Manifest with Your Application, p63
Quote:
Executable: IsUserAdmin.exe
Manifest:IsUserAdmin.exe.manifest
Sample application manifest file:
<?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.0"
processorArchitecture="X86"
name="IsUserAdmin"
type="win32"/>
<description>Description of your application</description>
<!-- Identify the application security requirements. -->
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="requireAdministrator"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
|