PRB: 'Could Not Update the ini File' Error Occurs When Writing to an .ini File on a Mapped Drive (299275)
The information in this article applies to:
- Microsoft Windows Installer 2.0
- Microsoft Windows Installer 1.1
- Microsoft Windows Installer 1.2
This article was previously published under Q299275 SYMPTOMS
During the installation of a Windows Installer package, you may receive the following error message:
Error 1913 "Could not update the ini file [2][3]. Verify that the file exists and that you can access it."
This occurs when the installation involves writing to an .ini file on a mapped drive located on a Windows NT 4-based computer.
CAUSE
The problem is caused by Windows NT 4, not by the Windows Installer engine. Windows Installer per-computer installations run under the LocalSystem security context. Windows NT 4 services cannot write to a share with read/write permissions when the services are running under the LocalSystem security context. This can be verified by calling the WritePrivateProfileString function from a program on a share with read/write permissions. The WritePrivateProfileString function will fail. Additionally, calling the fopen function in write mode on a share with read/write permissions will also fail.
RESOLUTIONA fix for this problem is located in the following article:
318705 FIX: Writing .ini Files to Network Location with Windows Installer Results in Error 1913
WORKAROUND
To work around this problem, perform the installation on Windows 2000 and use the mapped drives on a Windows 2000-based computer. Per-user installation on Windows 2000 may use mapped drives on any operating system.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 10/13/2003 |
---|
Keywords: | kbprb KB299275 |
---|
|