View Single Post
Old 12th October 2007, 02:45   #3
Junior Member
grzech's Avatar
Join Date: Jul 2006
Posts: 31
I use rundll.exe to execute the function in my dll. So theoretically I could provide a standalone exe for that. However I put that inside a dll long time ago (before Vista) because I wanted to make things simpler.

Anyway I noticed that on Windows Vista it's the 21st byte of the .lnk file that marks whether the shortcut is launched with elevated rights or not. I could simply modify that byte after .lnk is created (in case we are installing on Vista), but that would be an ugly hack.
grzech is offline   Reply With Quote