From 48d11c4bb7964f5a85395b380a25eab66cebf880 Mon Sep 17 00:00:00 2001
From: Peter Secor <secorp@allmydata.com>
Date: Mon, 21 Apr 2008 16:41:43 -0700
Subject: [PATCH] windows installer - added -Q option to installer as well as
 to uninstaller, added back the SMB service stop

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

diff --git a/windows/installer.tmpl b/windows/installer.tmpl
index 255dba33..1cedcbc6 100644
--- a/windows/installer.tmpl
+++ b/windows/installer.tmpl
@@ -41,6 +41,7 @@ Name: "{group}\Allmydata Help"; Filename: "http://www.allmydata.com/help"
 
 [Run]
 ; Things performed before the final page of the installer
+Filename: "{app}\Install\winfuse\AllmydataTray.exe"; Parameters: "-Q"; Flags: runhidden
 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
@@ -54,6 +55,7 @@ Filename: "http://beta.allmydata.com/welcome_install?v=%(major)d.%(minor)d.%(poi
 [UninstallRun]
 ; Performed before the uninstaller runs to undo things
 Filename: "{app}\Install\winfuse\AllmydataTray.exe"; Parameters: "-Q"; Flags: runhidden
+Filename: "{sys}\net.exe"; Parameters: "stop ""Allmydata SMB"""; Flags: runhidden
 Filename: "{sys}\net.exe"; Parameters: "stop Tahoe"; Flags: runhidden
 Filename: "{app}\Install\winfuse\InstallUtil.exe"; Parameters: "/uninstall ""{app}\Install\winfuse\WinFUSE.exe"""; Flags: runhidden
 Filename: "{app}\Install\tahoesvc.exe"; Parameters: "-remove"; Flags: runhidden
-- 
2.45.2