# Slicer's Uninstall.exe custom behaviour

**URL:** <https://discourse.slicer.org/t/slicers-uninstall-exe-custom-behaviour/35938>\
**Category:** Support\
**Created:** [May 6, 2024, 11:40am UTC](https://discourse.slicer.org/t/slicers-uninstall-exe-custom-behaviour/35938 "2024-05-06T11:40:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MJamal](https://avatars.discourse-cdn.com/v4/letter/m/d26b3c/32.png) [@MJamal](https://discourse.slicer.org/u/MJamal)\
**Post date:** [May 6, 2024, 11:40am UTC](https://discourse.slicer.org/t/slicers-uninstall-exe-custom-behaviour/35938/1 "2024-05-06T11:40:19Z")

</div>

Hello again,

I’ve installed Slicer in the `C:\Program Files\Slicer 5.7.0-2024-04-29` directory on Windows. During the uninstallation process, Slicer does not seem to remove the entire `Slicer 5.7.0-2024-04-29` directory, but only some inner directories.

I would like to modify this behavior to ensure that the entire directory is removed from `Program Files`, and also to remove a few other files from another location. How can I achieve this?
