plwin.exe.manifest to prevent windows vista from asking to execute

View: New views
1 Messages — Rating Filter:   Alert me  

plwin.exe.manifest to prevent windows vista from asking to execute

by Uwe Lesta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Windows Vista users


I just update SWI-Prolog and Vista ask me again if it should be executet each time i start it.

Here is what you can do to suppress it.

create a file named 'plwin.exe.manifest' with the following content in the bin folder beside plwin.exe
----------------
<?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.v3">
     <security>
       <requestedPrivileges>
         <requestedExecutionLevel level='asInvoker' uiAccess='false' />
       </requestedPrivileges>
     </security>
   </trustInfo>
</assembly>
----------------

run the mt tool from command box

mt.exe -manifest plwin.exe.manifest -outputresource:plwin.exe;1


@Jan
you can put the manifest into a resource file in the C windows sources at
the first place which also work.

--

Kind regards

Uwe Lesta





------------
For further info, please visit http://www.swi-prolog.org/

To unsubscribe, send a plaintext mail with "unsubscribe prolog <e-mail>"
in its body to majordomo@...



LightInTheBox - Buy quality products at wholesale price