Silverlight 1622 “The installation log file could not be written. Verify that the Temp folder exists and that you can write to it.”

Silverlight 1622 error

Silverlight installation is rather straightforward but at times one may receive a Silverlight 1622 error indicating:

The installation log file could not be written. Verify that the Temp folder exists and that you can write to it.

Silverlight 1622

The first thing I recommend checking is the path to %TEMP%. Then, assuming Windows 7 as the operating system, click Start — right click Computer — Properties — Advanced System Settings — Advanced tab — click Environment Variables button.

Notice that TEMP and TMP will be listed under User variables for <username>. Also, ensure that it reads something like this:

%USERPROFILE%\AppData\Local\Temp

If there is a typo in this path, correct it.

Let’s check if this path exists. Click Start button and type Run. Then, click on Run. In the Run dialog box will be a text box. Type %USERPROFILE%\AppData\Local\Temp and click OK.

  • If this path is not present, create this path by going to c:\users\<username>. Then, navigating to AppData, navigating to Local and then creating a folder (aka directory) called Temp
  • If this path is present, you should reach the directory C:\Users\<username>\AppData\Local\Temp. Then, go back one level to C:\Users\<username>\AppData\Local, right click Temp and click Properties. Go to Security tab. List will have your name. Click on your name. and notice the permissions at the bottom. Tick all check boxes. If you cannot find your username in that dialog box or if all check boxes aren’t ticked, click on Edit — Add — type your username (or optionally type “Everyone” without double quotes) and hit Enter and tick all boxes. Although giving permission to Everyone is undesirable, I’d recommend trying this to install Silverlight if no other method works. Reset the permissions later to allow only you full rights to this directory.