From 472133ea18000b900285c354374da4d3a4953f07 Mon Sep 17 00:00:00 2001
From: Peter Secor <secorp@allmydata.com>
Date: Mon, 19 May 2008 12:47:31 -0700
Subject: [PATCH] windows installer - fix quoting on start/stop of Allmydata
 Manager and update version #

---
 windows/installer.tmpl | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/windows/installer.tmpl b/windows/installer.tmpl
index c1435b43..d266abb7 100644
--- a/windows/installer.tmpl
+++ b/windows/installer.tmpl
@@ -1,7 +1,7 @@
 [Setup]
-AppName=Allmydata 3.0
-; AppVerName=Allmydata 3.0 (build %(major)d.%(minor)d.%(point)d-r%(revision)d)
-AppVerName=Allmydata 3.0
+AppName=Allmydata 3.0.2
+; AppVerName=Allmydata 3.0.2 (build %(major)d.%(minor)d.%(point)d-r%(revision)d)
+AppVerName=Allmydata 3.0.2
 AppVersion=%(major)d.%(minor)d.%(point)d-r%(revision)d
 VersionInfoVersion=%(major)d.%(minor)d.%(point)d.%(revision)d
 AppPublisher=Allmydata Inc.
@@ -53,14 +53,14 @@ Filename: "{app}\Install\confwiz.exe"; Flags: hidewizard
 Filename: "{sys}\rundll32.exe"; Parameters: "{app}\Install\winfuse\loopback_install.dll doLoopBackEntry"; Flags: runhidden
 Filename: "{app}\Install\winfuse\AllmydataTray.exe"; Description: "Run Allmydata"; Flags: postinstall nowait
 Filename: "http://www.allmydata.com/welcome_install?v=%(major)d.%(minor)d.%(point)d.%(revision)d"; Description: "View the Welcome Page"; Flags: postinstall shellexec
-Filename: "{sys}\net.exe"; Parameters: "start Allmydata Manager"; Flags: runhidden
+Filename: "{sys}\net.exe"; Parameters: "start ""Allmydata Manager"""; Flags: runhidden
 
 [UninstallRun]
 ; Performed before the uninstaller runs to undo things
 ; xFilename: "{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: "{sys}\net.exe"; Parameters: "stop Allmydata Manager"; Flags: runhidden
+Filename: "{sys}\net.exe"; Parameters: "stop ""Allmydata Manager"""; 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
 Filename: "{app}\Install\winfuse\AllmydataManager.exe"; Parameters: "-U"; Flags: runhidden
-- 
2.45.2