CallAnsiPlugin plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(v0.2 - var sync fix)
 
Line 2: Line 2:


[[Category:Plugins]]
[[Category:Plugins]]
== Plugin Info ==
* '''Version:''' 0.2
* '''Type:''' Runtime plugin
* '''Minimum OS:''' NT4
* '''Minimum NSIS Version:''' 2.4x (Unicode)
* '''License:''' zlib/libpng
* '''Download:''' <attach>CallAnsiPlugin_0.2.zip</attach>


== Description ==
== Description ==
Line 12: Line 20:




== Download ==
[http://stashbox.org/614635/CallAnsiPlugin%20v0.1.zip v0.1]


== Example ==
== Example ==

Latest revision as of 21:38, 22 April 2010

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?)