RE: Apache Tomcat 9.0.8 install check
Shawn, You were right. When I changed to check for registry under Wow6432Node, then program could check prerequisites correctly. Thanks, Shailendra -Original Message- From: Shawn Heisey Sent: Tuesday, June 19, 2018 11:53 PM To: users@tomcat.apache.org 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 suspici...@convergys.com ___ 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. > > HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software > 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 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node. https://en.wikipedia.org/wiki/WoW64 https://en.wikipedia.org/wiki/Windows_on_Windows Thanks, Shawn - 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
Re: Apache Tomcat 9.0.8 install check
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. > > HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software 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 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node. https://en.wikipedia.org/wiki/WoW64 https://en.wikipedia.org/wiki/Windows_on_Windows Thanks, Shawn - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Apache Tomcat 9.0.8 install check
Thanks! Let me try. Thanks, Shailendra -Original Message- From: Suvendu Sekhar Mondal Sent: Monday, June 18, 2018 6:31 PM To: Tomcat Users List 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 suspici...@convergys.com ___ On Mon, Jun 18, 2018 at 6:23 PM, Shailendra Kumar Verma wrote: > Where? Can you be more specific which key are you talking about? Under same registry entry. Here is the full path for installed Tomcat 8 on my laptop: HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\8.0\Tomcat8_1\InstallPath There is another key called version - if you want to verify the version again: HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\8.0\Tomcat8_1\Version > Thanks, > Shailendra > > -Original Message- > From: Suvendu Sekhar Mondal > Sent: Monday, June 18, 2018 6:21 PM > To: Tomcat Users List > 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 > suspici...@convergys.com > ___ > > Shailendra, > > On Mon, Jun 18, 2018 at 5:45 PM, Shailendra Kumar Verma > wrote: >> Hello, >> >> 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. >> >> HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software >> Foundation\Tomcat\9.0\Tomcat9 >> >> However, everytime program just proceeds to install Tomcat despite it is >> already installed? Am I checking wrong registry? >> >> Thanks, >> Shailendra >> > > That is the correct registry path for installed TC. Additionally you can also > try to read value of InstallPath. > > - > 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
Re: Apache Tomcat 9.0.8 install check
On Mon, Jun 18, 2018 at 6:23 PM, Shailendra Kumar Verma wrote: > Where? Can you be more specific which key are you talking about? Under same registry entry. Here is the full path for installed Tomcat 8 on my laptop: HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\8.0\Tomcat8_1\InstallPath There is another key called version - if you want to verify the version again: HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\8.0\Tomcat8_1\Version > Thanks, > Shailendra > > -Original Message- > From: Suvendu Sekhar Mondal > Sent: Monday, June 18, 2018 6:21 PM > To: Tomcat Users List > 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 suspici...@convergys.com > ___ > > Shailendra, > > On Mon, Jun 18, 2018 at 5:45 PM, Shailendra Kumar Verma > wrote: >> Hello, >> >> 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. >> >> HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software >> Foundation\Tomcat\9.0\Tomcat9 >> >> However, everytime program just proceeds to install Tomcat despite it is >> already installed? Am I checking wrong registry? >> >> Thanks, >> Shailendra >> > > That is the correct registry path for installed TC. Additionally you can also > try to read value of InstallPath. > > - > 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
RE: Apache Tomcat 9.0.8 install check
Where? Can you be more specific which key are you talking about? Thanks, Shailendra -Original Message- From: Suvendu Sekhar Mondal Sent: Monday, June 18, 2018 6:21 PM To: Tomcat Users List 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 suspici...@convergys.com ___ Shailendra, On Mon, Jun 18, 2018 at 5:45 PM, Shailendra Kumar Verma wrote: > Hello, > > 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. > > HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software > Foundation\Tomcat\9.0\Tomcat9 > > However, everytime program just proceeds to install Tomcat despite it is > already installed? Am I checking wrong registry? > > Thanks, > Shailendra > That is the correct registry path for installed TC. Additionally you can also try to read value of InstallPath. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Apache Tomcat 9.0.8 install check
Shailendra, On Mon, Jun 18, 2018 at 5:45 PM, Shailendra Kumar Verma wrote: > Hello, > > 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. > > HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\9.0\Tomcat9 > > However, everytime program just proceeds to install Tomcat despite it is > already installed? Am I checking wrong registry? > > Thanks, > Shailendra > That is the correct registry path for installed TC. Additionally you can also try to read value of InstallPath. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org