[WiX-users] Self Hosted WCF Service Install

2009-11-22 Thread james poole
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


Re: [WiX-users] Self Hosted WCF Service Install

2009-11-22 Thread Christopher Painter
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

2009-11-22 Thread james poole
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

2009-11-22 Thread Christopher Painter
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

2009-11-22 Thread Gmail
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


[WiX-users] How to prevent %USERPROFILE% be expanded

2009-11-22 Thread Hotmail
Hi All,

 

I want to create a shortcut and installed as per-machine.

Add I set the shortcut's working directory to %USERPROFILE%, with intension
to set the Start In with different values under differ users.

Unfortunately this value was resolved and wrote same value for all user.

 

Any ideas how can I hold this value not be resolved or expand?

 

 

Thanks,

Danny

--
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] Launch Condition on Unistall or Remove

2009-11-22 Thread spsingam

hi all, 

well, it still does not work as the Launch condition still executed on
Uninstall.

I have tried NOT Installed within the condition and it does not work.

i am using Wix  3.0.5419.0 and Votive with VS 2008.


Can someone maybe give me a sample code that work?

Thanks.



Blair-2 wrote:
 
 Always add  OR Installed to all of your LaunchConditions. If the product
 is already installed, you want to allow repairs and removals, including
 upgrades.
 
 -Original Message-
 From: spsingam [mailto:siva.poobalasin...@gmail.com] 
 Sent: Tuesday, November 17, 2009 8:13 PM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Launch Condition on Unistall or Remove
 
 
 hi, 
 
 how do i make sure that the Launch Condition only executes only on
 Installed
 ???
 
 for now, my installer executes the Launch Condition on uninstall.
 
 Anyone here with suggestions ?
 
 -- 
 View this message in context:
 http://n2.nabble.com/Launch-Condition-on-Unistall-or-Remove-tp4023317p402331
 7.html
 Sent from the wix-users mailing list archive at Nabble.com.
 
 
 --
 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
 
 

-- 
View this message in context: 
http://n2.nabble.com/Launch-Condition-on-Unistall-or-Remove-tp4023317p4049177.html
Sent from the wix-users mailing list archive at Nabble.com.

--
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] Launch Condition on Unistall or Remove

2009-11-22 Thread spsingam

hi all, 

well, it still does not work as the Launch condition still executed on
Uninstall.

I have tried NOT Installed and OR Installed within the condition and it
does not work.

i am using Wix  3.0.5419.0 and Votive with VS 2008.

Can someone maybe give me a sample code that work?

Thanks.
-- 
View this message in context: 
http://n2.nabble.com/Launch-Condition-on-Unistall-or-Remove-tp4023317p4049186.html
Sent from the wix-users mailing list archive at Nabble.com.

--
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] How to prevent %USERPROFILE% be expanded

2009-11-22 Thread Sebastian Brand (Instyler Software)
Unfortunally, Windows Installer resolves this when creating the shortcut:
From the doc:
The references are resolved to an actual path when the installer resolves
the working directory to create the shortcut.

- http://msdn.microsoft.com/en-us/library/aa371847%28VS.85%29.aspx

Best regards,
Sebastian Brand

Deployment consultant
E-Mail: sebast...@instyler.com
Blog: www.sebastianbrand.com
 


 -Original Message-
 From: Hotmail [mailto:zhuxian...@msn.cn]
 Sent: Monday, November 23, 2009 04:25
 To: 'General discussion for Windows Installer XML toolset.'
 Subject: [WiX-users] How to prevent %USERPROFILE% be expanded
 
 Hi All,
 
 
 
 I want to create a shortcut and installed as per-machine.
 
 Add I set the shortcut's working directory to %USERPROFILE%, with
intension
 to set the Start In with different values under differ users.
 
 Unfortunately this value was resolved and wrote same value for all user.
 
 
 
 Any ideas how can I hold this value not be resolved or expand?
 
 
 
 
 
 Thanks,
 
 Danny
 


--
 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