According to MSDN: Windows Installer does not fully support write system protected files, which is by design.
http://msdn.microsoft.com/en-us/library/aa372868(VS.85).aspx + lots of KB articles. If you are targeting Vista/2k8 or above, it is not supported or recommended. Instead, the following is the prescribed advice: http://msdn.microsoft.com/en-us/library/aa382540(VS.85).aspx If you are targeting XP/2k3 or below, the first link describes how to perform those actions, although the second link would be preferable. Oh, and please tell me what your product is so that I never install it. I want Windows Division being the sole source of servicing my Windows installations. -----Original Message----- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Tuesday, October 27, 2009 1:48 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] how to overwrite a system protected file using Wix and its utils Hi, I am trying to use my own file to replace a system protected file under c:\windows. I can use sfpcopy.exe (or related windows API) to do this in a custom action but I would like to know whether Wix and its utils can do this natively. Thanks for any clue. Thanks Lian ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users