diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-01-25 17:57:33 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-01-25 17:57:33 +0000 |
commit | c3becaada04e0596685d65e0f31bf72c8c5f9334 (patch) | |
tree | f5fdd3a655eed7873a34065d8966926792c34b52 /packaging | |
parent | 9faee7dc6cb256ae89ff148d15139d9bffa5bfbb (diff) | |
download | rabbitmq-server-c3becaada04e0596685d65e0f31bf72c8c5f9334.tar.gz |
Be a bit smarter about what we remove.
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/windows-exe/rabbitmq_nsi.in | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/packaging/windows-exe/rabbitmq_nsi.in b/packaging/windows-exe/rabbitmq_nsi.in index e03a91cb..ab744e7b 100644 --- a/packaging/windows-exe/rabbitmq_nsi.in +++ b/packaging/windows-exe/rabbitmq_nsi.in @@ -149,13 +149,12 @@ Section "Uninstall" ${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$INSTDIR\rabbitmq_server-%%VERSION%%\sbin" ; Remove files and uninstaller - RMDir /r "$INSTDIR" + RMDir /r "$INSTDIR\rabbitmq_server-%%VERSION%%" + Delete "$INSTDIR\rabbitmq.ico" + Delete "$INSTDIR\uninstall.exe" - ; Remove shortcuts - Delete "$SMPROGRAMS\RabbitMQ\*.*" - - ; Remove directories used - RMDir "$SMPROGRAMS\RabbitMQ" + ; Remove start menu items + RMDir /r "$SMPROGRAMS\RabbitMQ" ; TODO: unset ERLANG_HOME? |