Article ID: 946503 - View products that this article applies to.
Consider the following scenario. You use the installer tool (Installutil.exe) to install an assembly. The assembly is located on a remote computer. You have the read-only NTFS file system permission on the remote computer. When you run the installer tool, you receive the following error message:
An exception occurred during the Install phase. System.UnauthorizedAccessException: Access to the path 'Path\AssemblyName.InstallState' is denied.
The InstallUtil.InstallLog file can be redirected to a specified location by using a command parameter. However, the AssemblyName.InstallState file cannot be redirected. The AssemblyName.InstallState file is written to the same directory location as the location of the assembly. If you do not have the write permission on the directory, this problem occurs.
Hotfix informationA supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.
To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
PrerequisitesYou must have the Microsoft .NET Framework 2.0 Service Pack 1 installed to apply this hotfix.
Restart informationYou do not have to restart the computer after you apply this hotfix.
Hotfix replacement informationThis hotfix does not replace a previously released hotfix.
File informationThe English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Collapse this tableExpand this table
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
After you apply this hotfix, you can redirect the AssemblyName.InstallState file by using a command parameter. For example, run the following command to redirect the AssemblyName.InstallState file:
InstallUtil /LogFile=TargetLogFile /InstallStateDir=TargetDirectory Path\AssemblyNameNote When you use the command parameter, consider the following. If you add a trailing backslash at the end of the path and use quotation marks to enclose the path, the trailing backslash can negate the trailing quotation mark. For example, the following command is incorrect:
InstallUtil /LogFile= /InstallStateDir="C:\Installstate\" Path\AssemblyNameYou must change the command to one of the following versions:
934388To resolve the problem that is described in Microsoft Knowledge Base article 934388, follow these steps:
(http://support.microsoft.com/kb/934388/ )An .installstate file is not removed after you uninstall a .NET Framework 2.0-based application
For more information about the installer tool, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/50614e95.aspxFor more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/824684/LN/ )Description of the standard terminology that is used to describe Microsoft software updates