Pucca,
If you add your COM component to your setup project, it should have an
option to auto register (as opposed to you specifying the registry settings
yourself). This will do the same thing as calling regsvr32 on the COM dll
yourself.
If you are using .NET though, and the component is written using .NET
for use through COM interop, then you don't want to use regsvr32. However,
I can see if you need to do this because you are using an unmanaged COM
component in your .NET app.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Pucca" <Pu***@discussions.microsoft.comwrote in message
news:FE**********************************@microsof t.com...
Hi, I'm using vs2005, .net2 for windows application. I would like to run
a
command after my windows applciation is installed to install some property
pages in the registry. Currently I mannually run it in Dos Command:
"regsvr32 xxxx.dll". How can I add this ability in my application
installation file so it will run automatically as part of my application
installation in my .msi file? Thanks.
--
Thanks.