I can't imagine why not. In their website the write: Take winsw.exe from the distribution, and rename it to your taste (such as myapp.exe) Write myapp.xml (see Configuration Syntax for more details) Place those two files side by side when you deploy your application, because that's how winsw.exe discovers its configuration. So you'd create a WiX components for those two files and your JAR file to all go in the same directory. Then you'd add the ServiceInstall / ServiceControl elements to the component from step 1.
If you do it correctly, it should work just fine. A service is a service to Windows Installer. ---------------------------------------- From: malliina...@gmail.com Sent: Sunday, February 10, 2013 5:43 AM To: "wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net> Subject: [WiX-users] ServiceInstall fragment for Java applications Is it possible to use the ServiceInstall fragment for Java applications packaged with WiX? Currently, I have created an MSI installer for a Java application with WiX. I'm using a java service wrapper (http://kenai.com/projects/winsw/pages/Home) and Custom Actions in WiX to install/uninstall the application as a service. However, based on discussions elsewhere, there appear to be drawbacks to using Custom Actions while the ServiceInstall fragment seems more appropriate for installing applications as a service. I'm researching the possibility of creating a valid service executable in C# that I can use in a ServiceInstall fragment that would in turn start/stop my java app, if that helps. Any feedback on the recommended way forward is appreciated. Any solutions which involve restrictive software licenses are not acceptable. Thanks Michael ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users