From 6cdc0e39af5fbe765a1804be0f93b547c341df18 Mon Sep 17 00:00:00 2001
From: Peter Secor <secorp@allmydata.com>
Date: Wed, 16 Apr 2008 10:52:21 -0700
Subject: [PATCH] windows installer - added commands to stop the services if
 the user is installing over a running instance of Allmydata

---
 windows/installer.tmpl | 2 ++
 1 file changed, 2 insertions(+)

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
-- 
2.45.2