Re: [WiX-users] RE : RE : Reboot to replace files
Ensure youve got the mfc42.msm from Visual Studio 6.0 Service Pack 6. Also check that there arent any bugs outstanding the VS merge modules have been notorious for errors causing Windows File Protection to be invoked. Check http://www.installsite.org/pages/en/bugs_msi.htm#wimsm for the latest information (scroll down past the MSDE 2000 Merge Modules myriad issues). I see here that mfc42.msm does indeed have a known problem use Orca to add the required condition to the components. All operating systems with Windows File Protection post-date Visual Studio 6.0, and in all of them, MFC 6.0s mfc42.dll has been a protected system file. Theres no need to overwrite it and the only way it can be updated is with an OS hotfix or service pack. If you still need to ship for Windows 9X or Windows NT 4.0, then include the MSM. -- Mike Dimmick _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacquet Fabian Sent: 22 March 2007 09:25 To: wix-users@lists.sourceforge.net Subject: [WiX-users] RE : RE : Reboot to replace files I'm sorry, the exact error message is: "The Windows Installer service cannot update the system file c:\WINDOWS\System32\mfc42.dll because the file is protected by Windows. You may need to update your operating system for this program to work correctly" When the installation was done with a vb6 program, we called a method which copy the file during next boot. Is there similar solution with wix? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Jacquet Fabian Envoyé : jeudi 22 mars 2007 9:00 À : Rob Mensching; wix-users@lists.sourceforge.net Objet : [WiX-users] RE : Reboot to replace files Currently, I'm installing the merge module of mfc42.msm During the installation, it says mfc42.dll is used and it can't replace it. I can say cancel, ignore or retry so I don't think windows installer replace it during next reboot. Is there a way to ask windows installer to do this? -Message d'origine- De : Rob Mensching [mailto:[EMAIL PROTECTED] Envoyé : mercredi 21 mars 2007 18:01 À : Jacquet Fabian; wix-users@lists.sourceforge.net Objet : RE: Reboot to replace files The Windows Installer will take care of that for you. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacquet Fabian Sent: Wednesday, March 21, 2007 2:49 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Reboot to replace files Hi, I need to replace some files used by the system. To do this, I try to replace these files on reboot. But I don't know how to do this with wix. Can somebody help me? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] RE : RE : Reboot to replace files
Jacquet Fabian wrote: I'm sorry, the exact error message is: "The Windows Installer service cannot update the system file c:\WINDOWS\System32\mfc42.dll because the file is protected by Windows. You may need to update your operating system for this program to work correctly" When the installation was done with a vb6 program, we called a method which copy the file during next boot. That didn't do anything, though -- Windows File Protection restores system files back to a known state. Only service packs can install updated system files. See http://support.microsoft.com/kb/222193. -- sig://boB http://bobs.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] RE : RE : Reboot to replace files
I'm sorry, the exact error message is: "The Windows Installer service cannot update the system file c:\WINDOWS\System32\mfc42.dll because the file is protected by Windows. You may need to update your operating system for this program to work correctly" When the installation was done with a vb6 program, we called a method which copy the file during next boot. Is there similar solution with wix? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Jacquet Fabian Envoyé : jeudi 22 mars 2007 9:00 À : Rob Mensching; wix-users@lists.sourceforge.net Objet : [WiX-users] RE : Reboot to replace files Currently, I'm installing the merge module of mfc42.msm During the installation, it says mfc42.dll is used and it can't replace it. I can say cancel, ignore or retry so I don't think windows installer replace it during next reboot. Is there a way to ask windows installer to do this? -Message d'origine- De : Rob Mensching [mailto:[EMAIL PROTECTED] Envoyé : mercredi 21 mars 2007 18:01 À : Jacquet Fabian; wix-users@lists.sourceforge.net Objet : RE: Reboot to replace files The Windows Installer will take care of that for you. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacquet Fabian Sent: Wednesday, March 21, 2007 2:49 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Reboot to replace files Hi, I need to replace some files used by the system. To do this, I try to replace these files on reboot. But I don't know how to do this with wix. Can somebody help me? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users