couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r1099307 - in /couchdb/branches/1.0.x: ./ etc/default/couchdb etc/windows/couchdb.iss.tpl
Date Wed, 04 May 2011 00:39:55 GMT
Author: davisp
Date: Wed May  4 00:39:55 2011
New Revision: 1099307

URL: http://svn.apache.org/viewvc?rev=1099307&view=rev
Log:
Improve Windows installer definition.

Backport of 1083714 from trunk.


Modified:
    couchdb/branches/1.0.x/   (props changed)
    couchdb/branches/1.0.x/etc/default/couchdb   (props changed)
    couchdb/branches/1.0.x/etc/windows/couchdb.iss.tpl

Propchange: couchdb/branches/1.0.x/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed May  4 00:39:55 2011
@@ -6,4 +6,4 @@
 /couchdb/branches/list-iterator:782292-784593
 /couchdb/branches/tail_header:775760-778477
 /couchdb/tags/0.10.0:825400
-/couchdb/trunk:984170,984178,984214,984228,984237,984241,984501,991073,1045203,1095557,1095581,1097300
+/couchdb/trunk:984170,984178,984214,984228,984237,984241,984501,991073,1045203,1083714,1095557,1095581,1097300

Propchange: couchdb/branches/1.0.x/etc/default/couchdb
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed May  4 00:39:55 2011
@@ -6,5 +6,5 @@
 /couchdb/branches/list-iterator/etc/default/couchdb:782292-784593
 /couchdb/branches/tail_header/etc/default/couchdb:775760-778477
 /couchdb/tags/0.10.0/etc/default/couchdb:825400
-/couchdb/trunk/etc/default/couchdb:984170,984178,984214,984228,984237,984241,984501,991073,1045203,1095557,1095581,1097300
+/couchdb/trunk/etc/default/couchdb:984170,984178,984214,984228,984237,984241,984501,991073,1045203,1083714,1095557,1095581,1097300
 /incubator/couchdb/trunk/etc/default/couchdb:642419-694440

Modified: couchdb/branches/1.0.x/etc/windows/couchdb.iss.tpl
URL: http://svn.apache.org/viewvc/couchdb/branches/1.0.x/etc/windows/couchdb.iss.tpl?rev=1099307&r1=1099306&r2=1099307&view=diff
==============================================================================
--- couchdb/branches/1.0.x/etc/windows/couchdb.iss.tpl (original)
+++ couchdb/branches/1.0.x/etc/windows/couchdb.iss.tpl Wed May  4 00:39:55 2011
@@ -74,11 +74,14 @@ Filename: "{app}\Install.exe"; Parameter
 ; Commands for a service
 ; First attempt to nuke an existing service of this name, incase they are
 ; reinstalling without uninstalling
-Filename: "{app}\erts-%erts_version%\bin\erlsrv.exe"; Parameters: "remove ""%package_name%""";
Tasks: service
-; add a new one
-Filename: "{app}\erts-%erts_version%\bin\erlsrv.exe"; Parameters: "add ""%package_name%""
-w ""{app}\bin"" -ar ""-sasl errlog_type error -s couch"" -c ""%package_name% %version%""";
Tasks: service
+Filename: "{app}\erts-%erts_version%\bin\erlsrv.exe"; Parameters: "remove ""%package_name%""";
Flags: runhidden; Tasks: service
+; add a new service, including automatic restart by default on failure
+Filename: "{app}\erts-%erts_version%\bin\erlsrv.exe"; Parameters: "add ""%package_name%""
-workdir ""{app}\bin"" -onfail restart_always -args ""-sasl errlog_type error -s couch +A
4 +W w"" -comment ""%package_name% %version%"""; Flags: runhidden; Tasks: service
 ; and start it if requested
-Filename: "{app}\erts-%erts_version%\bin\erlsrv.exe"; Parameters: "start ""%package_name%""";
Tasks: service\start
+Filename: "{app}\erts-%erts_version%\bin\erlsrv.exe"; Parameters: "start ""%package_name%""";
Flags: runhidden; Tasks: service\start
 
 [UninstallRun]
-Filename: "{app}\erts-%erts_version%\bin\erlsrv.exe"; Parameters: "remove ""%package_name%""";
Tasks: service
+; erlsrv stops services prior to removing them
+Filename: "{app}\erts-%erts_version%\bin\erlsrv.exe"; Parameters: "remove ""%package_name%""";
Flags: runhidden; Tasks: service
+; kill epmd.exe if running to ensure uninstaller is not prevented from removing all binaries
+Filename: "{app}\erts-%erts_version%\bin\epmd.exe"; Parameters: "-kill"; Flags: runhidden



Mime
View raw message