Archive: Set windows wallpaper


Set windows wallpaper
Hi,

Is it possible to have the nsis set the windows wallpaper in windows xp if the user opt-in to do so?

If not can this be done via a dialog box called from nsis?


System::Call 'user32.dll::SystemParametersInfo(i 20, i 0, t "$INSTDIR\your.bmp", i 3) i .r0'
System::Call 'user32.dll::RedrawWindow(i 0, i 0, i 0, i 0x0085) i .r1'

This should work on XP. On the Win98 with ActiveDsktop enabled a call to IActiveDesktop require (plug-in).