Skip to content
⌘ NSIS Forum Archive

Call a C# Custom dll

4 posts

ICONICS2000#

Call a C# Custom dll

Hi All

1/Does anyone have an example on how to use a C# Plugin with NSIS!

2/ How to retreive a List of MS Patches installed on your PC'?

regards

Carl
goldy1064#
Re: Call a C# Custom dll

Originally posted by ICONICS2000
Hi All

1/Does anyone have an example on how to use a C# Plugin with NSIS!

Just make a regular C# dll. The only problem is that you won't have access to the window information, user variables, registers, etc.
onad#
ICONICS2000, to be really honest, my opinion on having an nsis plugin in C# is not a great. Exept for you it's maybe the only option since you program in C#. You plugin DLL will be dependant on a lot of things installed on the OS and you will encounter numerous other issues.

If you can, write the pugin in C(++), or otherwise Delphi

(Plugin examples in wiki)

I do not want to discourage you to much, but consider alternatives if you can.