Module: check_mk
Branch: master
Commit: d9c2bc9a9a97bb88dfa48ec09a01cd365ef476cf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d9c2bc9a9a97bb…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Jan 10 15:10:58 2012 +0100
windows installer: Fixed quoting for adding/removing the service
---
agents/windows/check_mk_agent.exe | Bin 102912 -> 102912 bytes
agents/windows/crash.exe | Bin 20024 -> 20024 bytes
agents/windows/install_agent.exe | Bin 124972 -> 124961 bytes
agents/windows/installer.nsi | 4 ++--
4 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/agents/windows/check_mk_agent.exe b/agents/windows/check_mk_agent.exe
index 5be72cf..84c2fd3 100755
Binary files a/agents/windows/check_mk_agent.exe and b/agents/windows/check_mk_agent.exe
differ
diff --git a/agents/windows/crash.exe b/agents/windows/crash.exe
index fd6d20f..30ab0b6 100755
Binary files a/agents/windows/crash.exe and b/agents/windows/crash.exe differ
diff --git a/agents/windows/install_agent.exe b/agents/windows/install_agent.exe
index 23e8a93..c48ba7c 100755
Binary files a/agents/windows/install_agent.exe and b/agents/windows/install_agent.exe
differ
diff --git a/agents/windows/installer.nsi b/agents/windows/installer.nsi
index df871d4..95ac413 100644
--- a/agents/windows/installer.nsi
+++ b/agents/windows/installer.nsi
@@ -83,7 +83,7 @@ SectionEnd
Section "Install & start service"
DetailPrint "Installing and starting the check_mk_agent service..."
- nsExec::Exec 'cmd /C \'"$INSTDIR\check_mk_agent.exe"
install\''
+ nsExec::Exec 'cmd /C "$INSTDIR\check_mk_agent.exe" install'
nsExec::Exec 'cmd /C "net start check_mk_agent"'
SectionEnd
@@ -92,7 +92,7 @@ Section "Uninstall"
DetailPrint "Stopping service..."
nsExec::Exec 'cmd /C "net stop check_mk_agent"'
DetailPrint "Removing service..."
- nsExec::Exec 'cmd /C "$INSTDIR\check_mk_agent.exe" remove"'
+ nsExec::Exec 'cmd /C "$INSTDIR\check_mk_agent.exe" remove'
; Remove registry keys
DeleteRegKey HKLM
"Software\Microsoft\Windows\CurrentVersion\Uninstall\check_mk_agent"