The foobar installer
I noticed that the Foobar 2000 installer uses NSIS, and it has this page where it asks for admin permissions in the middle of it. It even has that shield icon on the 'next' button.
Anyone know how they did it?
Archive: The foobar installer
The foobar installer
I noticed that the Foobar 2000 installer uses NSIS, and it has this page where it asks for admin permissions in the middle of it. It even has that shield icon on the 'next' button.
Anyone know how they did it?
There is a windows message you can send to set the shield (BCM_SETSHIELD) The actual work is done with the UAC plugin
Any ideas on how they handled the delayed privilege elevation? Doesn't the UAC plugin just run another instance of the same exact EXE when you tell it to elevate (so you'd have to run thru the installer again setting all the options)?
yes, it runs another instance, you have to handle all that magic on your own