Win7: Error writing to file: msxml4.dll - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

indrekm
Posts: 4
Joined: Fri Oct 26, 2007 10:53 am

Win7: Error writing to file: msxml4.dll

Hi
I used next merge modules in my installer project:
*) msxml4sxs32.msm (Version 4.20.9818.0)
*) msxml4sys32.msm (Version 4.20.9818.0)

In Windows 7 installer says:
(Status: copying new files)
Error writing to file: msxml4.dll. Verify that you have access to that directory.

I'm in machine as Administrator and execute installer "Run as Administrator".
I tried in different compatibility modes.

P.S. I have (Administarator has) permissions to write to Windows system directory.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Win7: Error writing to file: msxml4.dll

Hello,

The file in question belongs to the TrustedInstaller user. This means that it is protected by Windows Resource Protection. You can use the takeown command line utility to take ownership of the file, then attempt to replace it using some method of your choice.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”