Properly delete temporary directory and installer on Windows