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 | 3967ae179ff45c87df34fdcdeca8f33fdc633fbd (patch) | |
| tree | f5fdd3a655eed7873a34065d8966926792c34b52 /packaging | |
| parent | 32b8611ce6529fb79acef8c1f781006fcbaff076 (diff) | |
| download | rabbitmq-server-git-3967ae179ff45c87df34fdcdeca8f33fdc633fbd.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 e03a91cbe2..ab744e7bdb 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? |
