Archive: filetype association in vista


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?


Confirm how? Which dialog does it bring up?


i roughly translate it from german, instead of posting a screenshot

UAC
An unidentified program trys to access your computer
..
Abort / Allow


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


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?)


Use:

RequestedExecutionLevel user
RequestedExecutionLevel is probably beyond the forum's search limit.

looks like nsis is better prepared for vista than i am ;)

thanks kichik+anders