Page 1 of 1

Can I call a C# .net dll function from install aware

Posted: Mon Sep 23, 2013 3:17 am
by Ghyath
My Question is that:

Can I call a C#.NET dll function from install aware using the "Call DLL Function". I am trying to do it but it is not working.

I have read on the internet that the dll should be a "win32 dll".

Any way, Can any one provide me with a step by step sample on how to do it.
I really appreciate your help.

Re: Can I call a C# .net dll function from install aware

Posted: Tue Sep 24, 2013 3:08 pm
by FrancescoT
Dear Ghyath,

unfortunately, you can't.

You can call NATIVE WIN 32 DLL only with "Call DLL Function" ... and those created using C# .Net are not standard dlls.

As alternative, you can create and call an EXE that embeds your code.

Regards