Not logged in - Login

Visual studio - Could not create the file <file>.tmp Access denied

Visual studio - Could not create the file <file>.tmp Access denied. Getting error when creating setup builds.

Link on Microsoft Support site to solve problem:

http://support.microsoft.com/?id=329214

Usually, the issue on my machine is the following:

Mergemod.dll is not registered correctly

To resolve this problem, register Mergemod.dll again. Typically, Mergemod.dll is located in the following folder: C:\Program Files\Common Files\Microsoft Shared\MSI Tools\Mergemod.dll

To register the Mergemod.dll, type the following command at a command prompt, and then press ENTER:

regsvr32 "C:\Program Files\Common Files\Microsoft Shared\MSI Tools\mergemod.dll"

Be sure to open the command prompt as an administrator.