You were right. When I changed to check for registry under Wow6432Node, then 
program could check prerequisites correctly.


-----Original Message-----
From: Shawn Heisey <> 
Sent: Tuesday, June 19, 2018 11:53 PM
Subject: Re: Apache Tomcat 9.0.8 install check

***CAUTION: This email originated from outside of the organization. Do not open 
attachments or click links unless you recognize sender and know content is 
safe.*** Forward suspicious email to 

On 6/18/2018 6:15 AM, Shailendra Kumar Verma wrote:
> I am trying to find out through registry checking whether or not Apache 
> Tomcat 9.0.8 is already installed or not. If the below registry is not there, 
> then my program installs Apache Tomcat 9.0.8 installer otherwise it moves on 
> to other installation and completes. It's kind of prerequisite check program.
> Foundation\Tomcat\9.0\Tomcat9
> However, everytime program just proceeds to install Tomcat despite it is 
> already installed? Am I checking wrong registry?

Do you think it could be possible that the tomcat installer and your checking 
program are different architectures?  A 32-bit Windows program will see a 
different registry location for HKEY_LOCAL_MACHINE\SOFTWARE than a 64-bit 
program will.  A 64-bit program can see the 32-bit location as 


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to