0

I have a Windows commandline tool for developers (maybe a redundant point). This tool creates symlinks for certain tasks.

I'm looking for a way to have the tool install so that it can create symlinks without needing to Run As Admin or acknowledging a UAC dialog.

This tool will be installed using an MSI. Any configuration must happen in the MSI for the solution to be viable. Post installation intervention by the user is not an option. This means that the user enabling Create Symbolic Links priv in Secpol is not an option (which still requires the user to NOT be in the Administrator group which most developers will be), neither is any other post install config.

The only solution I've found that almost matches is using a Manifest file linked in the tool exe file to to request requireAdministrator level execution. This doesn't work for my workflow because from what I understand, this would mean UAC appears every time someone runs a command.

Has anyone figured out a way to do this yet? It's been around since VISTA so maybe someone has come up with something clever.

I've done thorough research into this problem and it can basically be summarized by the (git-for-windows wiki)[https://github.com/git-for-windows/git/wiki/symbolic-links], none of those solutions fit my criteria:

  • MSI configures system for user
  • No UAC dialog acknowledgement

Thanks for reading!

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.