diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2011-01-27 12:50:03 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2011-01-27 12:50:03 +0000 |
| commit | 532dabbacd7ce07970c7c080be3d499b4b6877b9 (patch) | |
| tree | 27e62e1d9027ae2a0c1896fb7b72e6ff44d8526a /packaging | |
| parent | 16a2a38d775e3831e7dbc4b6856af67e823c3de0 (diff) | |
| download | rabbitmq-server-git-532dabbacd7ce07970c7c080be3d499b4b6877b9.tar.gz | |
Create db and log directories in case the service isn't installed.
Diffstat (limited to 'packaging')
| -rw-r--r-- | packaging/windows-exe/rabbitmq_nsi.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/windows-exe/rabbitmq_nsi.in b/packaging/windows-exe/rabbitmq_nsi.in index 42a230ab89..ce575f70b8 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" |
