NSIS Python Plugin
Here is a little plug-in I have found while touring the internet:
http://homepage.hispeed.ch/py430/python/index.html
You use the Nullsoft NSIS installer and want some advanced scripting or you're deploying a Python application and want to execute some Python code during setup? Here is a solution. With this NSIS Plugin you can do all this.
Supported commands are eval, exec and execFile. a special module nsis is exposed to Python which supports writing to the log, display a message box and get/set the NSIS variables. The win32 parent handle of the installer can also be read so its open for extensions that use win32all or ctypes.