Page 1 of 1

Using COM object in Visual Studio .NET (C#)

Posted: Tue Aug 09, 2005 4:53 pm
by Guest
I have installed an evaluation copy of the enterprise edition of InstallAware. I want to use the COM object to create my script and build the project.

So, In my C# project, I'm trying to add a reference to the mAutoWeb.CoInstallAware COM object, but it is nowhere to be found. I even searched my registry for "mAutoWeb.CoInstallAware" but it came back with no results.

Any ideas?

Posted: Tue Aug 09, 2005 5:03 pm
by Guest
Nevermind. The mAutoWeb.dll is not registered when you install InstallAware. I registered it, and it seems to work fine now.

Posted: Tue Aug 09, 2005 5:05 pm
by sinan
Great. You will also find working from C# that the DLL library may be easier to use. Just import the functions from the DLL using P/Invoke, and call them directly in your C# code.

Posted: Wed Aug 10, 2005 11:06 am
by Guest
There are a lot of DLLs under the InstallAware\\Automation\\Libraries folder. Which one is the one you are talking about using with C#?

Posted: Wed Aug 10, 2005 4:30 pm
by sinan
miaauto.dll
The help file describes the functions that are exported from this DLL. Just look for Win32 DLL in the help index.