wpf - Setting Shortcut property "Run with different credentials" in setup project -


i have wpf application (vs2008). in setup project create shortcut application.

when user clicks on shortcut application starts. need application ask user credentials before running.

i can shift+right click on short cut , set advanced property "run different credentials". needs done 1 every machine application installed.

is there way can set property shortcut in setup project itself?

thanks in advance.

shaili

from knowledge there isn't way of setting "run administrator" flag dynamically shortcut, can set manually through shortcut properties.

the recommended approach use application manifest tells windows how run application. can read more here: http://msdn.microsoft.com/en-us/library/bb756929.aspx


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -