diff options
-rw-r--r-- | packaging/windows-exe/rabbitmq_nsi.in | 6 |
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" |