Yathosho
3rd June 2007 22:51 UTC
filetype association in vista
i recently tested an older installer of mine on vista. everything worked nicely, except that the filetype association brought up an issue. the filetype is still opened with the correct application, but i need to confirm everytime that i want to launch THAT application. i havn't found any documentation on the net that explains how to disable that for certain programs or filetypes. how's this done, how can it be done with nsis?
kichik
4th June 2007 06:34 UTC
Confirm how? Which dialog does it bring up?
Yathosho
4th June 2007 08:19 UTC
i roughly translate it from german, instead of posting a screenshot
UAC
An unidentified program trys to access your computer
..
Abort / Allow
Anders
4th June 2007 15:49 UTC
If this is the normal vista elevation dialog and your program doesnt need admin rights, you can add a manifest to your exe and specify requestedExecutionLevel=asInvoker
Yathosho
4th June 2007 19:22 UTC
and i can do this with my installer?
btw, is forum search broken? i was searching for "requestedExecutionLevel" and it did not even find this post (or does it simply take a while to index the content?)
kichik
4th June 2007 19:24 UTC
Use:
RequestedExecutionLevel user
RequestedExecutionLevel is probably beyond the forum's search limit.
Yathosho
4th June 2007 20:12 UTC
looks like nsis is better prepared for vista than i am ;)
thanks kichik+anders