I don't think there's a difference between installing a .NET service vs
. a "regular" service so, ServiceInstall doesn't need to detect
anything.  Can you install your service with SC CREATE?

 

The InstallUtil.exe doesn't know a service from a hole in the ground.
All it does is look for classes that have the RunInstaller attribute and
it calls the right methods (depending on the command line switches). 

 

Was your service already installed the first time that you tried to
install it via WiX?  I'm not sure what Windows Installer does if a
service is already installed when it thinks it's installing for the
first time.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Don
Tasanasanta
Sent: Thursday, April 05, 2007 12:28 PM
To: Rob Mensching; BULL, Dave, GBM; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Installing .NET Services

 

How does ServiceInstall detect that you're installing a .net service as
opposed to a "regular" service?

 

I'm experiencing difficulties installing a .net service using
ServiceInstall. The service is there but doesn't seem to be registering
properly.

 

How does ServiceInstall work compared to the .net utility
InstallUtil.exe?

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Mensching
Sent: Wednesday, October 25, 2006 8:12 AM
To: BULL, Dave, GBM; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Installing .NET Services

 

ServiceInstall should just work.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of BULL,
Dave, GBM
Sent: Wednesday, October 25, 2006 5:52 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Installing .NET Services

 

Hi Wix people

 

I am having problems installing a windows service written in .NET. I am
using wix 3.0.2128.0.

 

I have successfully managed to install services written in unmanaged C++
using the ServiceInstall tag, but this doesn't seem to work for my .NET
component.

 

Do I have to use the method which is mentioned here:

 

http://installneo.blogspot.com/2004/09/installing-windows-services-creat
ed.html

 

? ... or should the ServiceInstall tag work?

 

Dave

 
 
************************************************************************
***********
 
The Royal Bank of Scotland plc. Registered in Scotland No 90312.
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
 
Authorised and regulated by the Financial Services Authority 
 
 
 
This e-mail message is confidential and for use by the 
 
addressee only. If the message is received by anyone other 
 
than the addressee, please return the message to the sender 
 
by replying to it and then delete the message from your 
 
computer. Internet e-mails are not necessarily secure. The 
 
Royal Bank of Scotland plc does not accept responsibility for 
 
changes made to this message after it was sent. 
 
 
 
Whilst all reasonable care has been taken to avoid the 
 
transmission of viruses, it is the responsibility of the recipient to 
 
ensure that the onward transmission, opening or use of this 
 
message and any attachments will not adversely affect its 
 
systems or data. No responsibility is accepted by The 
 
Royal Bank of Scotland plc in this regard and the recipient should carry

 
out such virus and other checks as it considers appropriate. 
 
Visit our websites at: 
 
http://www.rbos.com
 
http://www.rbsmarkets.com 
 
************************************************************************
***********
 
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to