Added fix for Windows 10, where installer would output to temp directory and not clean up temporary files after installation was finished.