NsPython plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Python Interpreter moved to NsPython plug-in)
No edit summary
Line 16: Line 16:


A version that supports Python 2.2 is available at the above address.
A version that supports Python 2.2 is available at the above address.
== Problems ? ==
There is a comment about a problem where no modules are found. See the "comment" link at the top of the page.


[[Category:Plugins]]
[[Category:Plugins]]

Revision as of 14:44, 4 May 2007

Author: KiCHiK (talk, contrib)


Links

NSIS-Python.zip (42 KB)

Description

Using NSIS installer and want some advanced scripting? Deploying a Python application and want to execute Python code during setup? Here is a solution.

Supported commands by this plug-in are eval, exec and execFile. A special nsis module 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 it's open for extensions that use win32all or ctypes.

Supports Python 2.3.

Python License.

Taken from: http://homepage.hispeed.ch/py430/python/index.html

A version that supports Python 2.2 is available at the above address.

Problems ?

There is a comment about a problem where no modules are found. See the "comment" link at the top of the page.