From: Peter Secor <secorp@allmydata.com>
Date: Wed, 16 Apr 2008 17:52:21 +0000 (-0700)
Subject: windows installer - added commands to stop the services if the user is installing... 
X-Git-Url: https://git.rkrishnan.org/specifications/%5B/%5D%20/nxhtml.html?a=commitdiff_plain;h=6cdc0e39af5fbe765a1804be0f93b547c341df18;p=tahoe-lafs%2Ftahoe-lafs.git

windows installer - added commands to stop the services if the user is installing over a running instance of Allmydata
---

diff --git a/windows/installer.tmpl b/windows/installer.tmpl
index e3f67f6a..edb3cfd5 100644
--- a/windows/installer.tmpl
+++ b/windows/installer.tmpl
@@ -41,6 +41,8 @@ Name: "{group}\Allmydata Help"; Filename: "http://www.allmydata.com/help"
 
 [Run]
 ; Things performed before the final page of the installer
+Filename: "{sys}\net.exe"; Parameters: "stop ""Allmydata SMB"""; Flags: runhidden
+Filename: "{sys}\net.exe"; Parameters: "stop Tahoe"; Flags: runhidden
 Filename: "{app}\Install\tahoesvc.exe"; Parameters: "-install -auto"; Flags: runhidden
 Filename: "{app}\Install\tahoe.exe"; Parameters: "create-client ""{app}\noderoot"""; Flags: runhidden
 Filename: "{app}\Install\winfuse\InstallUtil.exe"; Parameters: """{app}\Install\winfuse\WinFUSE.exe"""; Flags: runhidden