Re: [WiX-users] Self Hosted WCF Service Install
InstallUtil truely is evil and the WiX way of doing things should work just fine. I've installed dozens on .NET services this way. The error message about no endpoints makes me wonder if your app.config is getting installed. I'd do some profiling of the app to see whats going on. Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me --- On Sun, 11/22/09, james poole poole.ja...@gmail.com wrote: From: james poole poole.ja...@gmail.com Subject: [WiX-users] Self Hosted WCF Service Install To: wix-users@lists.sourceforge.net Date: Sunday, November 22, 2009, 1:20 PM So I'm fairly new to WIX and I'm running into a problem that seems pervasive on the web. Basically, I have a .NET self-hosted WCF service inside of a windows service. If I follow Msft's guidelines and add a installer class to the Windows Service project, then run installutil.exe, everything works great. If I follow the WIX guideline to use the ServiceInstall way to install the service, it fails to start up due to some sort of configuration issues. (Says zero endpoints were configured). What is going on when I run installutil.exe that doesn't happen when I install the service through WIX using ServiceInstall? Has anyone come across this before? Thanks, James -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Self Hosted WCF Service Install
So I tried having the App.config get installed to the same directory, but no luck. Also, when using installutil.exe, you don't have to carry around the app.config file. Strange. Can you point me in the right direction for profiling? Not exactly sure what you mean. Thanks again, James On Sun, Nov 22, 2009 at 4:23 PM, Christopher Painter chr...@deploymentengineering.com wrote: InstallUtil truely is evil and the WiX way of doing things should work just fine. I've installed dozens on .NET services this way. The error message about no endpoints makes me wonder if your app.config is getting installed. I'd do some profiling of the app to see whats going on. Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me --- On Sun, 11/22/09, james poole poole.ja...@gmail.com wrote: From: james poole poole.ja...@gmail.com Subject: [WiX-users] Self Hosted WCF Service Install To: wix-users@lists.sourceforge.net Date: Sunday, November 22, 2009, 1:20 PM So I'm fairly new to WIX and I'm running into a problem that seems pervasive on the web. Basically, I have a .NET self-hosted WCF service inside of a windows service. If I follow Msft's guidelines and add a installer class to the Windows Service project, then run installutil.exe, everything works great. If I follow the WIX guideline to use the ServiceInstall way to install the service, it fails to start up due to some sort of configuration issues. (Says zero endpoints were configured). What is going on when I run installutil.exe that doesn't happen when I install the service through WIX using ServiceInstall? Has anyone come across this before? Thanks, James -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Self Hosted WCF Service Install
I'd have to spend some time on this to make sure I'm not wrong, but I thought I recalled putting together a windows service that exposed a WCF webservice and that that when I did the endpoint (ABC's) was stored in the exe's app.config. Again, I could be wrong as this isn't something I do every day. For profiling, I meant debugging the code to see exactly why it's throwing an exception. Maybe I can find some free time later to look at this but for now it's christmas tree lights and egg nog. --- On Sun, 11/22/09, james poole poole.ja...@gmail.com wrote: From: james poole poole.ja...@gmail.com Subject: Re: [WiX-users] Self Hosted WCF Service Install To: chr...@deploymentengineering.com, General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Date: Sunday, November 22, 2009, 4:12 PM So I tried having the App.config get installed to the same directory, but no luck. Also, when using installutil.exe, you don't have to carry around the app.config file. Strange. Can you point me in the right direction for profiling? Not exactly sure what you mean. Thanks again,James On Sun, Nov 22, 2009 at 4:23 PM, Christopher Painter chr...@deploymentengineering.com wrote: InstallUtil truely is evil and the WiX way of doing things should work just fine. I've installed dozens on .NET services this way. The error message about no endpoints makes me wonder if your app.config is getting installed. I'd do some profiling of the app to see whats going on. Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me --- On Sun, 11/22/09, james poole poole.ja...@gmail.com wrote: From: james poole poole.ja...@gmail.com Subject: [WiX-users] Self Hosted WCF Service Install To: wix-users@lists.sourceforge.net Date: Sunday, November 22, 2009, 1:20 PM So I'm fairly new to WIX and I'm running into a problem that seems pervasive on the web. Basically, I have a .NET self-hosted WCF service inside of a windows service. If I follow Msft's guidelines and add a installer class to the Windows Service project, then run installutil.exe, everything works great. If I follow the WIX guideline to use the ServiceInstall way to install the service, it fails to start up due to some sort of configuration issues. (Says zero endpoints were configured). What is going on when I run installutil.exe that doesn't happen when I install the service through WIX using ServiceInstall? Has anyone come across this before? Thanks, James -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Self Hosted WCF Service Install
Word on the Christmas stuff. I got around it by programmatically setting the endpoint configuration, so no need to dig further. Thanks for the help though. On Nov 22, 2009, at 5:47 PM, Christopher Painter chr...@deploymentengineering.com wrote: I'd have to spend some time on this to make sure I'm not wrong, but I thought I recalled putting together a windows service that exposed a WCF webservice and that that when I did the endpoint (ABC's) was stored in the exe's app.config. Again, I could be wrong as this isn't something I do every day. For profiling, I meant debugging the code to see exactly why it's throwing an exception. Maybe I can find some free time later to look at this but for now it's christmas tree lights and egg nog. --- On Sun, 11/22/09, james poole poole.ja...@gmail.com wrote: From: james poole poole.ja...@gmail.com Subject: Re: [WiX-users] Self Hosted WCF Service Install To: chr...@deploymentengineering.com, General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Date: Sunday, November 22, 2009, 4:12 PM So I tried having the App.config get installed to the same directory, but no luck. Also, when using installutil.exe, you don't have to carry around the app.config file. Strange. Can you point me in the right direction for profiling? Not exactly sure what you mean. Thanks again,James On Sun, Nov 22, 2009 at 4:23 PM, Christopher Painter chr...@deploymentengineering.com wrote: InstallUtil truely is evil and the WiX way of doing things should work just fine. I've installed dozens on .NET services this way. The error message about no endpoints makes me wonder if your app.config is getting installed. I'd do some profiling of the app to see whats going on. Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me --- On Sun, 11/22/09, james poole poole.ja...@gmail.com wrote: From: james poole poole.ja...@gmail.com Subject: [WiX-users] Self Hosted WCF Service Install To: wix-users@lists.sourceforge.net Date: Sunday, November 22, 2009, 1:20 PM So I'm fairly new to WIX and I'm running into a problem that seems pervasive on the web. Basically, I have a .NET self-hosted WCF service inside of a windows service. If I follow Msft's guidelines and add a installer class to the Windows Service project, then run installutil.exe, everything works great. If I follow the WIX guideline to use the ServiceInstall way to install the service, it fails to start up due to some sort of configuration issues. (Says zero endpoints were configured). What is going on when I run installutil.exe that doesn't happen when I install the service through WIX using ServiceInstall? Has anyone come across this before? Thanks, James --- --- --- - Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users --- --- --- - Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users