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

Got a problem you cannot solve? Try here.
Ghyath
Posts: 10
Joined: Tue Jan 18, 2011 3:27 am

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

Postby Ghyath » Mon Sep 23, 2013 3:17 am

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.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

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

Postby FrancescoT » Tue Sep 24, 2013 3:08 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 52 guests