Can I tell Inno Setup * not * to create unins000 files

I use Inno Setup to install a third-party installer with another EXE that I created to prepare our proprietary installation environment. I really would like to delete all the installer files from the end user computer after I finish. I tried using deleteafterinstallin a temporary directory that I create using Inno, but it does not work. Inno automatically creates unins000.exeand unins000.datin the installation directory. Therefore, when he tries to delete the root directory, he discovers that it is not empty.

I do not need Inno uninstaller, since the 3P application has its own. Can I tell Inno Setup not to create unins000 files? Or can I say to delete a temporary directory, even if it is not empty?

+5
source share
1 answer

I searched and searched for documentation and could not find it. Then I looked for documentation for something else, and here it is. Use the following line to stop the creation of uninstall files.

[Setup]
Uninstallable = no

I still cannot get it to delete the created temp directory.

+9
source

All Articles