473,405 Members | 2,279 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

setup creation

Hi I have made a windows service in C#.Net
Now I want to create a setup of this service
http://www.codeproject.com/dotnet/si...owsservice.asp
I read this article
Now my service is also using com dll
I also want that dll to be registered on server(or computer) on which that
service will be installed
How can i do that.I am using visual studio.net 2003
Feb 8 '06 #1
8 2715
Hello Ankit,

Register the dll with regsvr32 command. It will work fine.

Open command prompt and type
regsvr32 dllpath+dllname

Thanks,
Kris

Feb 8 '06 #2
Hi Ankit,
Welcome to MSDN Newsgroup!

If you want to register COM DLL with a specified tool, RegSvr32.exe will
help you.
You could get more information about RegSvr32.exe from the following site:
Title: Regsvr32
URL:http://technet2.microsoft.com/Window...1c026-0b9d-43c
4-a38c-a03b508204d91033.mspx

If you want to register COM DLL programmatically in your application code,
you could invoke DllRegisterServer from COM DLL directly. DllRegisterServer
function exposed by COM DLL will help us to register DLL on the machine. If
you need sample code about this, please feel free to tell me and I'll send
it to you.
I hope the above information is helpful for you. If you have any questions
or concerns, please let me know. Thanks for your understanding and have a
nice day!

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security

--------------------
From: "Ankit Aneja" <ef*****@newsgroups.nospam>
Subject: setup creation
Date: Wed, 8 Feb 2006 17:49:24 +0530
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <um**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: dsl-upwest-117.11.246.61.touchtelindia.net 61.246.11.117
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.languages.csharp:384396
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

Hi I have made a windows service in C#.Net
Now I want to create a setup of this service
http://www.codeproject.com/dotnet/si...owsservice.asp
I read this article
Now my service is also using com dll
I also want that dll to be registered on server(or computer) on which that
service will be installed
How can i do that.I am using visual studio.net 2003


Feb 9 '06 #3
I have been given comdll in release mode and I make
C# windows service which is using that.
As i register that on my system using regsvr32 my service works fine
But now I want to create setup of my service which should automatically
register that dll on system on which service will be installed
""TerryFei"" <v-******@online.microsoft.com> wrote in message
news:4W*************@TK2MSFTNGXA01.phx.gbl...
Hi Ankit,
Welcome to MSDN Newsgroup!

If you want to register COM DLL with a specified tool, RegSvr32.exe will
help you.
You could get more information about RegSvr32.exe from the following site:
Title: Regsvr32
URL:http://technet2.microsoft.com/Window...1c026-0b9d-43c
4-a38c-a03b508204d91033.mspx

If you want to register COM DLL programmatically in your application code,
you could invoke DllRegisterServer from COM DLL directly.
DllRegisterServer
function exposed by COM DLL will help us to register DLL on the machine.
If
you need sample code about this, please feel free to tell me and I'll send
it to you.
I hope the above information is helpful for you. If you have any questions
or concerns, please let me know. Thanks for your understanding and have a
nice day!

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security

--------------------
From: "Ankit Aneja" <ef*****@newsgroups.nospam>
Subject: setup creation
Date: Wed, 8 Feb 2006 17:49:24 +0530
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <um**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: dsl-upwest-117.11.246.61.touchtelindia.net
61.246.11.117
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.languages.csharp:38439 6
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

Hi I have made a windows service in C#.Net
Now I want to create a setup of this service
http://www.codeproject.com/dotnet/si...owsservice.asp
I read this article
Now my service is also using com dll
I also want that dll to be registered on server(or computer) on which that
service will be installed
How can i do that.I am using visual studio.net 2003

Feb 9 '06 #4
Hi Ankit,
Thanks for your update!

In this scenario, I suggest you add relevant code in your service to
register COM dll. You just only use LoadLibrary and GetProcAddress API to
invoke DllRegisterServer exposed from COM DLL. The DllRegisterServer
function will help us to register the COM DLL on the machine.

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security

--------------------
From: "Ankit Aneja" <ef*****@newsgroups.nospam>
References: <um**************@TK2MSFTNGP12.phx.gbl> <4W*************@TK2MSFTNGXA01.phx.gbl>Subject: Re: setup creation
Date: Thu, 9 Feb 2006 12:00:29 +0530
Lines: 67
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <OA**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: dsl-har-194.148.246.61.touchtelindia.net 61.246.148.194
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.languages.csharp:384663
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

I have been given comdll in release mode and I make
C# windows service which is using that.
As i register that on my system using regsvr32 my service works fine
But now I want to create setup of my service which should automatically
register that dll on system on which service will be installed
""TerryFei"" <v-******@online.microsoft.com> wrote in message
news:4W*************@TK2MSFTNGXA01.phx.gbl...
Hi Ankit,
Welcome to MSDN Newsgroup!

If you want to register COM DLL with a specified tool, RegSvr32.exe will
help you.
You could get more information about RegSvr32.exe from the following site: Title: Regsvr32
URL:http://technet2.microsoft.com/Window...1c026-0b9d-43c 4-a38c-a03b508204d91033.mspx

If you want to register COM DLL programmatically in your application code, you could invoke DllRegisterServer from COM DLL directly.
DllRegisterServer
function exposed by COM DLL will help us to register DLL on the machine.
If
you need sample code about this, please feel free to tell me and I'll send it to you.
I hope the above information is helpful for you. If you have any questions or concerns, please let me know. Thanks for your understanding and have a
nice day!

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security

--------------------
From: "Ankit Aneja" <ef*****@newsgroups.nospam>
Subject: setup creation
Date: Wed, 8 Feb 2006 17:49:24 +0530
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <um**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: dsl-upwest-117.11.246.61.touchtelindia.net
61.246.11.117
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.languages.csharp:3843 96
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

Hi I have made a windows service in C#.Net
Now I want to create a setup of this service
http://www.codeproject.com/dotnet/si...owsservice.asp
I read this article
Now my service is also using com dll
I also want that dll to be registered on server(or computer) on which thatservice will be installed
How can i do that.I am using visual studio.net 2003



Feb 10 '06 #5
I also want that when i am creating setup
there is a folder named database which contains two .cvd files.I want this
folder to be included in setup(that is it also gets copied where i am
running the setup)
""TerryFei"" <v-******@online.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGXA01.phx.gbl...
Hi Ankit,
Thanks for your update!

In this scenario, I suggest you add relevant code in your service to
register COM dll. You just only use LoadLibrary and GetProcAddress API to
invoke DllRegisterServer exposed from COM DLL. The DllRegisterServer
function will help us to register the COM DLL on the machine.

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security

--------------------
From: "Ankit Aneja" <ef*****@newsgroups.nospam>
References: <um**************@TK2MSFTNGP12.phx.gbl>

<4W*************@TK2MSFTNGXA01.phx.gbl>
Subject: Re: setup creation
Date: Thu, 9 Feb 2006 12:00:29 +0530
Lines: 67
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <OA**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: dsl-har-194.148.246.61.touchtelindia.net 61.246.148.194
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.languages.csharp:38466 3
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

I have been given comdll in release mode and I make
C# windows service which is using that.
As i register that on my system using regsvr32 my service works fine
But now I want to create setup of my service which should automatically
register that dll on system on which service will be installed
""TerryFei"" <v-******@online.microsoft.com> wrote in message
news:4W*************@TK2MSFTNGXA01.phx.gbl...
Hi Ankit,
Welcome to MSDN Newsgroup!

If you want to register COM DLL with a specified tool, RegSvr32.exe will
help you.
You could get more information about RegSvr32.exe from the following site: Title: Regsvr32
URL:http://technet2.microsoft.com/Window...1c026-0b9d-43c 4-a38c-a03b508204d91033.mspx

If you want to register COM DLL programmatically in your application code, you could invoke DllRegisterServer from COM DLL directly.
DllRegisterServer
function exposed by COM DLL will help us to register DLL on the machine.
If
you need sample code about this, please feel free to tell me and I'll send it to you.
I hope the above information is helpful for you. If you have any questions or concerns, please let me know. Thanks for your understanding and have
a
nice day!

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security

--------------------
From: "Ankit Aneja" <ef*****@newsgroups.nospam>
Subject: setup creation
Date: Wed, 8 Feb 2006 17:49:24 +0530
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <um**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: dsl-upwest-117.11.246.61.touchtelindia.net
61.246.11.117
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.languages.csharp:38439 6
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

Hi I have made a windows service in C#.Net
Now I want to create a setup of this service
http://www.codeproject.com/dotnet/si...owsservice.asp
I read this article
Now my service is also using com dll
I also want that dll to be registered on server(or computer) on which thatservice will be installed
How can i do that.I am using visual studio.net 2003


Feb 10 '06 #6
problem solved
by mistake take comdll in debug mode instead of release
sorry
""TerryFei"" <v-******@online.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGXA01.phx.gbl...
Hi Ankit,
Thanks for your update!

In this scenario, I suggest you add relevant code in your service to
register COM dll. You just only use LoadLibrary and GetProcAddress API to
invoke DllRegisterServer exposed from COM DLL. The DllRegisterServer
function will help us to register the COM DLL on the machine.

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security

--------------------
From: "Ankit Aneja" <ef*****@newsgroups.nospam>
References: <um**************@TK2MSFTNGP12.phx.gbl>

<4W*************@TK2MSFTNGXA01.phx.gbl>
Subject: Re: setup creation
Date: Thu, 9 Feb 2006 12:00:29 +0530
Lines: 67
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <OA**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: dsl-har-194.148.246.61.touchtelindia.net 61.246.148.194
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.languages.csharp:38466 3
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

I have been given comdll in release mode and I make
C# windows service which is using that.
As i register that on my system using regsvr32 my service works fine
But now I want to create setup of my service which should automatically
register that dll on system on which service will be installed
""TerryFei"" <v-******@online.microsoft.com> wrote in message
news:4W*************@TK2MSFTNGXA01.phx.gbl...
Hi Ankit,
Welcome to MSDN Newsgroup!

If you want to register COM DLL with a specified tool, RegSvr32.exe will
help you.
You could get more information about RegSvr32.exe from the following site: Title: Regsvr32
URL:http://technet2.microsoft.com/Window...1c026-0b9d-43c 4-a38c-a03b508204d91033.mspx

If you want to register COM DLL programmatically in your application code, you could invoke DllRegisterServer from COM DLL directly.
DllRegisterServer
function exposed by COM DLL will help us to register DLL on the machine.
If
you need sample code about this, please feel free to tell me and I'll send it to you.
I hope the above information is helpful for you. If you have any questions or concerns, please let me know. Thanks for your understanding and have
a
nice day!

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security

--------------------
From: "Ankit Aneja" <ef*****@newsgroups.nospam>
Subject: setup creation
Date: Wed, 8 Feb 2006 17:49:24 +0530
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <um**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: dsl-upwest-117.11.246.61.touchtelindia.net
61.246.11.117
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.languages.csharp:38439 6
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

Hi I have made a windows service in C#.Net
Now I want to create a setup of this service
http://www.codeproject.com/dotnet/si...owsservice.asp
I read this article
Now my service is also using com dll
I also want that dll to be registered on server(or computer) on which thatservice will be installed
How can i do that.I am using visual studio.net 2003


Feb 10 '06 #7
problem solved
thanks for help
"Ankit Aneja" <ef*****@newsgroups.nospam> wrote in message
news:uS*************@TK2MSFTNGP12.phx.gbl...
I also want that when i am creating setup
there is a folder named database which contains two .cvd files.I want this
folder to be included in setup(that is it also gets copied where i am
running the setup)
""TerryFei"" <v-******@online.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGXA01.phx.gbl...
Hi Ankit,
Thanks for your update!

In this scenario, I suggest you add relevant code in your service to
register COM dll. You just only use LoadLibrary and GetProcAddress API to
invoke DllRegisterServer exposed from COM DLL. The DllRegisterServer
function will help us to register the COM DLL on the machine.

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security

--------------------
From: "Ankit Aneja" <ef*****@newsgroups.nospam>
References: <um**************@TK2MSFTNGP12.phx.gbl>

<4W*************@TK2MSFTNGXA01.phx.gbl>
Subject: Re: setup creation
Date: Thu, 9 Feb 2006 12:00:29 +0530
Lines: 67
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <OA**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: dsl-har-194.148.246.61.touchtelindia.net
61.246.148.194
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.languages.csharp:3846 63
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

I have been given comdll in release mode and I make
C# windows service which is using that.
As i register that on my system using regsvr32 my service works fine
But now I want to create setup of my service which should automatically
register that dll on system on which service will be installed
""TerryFei"" <v-******@online.microsoft.com> wrote in message
news:4W*************@TK2MSFTNGXA01.phx.gbl...
Hi Ankit,
Welcome to MSDN Newsgroup!

If you want to register COM DLL with a specified tool, RegSvr32.exe
will
help you.
You could get more information about RegSvr32.exe from the following

site:
Title: Regsvr32

URL:http://technet2.microsoft.com/Window...1c026-0b9d-43c
4-a38c-a03b508204d91033.mspx

If you want to register COM DLL programmatically in your application

code,
you could invoke DllRegisterServer from COM DLL directly.
DllRegisterServer
function exposed by COM DLL will help us to register DLL on the
machine.
If
you need sample code about this, please feel free to tell me and I'll

send
it to you.
I hope the above information is helpful for you. If you have any

questions
or concerns, please let me know. Thanks for your understanding and have
a
nice day!

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security

--------------------
>From: "Ankit Aneja" <ef*****@newsgroups.nospam>
>Subject: setup creation
>Date: Wed, 8 Feb 2006 17:49:24 +0530
>Lines: 10
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
>X-RFC2646: Format=Flowed; Original
>Message-ID: <um**************@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.dotnet.languages.csharp
>NNTP-Posting-Host: dsl-upwest-117.11.246.61.touchtelindia.net
>61.246.11.117
>Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
>Xref: TK2MSFTNGXA01.phx.gbl
>microsoft.public.dotnet.languages.csharp:3843 96
>X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
>
>Hi I have made a windows service in C#.Net
>Now I want to create a setup of this service
>http://www.codeproject.com/dotnet/si...owsservice.asp
>I read this article
>Now my service is also using com dll
>I also want that dll to be registered on server(or computer) on which

that
>service will be installed
>How can i do that.I am using visual studio.net 2003
>
>
>


Feb 10 '06 #8
Hi Ankit ,
Thanks for your update!
I am glad to know that the problem has been resolved now. It's my pleasure
to work with you!

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security
--------------------
From: "Ankit Aneja" <ef*****@newsgroups.nospam>
References: <um**************@TK2MSFTNGP12.phx.gbl> <4W*************@TK2MSFTNGXA01.phx.gbl>
<OA**************@TK2MSFTNGP12.phx.gbl>
<#K**************@TK2MSFTNGXA01.phx.gbl>Subject: Re: setup creation
Date: Fri, 10 Feb 2006 11:28:44 +0530
Lines: 117
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Message-ID: <uc**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: dsl-upwest-187.11.246.61.touchtelindia.net 61.246.11.187
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP10.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.languages.csharp:384961
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

problem solved
by mistake take comdll in debug mode instead of release
sorry
""TerryFei"" <v-******@online.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGXA01.phx.gbl.. .
Hi Ankit,
Thanks for your update!

In this scenario, I suggest you add relevant code in your service to
register COM dll. You just only use LoadLibrary and GetProcAddress API to
invoke DllRegisterServer exposed from COM DLL. The DllRegisterServer
function will help us to register the COM DLL on the machine.

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security

--------------------
From: "Ankit Aneja" <ef*****@newsgroups.nospam>
References: <um**************@TK2MSFTNGP12.phx.gbl>

<4W*************@TK2MSFTNGXA01.phx.gbl>
Subject: Re: setup creation
Date: Thu, 9 Feb 2006 12:00:29 +0530
Lines: 67
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <OA**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: dsl-har-194.148.246.61.touchtelindia.net 61.246.148.194Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.languages.csharp:3846 63
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

I have been given comdll in release mode and I make
C# windows service which is using that.
As i register that on my system using regsvr32 my service works fine
But now I want to create setup of my service which should automatically
register that dll on system on which service will be installed
""TerryFei"" <v-******@online.microsoft.com> wrote in message
news:4W*************@TK2MSFTNGXA01.phx.gbl...
Hi Ankit,
Welcome to MSDN Newsgroup!

If you want to register COM DLL with a specified tool, RegSvr32.exe will help you.
You could get more information about RegSvr32.exe from the following

site:
Title: Regsvr32

URL:http://technet2.microsoft.com/Window...1c026-0b9d-43c
4-a38c-a03b508204d91033.mspx

If you want to register COM DLL programmatically in your application

code,
you could invoke DllRegisterServer from COM DLL directly.
DllRegisterServer
function exposed by COM DLL will help us to register DLL on the machine. If
you need sample code about this, please feel free to tell me and I'll

send
it to you.
I hope the above information is helpful for you. If you have any

questions
or concerns, please let me know. Thanks for your understanding and have a
nice day!

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security

--------------------
>From: "Ankit Aneja" <ef*****@newsgroups.nospam>
>Subject: setup creation
>Date: Wed, 8 Feb 2006 17:49:24 +0530
>Lines: 10
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
>X-RFC2646: Format=Flowed; Original
>Message-ID: <um**************@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.dotnet.languages.csharp
>NNTP-Posting-Host: dsl-upwest-117.11.246.61.touchtelindia.net
>61.246.11.117
>Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
>Xref: TK2MSFTNGXA01.phx.gbl
>microsoft.public.dotnet.languages.csharp:3843 96
>X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
>
>Hi I have made a windows service in C#.Net
>Now I want to create a setup of this service
>http://www.codeproject.com/dotnet/si...owsservice.asp
>I read this article
>Now my service is also using com dll
>I also want that dll to be registered on server(or computer) on which

that
>service will be installed
>How can i do that.I am using visual studio.net 2003
>
>
>



Feb 13 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Kovan A. | last post by:
Hi, I have a solution with bunch of projects. and one of them is a setup for the rest of the projects. all works fine.. except when i create shortcuts in my setup project to 'Primary Outoput'...
2
by: serge calderara | last post by:
Dear all, I have build a setup project for my VB.NET application, I need to know the installation path of an application in order to add file in it. How can do that inside my setup project ?...
1
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
0
by: Paul | last post by:
I have an existing application that has been installed and running for several months. I recently made a minor change to this application. When the application is installed on the user machine and...
3
by: Sunny | last post by:
Hi I have a Database Application that i am trying to create a SETUP for. The application uses three custom Ms access Databases. Those database i added in the correct folder in the SETUP Project of...
0
by: Islam Elkhayat | last post by:
I have finished Creating my first web application... so i want to start creating a setup, but i used a External treemenu navigation component so the menu installation .exe file must incuded in my...
2
by: | last post by:
I am new to Visual Basic.Net using the Standard Edition, which does not come with a Deployment wizard, so I use the template on the File Systems Tab. Everything works fine, and I have enabled the...
2
exedotsree
by: exedotsree | last post by:
Hi frnds During setup creation in vb.net, when I add the Project Output to the setup project, it is displaying a message stating as follows... The foll files may have dependencies that cannot...
0
by: winbala | last post by:
Hi, Friends I have done my project in vb .net backend sql server. then I have created setup with .framework and mdac using bootstrapper. this is work fine. now i need ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.