



The plug-in is fully functional but still undergoes some development and changes.Ĭurrently you can call properties by using the get_ and set_ notation. NET method that takes no parameters and returns void:ĬLR:: Call /NOUNLOAD SomeAssembly.dll SomeNamespace.SomeClass SomeOtherMethod 0
#ADD STREAMBOSS WITH CLR BROWSER SOURCE PLUGIN CODE#
Omitting the quotes only makes the code slightly easier to read, the result is the same. You do not have to put quotes around the dll filename, namespace, classname and method, but if the dll filename contains spaces, you need the quotes around that. When done with calling CLR::Call, call CLR::Destroy, for instance in. This is nessecary if you need to call CLR::Call more than once, otherwise the installer hangs on the second call. "SomeMethod" 5 "mystring1" "x" 10 15.8 false pop $0 MessageBox MB_OK $0 InitPluginsDir SetOutPath $PLUGINSDIR File "SomeAssembly.dll" CLR:: Call /NOUNLOAD "SomeAssembly.dll" "SomeNamespace.SomeClass" \ NET DLL, which takes five parameters: string, char, int, float and boolean and returns a string: Sample NSIS script calling a method in a. Before calling the plug-in, call SetOutPath and copy the. Return value can be of those types too but are returned as strings to NSIS. Namespace and classname with dot in betweenĪt the moment, the supported parameter types are string, char, int, float and boolean.Place the plugin in the NSIS plugins folder. This is a NSIS plug-in, that can call methods in your managed.
