Thursday, June 07, 2007

Firefox Error \r\n\r\nxpicleanup.exe\r\n\r\n on Vista

Can't install Firefox on Vista
--------------------------------------------------------------------------------

When installing I got the error: error opening file for writing \r\n\r\nxpicleanup.exe\r\n\r\n
This error stopped the installation.

Here are the steps:

Windows Vista: Exit Firefox completely and end the "xpicleanup" process, if found, in Windows Task Manager (or restart the system). Open the C:\Users\\AppData\Local\VirtualStore\Program Files\Mozilla Firefox folder [4] (bug 369937) and delete the file "xpicleanup.dat". Note that the "AppData" folder is hidden by default; either enable viewing of hidden files and folders or go to "Start -> Start Search" and type in %APPDATA% to open it. If the problem persists, end any "firefox" or "xpicleanup" processes again, if found in Windows Task Manager, then delete the "xpicleanup.exe" file in the Firefox installation directory (usually C:\Program Files\Mozilla Firefox).

You must use the Windows Task Manager and find xpicleanup.exe in the Processes tab and click on End Process. Then delete the xpicleanup file. If you don't you will get a "cannot delete, file in use" error.