We are working on converting the wiki to a static website controlled by markdown files in https://github.com/nsis-community. You can already see there how plug-ins will be posted. The end-user interface will still be a website but with a fresh coat of paint. Come meet us at Discord to talk about it.
CallAnsiPlugin plug-in
From NSIS Wiki
Jump to navigationJump to search
| Author: Anders (talk, contrib) |
Plugin Info
- Version: 0.2
- Type: Runtime plugin
- Minimum OS: NT4
- Minimum NSIS Version: 2.4x (Unicode)
- License: zlib/libpng
- Download:
CallAnsiPlugin_0.2.zip (4 KB)
Description
This plugin allows you to call a ansi plugin in a unicode installer. If the ansi plugin path starts with "*", the ansi plugin will not be unloaded (/NOUNLOAD emulation)
The syntax is CallAnsiPlugin::Call <[*]pluginpath> <function> <parameter count> [parameters]
If you have problems using this plugin, report back on the talk page or the forum.
Example
InitPluginsDir ;make sure we have $pluginsdir File "/ONAME=$pluginsdir\dumpstate.dll" "dumpstate.dll" ;you must extract the ansi plugin manually CallAnsiPlugin::Call "$pluginsdir\dumpstate" debug 2 stack1 "stack 2"
Credits
Written by Anders (For fun and profit?)