when installing packages I often get this kind of message:
[Error 145] The directory is not empty: 'c:\\users\\admin\\appdata\\local\\temp\\waptvqjgz'
I have to add a time.sleep(5) to avoid the error.
I can't say for sure if it happens every time using the same function: in the case above:
install_exe_if_needed("setup-gprolog-1.4.5-msvc-x64.exe",'/VERYSILENT /SUPPRESSMSGBOXES /NORESTART',key='GNU Prolog_is1',min_version='1.4.5')
It happens systematically with this installer; if I remove and reinstall, the same thing happens.
However, the folder is eventually deleted from temp.
I don't have antivirus software on my test machine, which runs Windows 7 64-bit and uses Wapt client version 1.7.3.5.
It's not a big deal; it's not a major bug.
Regards.
