Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread T. Kuro Kurosaka
On 1/13/12 7:28 AM, Peter Shirtcliffe wrote: > Why not check it when the application starts up ? The product in question runs as a service. There is no GUI. The Java wrapper could only log the error and quit. For that reason, the product marketing tells us we should check the prerequisite softw

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread John Cooper
ginal Message- From: Mike Rerick [mailto:mrer...@iwsinc.com] Sent: Friday, January 13, 2012 9:38 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip The app being installed is a Java app. Can'

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread Mike Rerick
llation option that > modifies the product code. > > -Original Message- > From: Mike Rerick [mailto:mrer...@iwsinc.com] > Sent: 13 January 2012 15:38 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Writing JDK version verification cod

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread Peter Shirtcliffe
riginal Message- From: Mike Rerick [mailto:mrer...@iwsinc.com] Sent: 13 January 2012 15:38 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip The app being installed is a Java app. Can't run it without

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread Mike Rerick
The app being installed is a Java app. Can't run it without Java being installed. If Java isn't installed, the installer needs to quit with an error msg to the user. On Fri, Jan 13, 2012 at 7:28 AM, Peter Shirtcliffe wrote: > Why not check it when the application starts up ? It'll be easier to c

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread Peter Shirtcliffe
Why not check it when the application starts up ? It'll be easier to code and the user has the option of installing Java after your product instead of forcing it to be done beforehand. -Original Message- From: T. Kuro Kurosaka [mailto:k...@basistech.com] Sent: 12 January 2012 23:50 To: wi

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread Mike Rerick
Here is something I had put together quite a while ago that works for me. You should be able to modify it to do what you need. You could change the CustomAction to SetProperty elements. JAVA_JRE_HOME SetJavaJdkJreHomeVBS.wxi: http://schemas.mic

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-12 Thread Christopher Painter
My memory of the way Java stores there version information in the registry isn't very friendly to MSI's RegLocator pattern. You might need a custom action. From: "T. Kuro Kurosaka" Sent: Thursday, January 12, 2012 6:21 PM To: wix-users@lists.sourcefo