Setting "Run as administrator" bit in shortcut

Hello,

Is there an easy way to set the “Run as administrator” bit in a shortcut created through Paquet Builder? I have found a tricky and hacky way to do it through a VB script, but I think a built-in solution in Paquet Builder could be nice and useful.

There is a clean way to do it in C++ with the COM interface, but I don’t think this can be done through the “Call a C function” custom action. I gave it a try, but the “atlbase.h” header cannot be found when building the PB project.

This is explained here : https://blogs.msdn.microsoft.com/oldnewthing/20071219-00/?p=24103/

Is there another way to do it with Paquet Builder ?

Kind Regards,

JFC

This can’t be done without an update to PB. We’ll look into this for next update. Thank you!