NsRestartExplorer plug-in

From NSIS Wiki
Jump to navigationJump to search
Author: sherpya (talk, contrib)


Links

Main Page for the plugin
My Free software page
Sources on GitHub

Description

Version: 1.4
Tested on: Windows 98SE, Windows XP, Windows XP 64bit, ANSI and UNICODE versions.

nsRestartExplorer plugin (and also standalone for rundll32) allows to stop, start and gracefully restart explorer. Useful to update shell extensions.

Usage Example

; call action timeout
; action can be quit start or restart
; timeout to wait for explorer action completion,
; infinite wait forever until explorer is ready
; ignore does not wait at all
; a number, milliseconds to wait
 
nsRestartExplorer::nsRestartExplorer restart infinite
;nsRestartExplorer::nsRestartExplorer start ignore
;nsRestartExplorer::nsRestartExplorer quit 1000
Pop $1
DetailPrint $1
 
returns OK or ERROR and error description

Credits

Written by Gianluigi Tiesi