Article ID: 299275 - Last Review: October 13, 2003 - Revision: 3.0 PRB: 'Could Not Update the ini File' Error Occurs When Writing to an .ini File on a Mapped Drive
This article was previously published under Q299275 On This PageSYMPTOMS
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."
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
(http://support.microsoft.com/kb/318705/EN-US/
)
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. MORE INFORMATIONSteps to Reproduce BehaviorThe following are the steps to create an .msi package to reproduce this problem:
APPLIES TO
| Other Resources Other Support Sites
CommunityArticle Translations |






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email

Back to the top