Hello, has anyone had any experience installing a procrun.exe commons 
daemon java service with WiX.  All configuration is stored in the registry
32bit
HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 
2.0\FooService\Parameters
on 64bit in
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software 
Foundation\Procrun 2.0\FooService\Parameters

I noticed this thread 
<http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg03022.html> 
and have tried to get the service to install and start by using heat to 
get the registry values and adding the registry entries to my .wxs.

The install seems to work, the problem comes in when starting the 
service. I get the windows installer error 1923
MSI (s) (F0:AC) [14:13:53:271]: Executing op: 
ServiceInstall(Name=FooService,DisplayName=FooService,ImagePath=C:\pathToService\FooService.exe
 
//RS//FooService,ServiceType=16,StartType=2,ErrorControl=32769,,,,StartName=LocalSystem,Password=**********,Description=FooService)
Error 1923. Service 'FooService' (FooService) could not be installed. 
Verify that you have sufficient privileges to install system services.

...and if I try installing but not starting I get Error 1053 on windows.

The only difference I see in the registry entries for the service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FooService]
"DisplayName"="FooService" is present when installing with windows 
installer and not present when using commons daemon batch files.

If anyone has experience with wix and commons daemon and has any advice 
on installing and starting procrun.exe without a custom action any help 
would be appreciated.

Thanks,
--Sam
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to