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

For all your non-technical questions.
Guest

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

Postby Guest » Tue Aug 09, 2005 4:53 pm

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?

Guest

Postby Guest » Tue Aug 09, 2005 5:03 pm

Nevermind. The mAutoWeb.dll is not registered when you install InstallAware. I registered it, and it seems to work fine now.

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Tue Aug 09, 2005 5:05 pm

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.

Guest

Postby Guest » Wed Aug 10, 2005 11:06 am

There are a lot of DLLs under the InstallAware\\Automation\\Libraries folder. Which one is the one you are talking about using with C#?

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Wed Aug 10, 2005 4:30 pm

miaauto.dll
The help file describes the functions that are exported from this DLL. Just look for Win32 DLL in the help index.


Return to “Non-Technical”

Who is online

Users browsing this forum: No registered users and 34 guests