> What might be the problem. I can't use "RegAsm" tool, because this is a
> .NET tool.
Hi Christian:
Thanks for your reply.
.NET Framework will be installed, when the application is installed. This
is done using installshield. Regasm is a tool, which can be used in
development environment. Why i want to use "regsvr32" to install the .NET
component (ofcourse after creating type library using tlbexp tool) is, when
we are registering the .tlb file (type library file of .NET component) using
installshield, it's giving the same error when i am registering using
regsvr32. I thought if we install using regsvr32 tool, we can install using
installshield also.
Thanks.
- Prasad.
> > What might be the problem. I can't use "RegAsm" tool, because this is a
> > .NET tool.
>
> Since you want to use a .NET component, you also need the
> .NET Framework on the target system. If this is not available,
> you need to install it. Hence, you should be able to use regasm.
Christian Fröschlin - 05 Jan 2004 08:48 GMT
> is done using installshield. Regasm is a tool, which can be used in
> development environment. Why i want to use "regsvr32" to install the .NET
> component (ofcourse after creating type library using tlbexp tool) is, when
> we are registering the .tlb file (type library file of .NET component) using
> installshield, it's giving the same error when i am registering using
> regsvr32.
I don't think regsvr32 can register tlb files. You can
try to use regtlib instead. Besides, I would expect that
an InstallShield script can execute any command you wish.
Phil Wilson - 08 Jan 2004 01:21 GMT
It depends exactly what InstallShield product you're using, but the Developer
editions from 8.0 onwards will do all this stuff almost automatically. For
example, on the class library component properties in IS Developer you just
check "..NET Interop" and that causes all the registration goo to be built into
the resulting MSI file. .NET documentation describes utilities like regasm.
installutil, gacutil despite the fact that a Windows Installer setup just do all
that stuff without those utilities, and InstallShield Developer is one of the
products that can build them.

Signature
Phil Wilson [MVP Windows Installer]
----
> Hi Christian:
>
[quoted text clipped - 19 lines]
> > .NET Framework on the target system. If this is not available,
> > you need to install it. Hence, you should be able to use regasm.
Ian Campbell - 08 Jan 2004 20:00 GMT
Anyone know where I can find good example projects
for creating setup/depolyment programs (msi's) with visual studio 2003
is it even possible? or should i fork out for installsheild?
> It depends exactly what InstallShield product you're using, but the Developer
> editions from 8.0 onwards will do all this stuff almost automatically. For
[quoted text clipped - 27 lines]
> > > .NET Framework on the target system. If this is not available,
> > > you need to install it. Hence, you should be able to use regasm.