Problems caused by modifying the default programfilesdir

Source: Internet
Author: User

The Registry script for modifying the default programfilesdir path found on the Internet:

Regedit4
[HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion]
"Programfilesdir" = "E: // Program Files"
"Commonfilesdir" = "E: // program files // common files"

 

It is said on the Internet that modifying this path may cause some problems. At that time, when I installed Office 2007 today, I always prompted

Windows Installer ServiceOne or more protected Windows files cannot be updated.

Solution:

Run fp40ext in the i386 directory on the Windows installation disc. decompress the cab file and copy it to "C:/program files/common files/Microsoft shared/Web Server Extensions/40/bin". Then install office2007 and there will be no error.

From the solution, I thought that the installation of Office 2007 may need to read the file from commonfilesdir. before copying the file, I compared the content in programfilesdir and the changed folder on drive C, some files are missing from the custom folder. After copying the files, the installation is normal.

 

In this case, we recommend that you do not modify the commonfilesdir path when modifying programfilesdir to prevent similar problems. However, this conclusion has not been tested. Let's make your own decisions.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.