When run on a 64-bit Windows system the NSIS script does not check the 32-bit registry path for a JRE.
32-bit JRE registry path --> "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment" 64-bit JRE registry path --> "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" The difference being that the 32-bit entries are off the "Wow6432Node" key. John -----Original Message----- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, April 28, 2011 12:04 PM To: Tomcat Users List Subject: Re: (Issue) Tomcat 7.0.12 silent install On 28/04/2011 12:25, john.marci...@pb.com wrote: >> If the installer can't find the JVM >> then things could go wrong. > > When I install Tomcat on the 64-bit system using the wizard I had to tell the > installer the location of the 32-bit JRE. > Doing a silent install fails since it can't find the JRE. > I then installed the 64-bit JRE. The Tomcat installer picked that right up. > >> You'd have to check the nsis script to see >> how JVM detection is done > > Where would I find the NSIS script? http://svn.apache.org/viewvc/tomcat/trunk/res/tomcat.nsi?view=log Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org