Re: [WiX-users] How do I install a Win32 service that uses SvcHost.exe?

2006-11-22 Thread Anthony Valente
I'm installing a service as part of my install using Wix 3. Here's the
(slightly modified) code I use:

 











 

Hope it helps.

 


Anthony





 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: Thursday, November 23, 2006 10:50 AM
To: Byron Changuion; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How do I install a Win32 service that uses
SvcHost.exe?

 

AFAIK, the Windows Installer doesn't support creating services like that.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Byron
Changuion
Sent: Tuesday, November 07, 2006 15:25
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How do I install a Win32 service that uses SvcHost.exe?

 

Hi,

 

I have a Win32 service that should be installed with my MSI.  The typical
WIX entry for a service would look something like:

 











 

However, this produces an ImagePath service entry that references
MyService.Dll, whereas I need to specify something like
"%SystemRoot%\system32\svchost.exe -k MySvcHostGroup".

 

Cheers,

-Byron.



smime.p7s
Description: S/MIME cryptographic signature
-
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


Re: [WiX-users] How do I install a Win32 service that uses SvcHost.exe?

2006-11-22 Thread Rob Mensching
AFAIK, the Windows Installer doesn't support creating services like that.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Byron Changuion
Sent: Tuesday, November 07, 2006 15:25
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How do I install a Win32 service that uses SvcHost.exe?

Hi,

I have a Win32 service that should be installed with my MSI.  The typical WIX 
entry for a service would look something like:







However, this produces an ImagePath service entry that references 
MyService.Dll, whereas I need to specify something like 
"%SystemRoot%\system32\svchost.exe -k MySvcHostGroup".

Cheers,
-Byron.
-
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


Re: [WiX-users] How do I install a Win32 service that uses SvcHost.exe?

2006-11-07 Thread Mike Dimmick



Microsoft has never documented how the shared service 
hosting through SvcHost.exe works, so it's pretty much only MS who can create 
such a service. The Type can be set to "shareProcess", but I think this is still 
meant for installing your own EXE which hosts multiple services, rather than a 
DLL which uses SvcHost.exe. Windows Installer uses the KeyPath of the component 
as the ImagePath for the service, as you've discovered.
 
Your best bet may be to find out from the Windows Installer 
team how you're meant to do this with the ServiceInstall table. It may not be 
possible.
 
-- 
Mike Dimmick


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Byron 
ChanguionSent: 07 November 2006 23:25To: 
wix-users@lists.sourceforge.netSubject: [WiX-users] How do I install 
a Win32 service that uses SvcHost.exe?


Hi,
 
I have a Win32 service that should be installed with my 
MSI.  The typical WIX entry for a service would look something 
like:
 

    
    
    
Name="MyService"
    
DisplayName="My Service Name"
    
Description="My Service Description"
    
Type="ownProcess"
    
Interactive="no"
   
 Start="auto"
    
Vital="yes"
    
ErrorControl="normal">
    

 
However, this produces an ImagePath service entry that 
references MyService.Dll, whereas I need to specify something like 
“%SystemRoot%\system32\svchost.exe -k MySvcHostGroup”.
 
Cheers,
-Byron.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How do I install a Win32 service that uses SvcHost.exe?

2006-11-07 Thread Byron Changuion








Hi,

 

I have a Win32 service that should be installed with my MSI. 
The typical WIX entry for a service would look something like:

 



    

    

   
Name="MyService"

   
DisplayName="My Service Name"

   
Description="My Service Description"

   
Type="ownProcess"

   
Interactive="no"

  
 Start="auto"

   
Vital="yes"

   
ErrorControl="normal">

    



 

However, this produces an ImagePath service entry
that references MyService.Dll, whereas I need to specify something like “%SystemRoot%\system32\svchost.exe
-k MySvcHostGroup”.

 

Cheers,

-Byron.






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users