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 8 2746
Hello Ankit,
Register the dll with regsvr32 command. It will work fine.
Open command prompt and type
regsvr32 dllpath+dllname
Thanks,
Kris
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-a03b508204d9103 3.mspx
If you want to register COM DLL programmaticall y in your application code,
you could invoke DllRegisterServ er from COM DLL directly. DllRegisterServ er
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*****@newsgr oups.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.publi c.dotnet.langua ges.csharp NNTP-Posting-Host: dsl-upwest-117.11.246.61.t ouchtelindia.ne t 61.246.11.117 Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl Xref: TK2MSFTNGXA01.p hx.gbl microsoft.publi c.dotnet.langua ges.csharp:3843 96 X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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
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.m icrosoft.com> wrote in message
news:4W******** *****@TK2MSFTNG XA01.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-a03b508204d9103 3.mspx
If you want to register COM DLL programmaticall y in your application code, you could invoke DllRegisterServ er from COM DLL directly. DllRegisterServ er 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*****@newsgr oups.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.publi c.dotnet.langua ges.csharp NNTP-Posting-Host: dsl-upwest-117.11.246.61.t ouchtelindia.ne t 61.246.11.1 17 Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl Xref: TK2MSFTNGXA01.p hx.gbl microsoft.pub lic.dotnet.lang uages.csharp:38 4396 X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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
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 DllRegisterServ er exposed from COM DLL. The DllRegisterServ er
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*****@newsgr oups.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.publi c.dotnet.langua ges.csharp NNTP-Posting-Host: dsl-har-194.148.246.61. touchtelindia.n et 61.246.148.194 Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl Xref: TK2MSFTNGXA01.p hx.gbl microsoft.publi c.dotnet.langua ges.csharp:3846 63 X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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.m icrosoft.com> wrote in message news:4W******* ******@TK2MSFTN GXA01.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-a03b508204d9103 3.mspx
If you want to register COM DLL programmaticall y in your application
code, you could invoke DllRegisterServ er from COM DLL directly. DllRegisterServ er 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*****@newsgr oups.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.publi c.dotnet.langua ges.csharp NNTP-Posting-Host: dsl-upwest-117.11.246.61.t ouchtelindia.ne t 61.246.11.11 7 Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl Xref: TK2MSFTNGXA01.p hx.gbl microsoft.pu blic.dotnet.lan guages.csharp:3 84396 X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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
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.m icrosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGXA01.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 DllRegisterServ er exposed from COM DLL. The DllRegisterServ er 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*****@newsgr oups.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.publi c.dotnet.langua ges.csharp NNTP-Posting-Host: dsl-har-194.148.246.61. touchtelindia.n et 61.246.148.194 Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl Xref: TK2MSFTNGXA01.p hx.gbl microsoft.pub lic.dotnet.lang uages.csharp:38 4663 X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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.m icrosoft.com> wrote in message news:4W****** *******@TK2MSFT NGXA01.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-a03b508204d9103 3.mspx
If you want to register COM DLL programmaticall y in your application code, you could invoke DllRegisterServ er from COM DLL directly. DllRegisterServ er 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*****@newsgr oups.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> Newsgroup s: microsoft.publi c.dotnet.langua ges.csharp NNTP-Posting-Host: dsl-upwest-117.11.246.61.t ouchtelindia.ne t 61.246.11.1 17 Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl Xref: TK2MSFTNGXA01.p hx.gbl microsoft.p ublic.dotnet.la nguages.csharp: 384396 X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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
problem solved
by mistake take comdll in debug mode instead of release
sorry
""TerryFei" " <v-******@online.m icrosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGXA01.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 DllRegisterServ er exposed from COM DLL. The DllRegisterServ er 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*****@newsgr oups.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.publi c.dotnet.langua ges.csharp NNTP-Posting-Host: dsl-har-194.148.246.61. touchtelindia.n et 61.246.148.194 Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl Xref: TK2MSFTNGXA01.p hx.gbl microsoft.pub lic.dotnet.lang uages.csharp:38 4663 X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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.m icrosoft.com> wrote in message news:4W****** *******@TK2MSFT NGXA01.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-a03b508204d9103 3.mspx
If you want to register COM DLL programmaticall y in your application code, you could invoke DllRegisterServ er from COM DLL directly. DllRegisterServ er 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*****@newsgr oups.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> Newsgroup s: microsoft.publi c.dotnet.langua ges.csharp NNTP-Posting-Host: dsl-upwest-117.11.246.61.t ouchtelindia.ne t 61.246.11.1 17 Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl Xref: TK2MSFTNGXA01.p hx.gbl microsoft.p ublic.dotnet.la nguages.csharp: 384396 X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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
problem solved
thanks for help
"Ankit Aneja" <ef*****@newsgr oups.nospam> wrote in message
news:uS******** *****@TK2MSFTNG P12.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.m icrosoft.com> wrote in message news:%2******** ********@TK2MSF TNGXA01.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 DllRegisterServ er exposed from COM DLL. The DllRegisterServ er 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*****@newsgr oups.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.publi c.dotnet.langua ges.csharp NNTP-Posting-Host: dsl-har-194.148.246.61. touchtelindia.n et 61.246.148.1 94 Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl Xref: TK2MSFTNGXA01.p hx.gbl microsoft.pu blic.dotnet.lan guages.csharp:3 84663 X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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.m icrosoft.com> wrote in message news:4W***** ********@TK2MSF TNGXA01.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-a03b508204d9103 3.mspx
If you want to register COM DLL programmaticall y in your application code, you could invoke DllRegisterServ er from COM DLL directly. DllRegisterServ er 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*****@newsgr oups.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.publi c.dotnet.langua ges.csharp >NNTP-Posting-Host: dsl-upwest-117.11.246.61.t ouchtelindia.ne t >61.246.11. 117 >Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl >Xref: TK2MSFTNGXA01.p hx.gbl >microsoft. public.dotnet.l anguages.csharp :384396 >X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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 > > >
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*****@newsgr oups.nospam> References: <um************ **@TK2MSFTNGP12 .phx.gbl>
<4W************ *@TK2MSFTNGXA01 .phx.gbl>
<OA************ **@TK2MSFTNGP12 .phx.gbl>
<#K************ **@TK2MSFTNGXA0 1.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.publi c.dotnet.langua ges.csharp NNTP-Posting-Host: dsl-upwest-187.11.246.61.t ouchtelindia.ne t 61.246.11.187 Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP10.phx. gbl Xref: TK2MSFTNGXA01.p hx.gbl microsoft.publi c.dotnet.langua ges.csharp:3849 61 X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
problem solved by mistake take comdll in debug mode instead of release sorry ""TerryFei" " <v-******@online.m icrosoft.com> wrote in message news:%2******* *********@TK2MS FTNGXA01.phx.gb l... 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 DllRegisterServ er exposed from COM DLL. The DllRegisterServ er 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*****@newsgr oups.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.publi c.dotnet.langua ges.csharp NNTP-Posting-Host: dsl-har-194.148.246.61. touchtelindia.n et
61.246.148.194Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl Xref: TK2MSFTNGXA01.p hx.gbl microsoft.pu blic.dotnet.lan guages.csharp:3 84663 X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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.m icrosoft.com> wrote in message news:4W***** ********@TK2MSF TNGXA01.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-a03b508204d9103 3.mspx
If you want to register COM DLL programmaticall y in your application code, you could invoke DllRegisterServ er from COM DLL directly. DllRegisterServ er 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*****@newsgr oups.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.publi c.dotnet.langua ges.csharp >NNTP-Posting-Host: dsl-upwest-117.11.246.61.t ouchtelindia.ne t >61.246.11. 117 >Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl >Xref: TK2MSFTNGXA01.p hx.gbl >microsoft. public.dotnet.l anguages.csharp :384396 >X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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 > > > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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' project, and when the shortcut is created, when i click
the short cut, it first launchs the setup again, then if i hit cancel, it
then launchs the .exe it was suppose to point to.
anyone know why it re-launches the setup each time..
i right clicked...
|
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 ?
Any sample would help
regards
serge
|
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 syncronization with remote
database using merge replication.
I found contradictory results while installing the application. I will
mention here all the steps that I done while creating and installing setups.
Result: Case 1: worked fine. ...
|
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 then run, I get the following error:
Setup Error
Failed to load resources from resource file.
Please check your setup.
The application was installed on a Windows XP SP2 machine.
I have un-installed the .NET Framework 1.1 and latest hot-fix...
|
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 my
application
However, perhaps due to the size of the Databases (appx 500 mb), or some
other reason when i try to build my SETUP project, it fails, right in the
start giving an ERROR, not enough DISK SPACE to complete this operation.
I even...
| |
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 setup project. so
1- can install it in a silent mode so user don't notice that he is
installing third party component??
2- I need a good site describe th setup creation without the wizard..
thanx
|
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 following (Where
"MyProgram.exe" is my new VB,net creation)
When the user runs Setup.exe, he is presented with the choice of installing
to \Program Files\MyProgram or a location of his choosing.
Setup copies all the files to that location,...
|
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 be determined automatically.Please confirm that all dependencies have been added to the project.
c:\program files\aryah\mscal.ocx
c:\program files\aryah\mscomm32.ocx
c:\program files\aryah\msflxgrid.ocx
c:\program files\aryah\mswinsck.ocx
|
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 anybody unstall .net framework only. not unstall application. this i want runs only .framework. but my setup runs when .framework completed next is has asked repair or remove . that question asked. but i dont need. when framework install ...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |