Windows Installer can handle creation of any Windows NT service. The Java code is not required.
---------------------------------------- From: "Uma Harano" <uhar...@esri.com> Sent: Monday, May 20, 2013 12:53 PM To: "chr...@iswix.com" <chr...@iswix.com>, "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Subject: RE: [WiX-users] log stdout and stderr to the msi log Yes! It is a Windows NT service. -----Original Message----- From: Christopher Painter [mailto:chr...@iswix.com] Sent: Friday, May 17, 2013 3:41 PM To: General discussion for Windows Installer XML toolset.; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] log stdout and stderr to the msi log Is this a Windows (NT) service? (ie net start servicename) ---------------------------------------- From: "Uma Harano" <uhar...@esri.com> Sent: Friday, May 17, 2013 4:51 PM To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Subject: Re: [WiX-users] log stdout and stderr to the msi log The service I have been asked to create can only be created by calling the java process. -----Original Message----- From: Mike Carlson [mailto:corf...@gmail.com] Sent: Friday, May 17, 2013 2:11 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] log stdout and stderr to the msi log I don't know the direct answer to your question, but taking a step back, have you considered any alternatives instead of adding a custom action? Custom actions are notoriously difficult to write correctly, and very, very easy to get wrong. A custom action that invokes an external process (such as java.exe) is *especially* likely to result in a product that doesn't reliably install or repair on all machines, and may also be difficult to service or patch. What problem is your custom action meant to solve? Perhaps there is another way to solve that problem, without having to write and maintain a custom action at all. On Fri, May 17, 2013 at 1:46 PM, Uma Harano <uhar...@esri.com> wrote: > Hi, > Is there a way by which I can log (to the msi log) the stdout and > strerr while running my custom action that is written in C++? I am > calling a process using java.exe and I need to log the output to the > msi log. Is this possible? > > Thanks! > Uma Harano > > ---------------------------------------------------------------------- > -------- AlienVault Unified Security Management (USM) platform > delivers complete security visibility with the essential security > capabilities. Easily and efficiently configure, manage, and operate > all of your security controls from a single console and one unified > framework. Download a free trial. > http://p.sf.net/sfu/alienvault_d2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ---------------------------------------------------------------------------- -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users