summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-01-27 12:50:03 +0000
committerSimon MacMullen <simon@rabbitmq.com>2011-01-27 12:50:03 +0000
commit7b847a9bf1c9e4507ca58b2e478adfc33aeef35d (patch)
tree27e62e1d9027ae2a0c1896fb7b72e6ff44d8526a
parent93823a923bef6971463e3f6bf46cd7408e93152c (diff)
downloadrabbitmq-server-7b847a9bf1c9e4507ca58b2e478adfc33aeef35d.tar.gz
Create db and log directories in case the service isn't installed.
-rw-r--r--packaging/windows-exe/rabbitmq_nsi.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/windows-exe/rabbitmq_nsi.in b/packaging/windows-exe/rabbitmq_nsi.in
index 42a230ab..ce575f70 100644
--- a/packaging/windows-exe/rabbitmq_nsi.in
+++ b/packaging/windows-exe/rabbitmq_nsi.in
@@ -108,6 +108,11 @@ SectionEnd
;--------------------------------
Section "Start Menu" RabbitStartMenu
+ ; In case the service is not installed, or the service installation fails,
+ ; make sure these exist or Explorer will get confused.
+ CreateDirectory "$APPDATA\RabbitMQ\log"
+ CreateDirectory "$APPDATA\RabbitMQ\db"
+
CreateDirectory "$SMPROGRAMS\RabbitMQ"
CreateShortCut "$SMPROGRAMS\RabbitMQ\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
CreateShortCut "$SMPROGRAMS\RabbitMQ\Plugins Directory.lnk" "$INSTDIR\rabbitmq_server-%%VERSION%%\plugins"