-
changeing ExecutionLevel in 2008helpful post 2009. 10. 20. 16:06반응형
I'm trying to manifest a project to require elevated privilges using the VS2008 Manifest tool, in project->properties->Manifest tool-> input and output->Additional Manifest Files i add my manifest file $(projectName).exe.manifest
<assembly>
<trustInfo xmlns="urn
chemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="requireAdministrator"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</
assembly>when i try to build the project i get:
manifest authoring error c1010001: Values of attribute "level" not equal in different manifest snippets.
which if i click on brings me to a compiler genarated manifest file where the requestedExecutionLevel is 'asInvoker', how do i get the compiler to use the level i specify?
Thanks
Hi phil,
I'm somewhat new to this, but I think that the settings in 'Configuration Properties->Linker->Manifest File' may be your solution. The 'UAC Execution Level' I think sets this for you in the generated .manifest file, and that by changing that to 'requireAdministrator' in the pulldown will get you the result you want...I think...but not sure...
Good luck!
-T.
반응형'helpful post' 카테고리의 다른 글
libmingwex.a(mbrtowc.o) : error LNK2001: __imp____lc_codepage 외부 기호를 확인할 수 없습니다. (0) 2010.02.02 Donkey Network Search (0) 2009.12.24 psychology of developer (0) 2009.09.24 in Forum about IPP with BMP (0) 2009.07.06 shared_memory_object use to Boost (0) 2009.06.30