Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: How can I integrate within the PDK perlapp the manifest assembly workaround for Vista UAC?

by syphilis (Archbishop)
on Apr 03, 2007 at 09:51 UTC ( [id://608019]=note: print w/replies, xml ) Need Help??


in reply to How can I integrate within the PDK perlapp the manifest assembly workaround for Vista UAC?

If you can't get a satisfactory solution here, consider posting to ActiveState's PDK mailing list.

Cheers,
Rob
Afterthought: Can you achieve success by creating a separate file ? ie, assuming your executable is named 'script.exe', create another file (in the same folder) called 'script.exe.manifest' that looks like this:
<?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="script.exe" type="win32"/> <!-- Identify the application security requirements. --> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" uiAccess="false"/> </requestedPrivileges> </security> </trustInfo> </assembly>
That worked for me in relation to a 'patch.exe' that I copied across from a Windows 2000 box. (The excutable wouldn't run until I created 'patch.exe.manifest')
  • Comment on Re: How can I integrate within the PDK perlapp the manifest assembly workaround for Vista UAC?
  • Download Code

Replies are listed 'Best First'.
Re^2: How can I integrate within the PDK perlapp the manifest assembly workaround for Vista UAC?
by ddn123456 (Pilgrim) on Apr 03, 2007 at 13:09 UTC
    Hi Rob, Just tried out your suggestion. Unfortunately as of Win2003 and now also on Vista, if an internal manifest exists this is executed and any external manifest is ignored. Once I have "manifested" all the exe's from the pdk & perl. (I'm especially thinking of the perl.exe). I'll run a last test. If this doesn't do the trick. I'll post it with a link to this page on ActiveState Thanks anyway! With kind regards. DDN

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://608019]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2025-12-08 08:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (87 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.