SDutt
Posts: 18
Joined: Fri Oct 17, 2025 8:35 am

Folders which are created by downloading an archive and extracting it, are not getting removed on uninstall

Hello,

In our installer, we have some archives which are downloaded using a "File Download" operation from specified URLs. This operation is specified in the "Files and Folders" section.

And then, the contents of the archive are extracted using an "Extract Archive" operation. There are certain conditions under which the download and extract operations happen - it is when the user manually selects a particular feature using a checkbox. So, this condition check is done in the file download and extract operations (for example, MY_FEATURE1_CHECK = "true"). The file download and extract operations work fine.

In the "Extract Archive" operation, I've selected the "Remove archive after extraction" and "Remove extracted files on uninstall". I have about 4 such archives which are downloaded and extracted.

The issue is that on uninstallation some of these folders are not removed. Out of 4 such extracted archives, only 2 or sometimes only 3 such extracted folders are removed.

Please let me know if I'm missing something and how to fix this.

Thanks in advance,
SDutt
Catalin
Posts: 7717
Joined: Wed Jun 13, 2018 7:49 am

Re: Folders which are created by downloading an archive and extracting it, are not getting removed on uninstall

Hello SDutt,

I have tried testing this scenario on my end, but I'm afraid I was not able to reproduce this.

If possible, could you please create a sample project that reproduces this and forward that to me so I can further investigate this on my end?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”