Problem When installing an applicationy you get the error “The directory name is invalid” along with the location of the file which is actually the one you are launching. Solution Close any installers you have open. Go to the C:\Windows folder. Create a new folder called Temp.