summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-03-26 13:30:34 +0000
committerSimon MacMullen <simon@rabbitmq.com>2014-03-26 13:30:34 +0000
commit46859269bae82ddab6a27d355b52bdb47f92fdca (patch)
tree30de1696d3fc69a36bd9a6f0180b14d364ad513f
parent12a2b2638100717918ea723afe4301d8fc8563dd (diff)
downloadrabbitmq-server-bug25989.tar.gz
Put the example config file in an appropriate location in the users's data directory.bug25989
-rw-r--r--packaging/windows-exe/rabbitmq_nsi.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/windows-exe/rabbitmq_nsi.in b/packaging/windows-exe/rabbitmq_nsi.in
index 85625a9d..f8268a9a 100644
--- a/packaging/windows-exe/rabbitmq_nsi.in
+++ b/packaging/windows-exe/rabbitmq_nsi.in
@@ -76,6 +76,12 @@ Section "RabbitMQ Server (required)" Rabbit
File /r "rabbitmq_server-%%VERSION%%"
File "rabbitmq.ico"
+ ; Set output path to the user's data directory
+ SetOutPath $APPDATA\RabbitMQ
+
+ ; ...And put the example config file there
+ File "rabbitmq_server-%%VERSION%%\etc\rabbitmq.config.example"
+
; Write the installation path into the registry
WriteRegStr HKLM "SOFTWARE\VMware, Inc.\RabbitMQ Server" "Install_Dir" "$INSTDIR"