remm 01/12/19 09:53:33
Modified: . tomcat.nsi
Log:
- Fix a bug where the uninstaller was deleted at the end of the installation
(because the way the uninstaller is generated has changed).
Revision Changes Path
1.23 +2 -6 jakarta-tomcat-4.0/tomcat.nsi
Index: tomcat.nsi
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/tomcat.nsi,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- tomcat.nsi 2001/12/19 17:02:26 1.22
+++ tomcat.nsi 2001/12/19 17:53:33 1.23
@@ -1,6 +1,6 @@
; Tomcat 4 script for Nullsoft Installer
-; $Id: tomcat.nsi,v 1.22 2001/12/19 17:02:26 remm Exp $
+; $Id: tomcat.nsi,v 1.23 2001/12/19 17:53:33 remm Exp $
Name "apache-tomcat-4.1"
Caption "Apache Tomcat 4.1"
@@ -55,7 +55,7 @@
CopyFiles "$2\lib\tools.jar" "$INSTDIR\common\lib" 4500
- WriteUninstaller uninst-tomcat4.exe
+ WriteUninstaller "$INSTDIR\uninst-tomcat4.exe"
SectionEnd
@@ -187,10 +187,6 @@
File /r conf
SetOverwrite on
-
- ; since the installer is now created last (in 1.2+), this makes sure
- ; that any old installer that is readonly is overwritten.
- Delete $INSTDIR\uninst-tomcat4.exe
WriteRegStr HKLM "SOFTWARE\Apache\Apache Tomcat 4.1" "" $INSTDIR
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Apache
Tomcat 4.1" \
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>