You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/10/21 18:54:50 UTC

DO NOT REPLY [Bug 50140] New: Silent installation into wrong target directory

https://issues.apache.org/bugzilla/show_bug.cgi?id=50140

           Summary: Silent installation into wrong target directory
           Product: Tomcat 6
           Version: 6.0.26
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:Packaging
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: mf9@3ds.com


Incorrect silent installation on Windows 2008 Enterprise:

Command: apachetomcat-6.0.26.exe /S /D=c:\tomcat

Tomcat files are copied to "c:\Program Files" instead of "c:\tomcat"
The installation works fine on Windows XP and Windows 2003 Server systems.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50140] Silent installation into wrong target directory

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50140

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Mark Thomas <ma...@apache.org> 2011-01-07 13:01:02 EST ---
This (and a whole bunch of other improvements) has been applied to 6.0.x and
will be included in 6.0.30 onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50140] Silent installation into wrong target directory

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50140

--- Comment #7 from Konstantin Kolinko <kn...@gmail.com> 2011-02-02 12:58:00 EST ---
This (and a whole bunch of other improvements) has been applied to 5.5.x in
r1066549 and will be in 5.5.33.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50140] Silent installation into wrong target directory

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50140

--- Comment #4 from Mark Thomas <ma...@apache.org> 2010-10-25 16:31:27 EDT ---
Thanks to the NSIS folks for pointing out our (probably "my" but I haven't
check the history) error.

I'm currently looking into a patch for this that will also allow the 32-bit
service wrapper to be installed on 64-bit windows if a 32-bit JVM is selected.

I should hopefully have finished testing this tomorrow.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50140] Silent installation into wrong target directory

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50140

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
         OS/Version|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-10-21 14:01:47 EDT ---
That feature is provided directly by the NSIS installer.

I checked the NSIS bug tracker but couldn't find anything that looked like this
issue.

You might want to test with 6.0.29 since that uses a slightly later version of
the installer.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50140] Silent installation into wrong target directory

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50140

--- Comment #2 from Michael Hopf <mf...@3ds.com> 2010-10-22 03:20:39 EDT ---
Version 6.0.29 has the same problem. We are using a 64bit Windows 2008
Enterprise system. If you are sure that the problem is NSIS related, we can
close this bug report. I will open a new bug report on NSIS side.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50140] Silent installation into wrong target directory

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50140

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
            Version|6.0.26                      |6.0.29
         Resolution|INVALID                     |

--- Comment #3 from Konstantin Kolinko <kn...@gmail.com> 2010-10-24 20:58:37 EDT ---
Reopening.

As Anders noted in a comment to bug 3092765 at Sourceforge [1], it is an issue
with .onInit function in our tomcat.nsi.

[1]
http://sourceforge.net/tracker/?func=detail&aid=3092765&group_id=22049&atid=373085


The problem is that when Tomcat is installed on 64-bit platforms, .onInit
resets the value of $INSTDIR, thus effectively ignoring the value passed with
/D commandline option. There is a patch suggested in [1].

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50140] Silent installation into wrong target directory

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50140

--- Comment #5 from Mark Thomas <ma...@apache.org> 2010-10-26 08:31:25 EDT ---
I have fixed this in trunk and proposed the fix for 6.0.x

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 50140] Silent installation into wrong target directory

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50140

--- Comment #9 from Jackie Rosen <ja...@hushmail.com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50140] Silent installation into wrong target directory

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50140

--- Comment #8 from Chris LeCompte <ch...@gmail.com> 2011-08-11 18:30:44 UTC ---
This issue does not seem to address the case when the JRE is provided by a JDK
installation.  In that case the HKLM "SOFTWARE\JavaSoft\Java Runtime
Environment" key is not present, only a Java Development Environment key.  I
found this whilst trying to perform a silent install using a 64-bit JDK
(1.5.0_14) on windows 2008 server.  

A manual install is still possible but it does not auto detect the location
there as well. The other work around is to install a JRE but that doesn't quite
mesh well with the app I'm installing.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org