I would like to execute some Python code (popup message to be displayed) when
Windows Vista/7 is shut down. That is, this code should execute after "Shut
Down" is given from the "Shut Down Windows" popup, but before the actual shut
down sequence starts.