View Single Post
Old 3rd June 2010, 16:51   #6
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,337
People keep asking this over and over, but it seems to me that you probably have other problems if you need this property set on your shortcuts (What if the user runs the app directly?) Anyways, here is some code: http://nsis.sourceforge.net/IShellLink_Set_RunAs_flag

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote