Every time Vista Installer popuped for “Windows configures Microsoft Office professional 2007”

Posted March 16th, 2009 in Tools by Mason

I installed office 2007 on Vista and it works well for several month. Yesterday I installed Visio 2003 from Visual Studio 2005 Team System. Every time when I opened Visio, it popuped a dialog to configure Microsoft Office, and then a registry key access error, and then rollback the configure progress. Then I try to uninstall Visio, same registry key access error. At last I tried various ways and successfully uninstalled Visio. But when I open I open an office product (Word/Excel/PowerPoint, and etc), it gives me a message “please wait while Windows configures Microsoft Office professional Plus 2007”. Then it pops a window with a status bar for “Configuration Progress”. After several minutes, the office product opened. So I uninstalled office entirely, booted, and reinstalled again and again. My account is a domain user and is belong to administrators user group on my machine. I looked this up online, tried different approaches and finally found this one:

Either way you would have to use SubInAcl. Download it from microsoft.com
This tool allows us to edit registry entries even those which you need special rights for.
We will make simple files, depending on the application you need to fix, with code that will fix your registry entries.
1. Download and install SubinAcl.
2. Locate the install folder (default is Program Files/Windows Resource Kits/Tools/)
3. Open Notepad
4. Add the lines you need for your applications (you can find the lines bellow)
5. Save the file as "Officefix.cmd" in the folder where you found SubinAcl.
6. Open the officefix.cmd

I didn’t found the lines of code that “you can find the lines bellow”. Here is the script I used and it works:

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=system=f
subinacl /subdirectories %windir%*.* /grant=administrators=f /grant=system=f
secedit /configure /cfg %windir%infdefltbase.inf /db defltbase.sdb /verbose