Jump to content

Creating Shortcut with RAA enabled


 Share

Recommended Posts

I've been searching for hours and have not seen this posted.

I have a program which installs some shortcuts but the problem is that on Windows 2008, each .lnk file needs to have 'Run As Administrator' set for the app to run correctly.

Can this setting be enabled through the FileCreateShortcut or other command?

Link to comment
Share on other sites

I've been searching for hours and have not seen this posted.

I have a program which installs some shortcuts but the problem is that on Windows 2008, each .lnk file needs to have 'Run As Administrator' set for the app to run correctly.

Can this setting be enabled through the FileCreateShortcut or other command?

Try this:

#RequireAdmin

This function was primarily aimed at allowing AutoIt scripts to work correctly with Windows Vista User Account Control (UAC) (However, will also work on Windows 2000 and Windows XP).

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...