summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/windows-exe/rabbitmq_nsi.in11
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?