Create temporary files in the installation project

Should be `if (`