diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2014-03-26 13:30:34 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2014-03-26 13:30:34 +0000 |
| commit | 56f7693ec88fbfcf61742a60bd7fe280616be380 (patch) | |
| tree | 30de1696d3fc69a36bd9a6f0180b14d364ad513f /packaging/windows-exe | |
| parent | e3d6ddd4f649e0f259a5efa25565af7069638e8e (diff) | |
| download | rabbitmq-server-git-56f7693ec88fbfcf61742a60bd7fe280616be380.tar.gz | |
Put the example config file in an appropriate location in the users's data directory.
Diffstat (limited to 'packaging/windows-exe')
| -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 85625a9d55..f8268a9afa 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" |
