Monday, March 16, 2009

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

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

20 comments:

  1. The solution to fix your office 2007 installer popup issue on vista. It's my several hours of investigation result and experience, hopefully can save your time.

    ReplyDelete
  2. thanks. I was very apprehensive re the solution, because nothing else seemed to have worked. But this worked beautifully.
    It's still a shame that we all have to resort to countless wasted hours doing research that Microsoft should have to begin with. I cannot even imagine the time you (or whoever the comp genius was that arrived at this solution) spent finding the fix.
    Thanks again.
    Wes

    ReplyDelete
  3. What he said!!! I hope you won't mind if I share this bit of genius...giving credit where its due of course. Lord knows I burned enough hours without success. Thank You

    ReplyDelete
  4. This didnt do shit, just changed like 50000 regestry values and that it :S

    ReplyDelete
  5. This is too complicated and doesnt work. No Soup for you tonight!!!

    ReplyDelete
  6. I'm doing it right now. If it doesn't work, what will I have screwed up in my registries?

    ReplyDelete
  7. IT WORKED!!! You scared the sh*t out of me, but it worked. I have to give you credit for that. I got nervous and canceled it half-way through, and it still worked.

    ReplyDelete
  8. You fixed my Windows Live Mail too!

    THANK YOU!

    ReplyDelete
  9. Thank you for this solution. I am currently running it now. I have attempted other methods to fix this problem (Uninstalling, Reinstalling, Various Windows Cleaning, Diabling McAffee, Removing as much Registery entries for "Office/12.0" after Uninstall, Windows Restore). I am hoping it has been a registry permissions mess up. I have experienced this problem with the registry with the likes of iTunes and Acrobat. Each instance was resolved by following the above methods. My question is, why does this happen? Bad software development or Windows or could it be Malware? Windows is a pain in the brain. I never experience this kind of drama with OSX. Microsoft should do away with DLLs and the Registry, its a very bad way of doing things, in my opinion.

    Still, I hope the above method works not only for me but for others too.

    ReplyDelete
  10. Wishful thinking that it would work for me too after all the success reports :( No improvement. Same old matter. Damn popup box..

    ReplyDelete
  11. UPDATE: If anyone else is having problems with the code not solving anything..

    You may want to check this MS WORD fix out:

    Launch Run.. (WinKey+R), Then enter without quotation marks "reg add HKCU\Software\Microsoft\Office\11.0\Word\Options /v NoReReg /t REG_DWORD /d 1"

    Hit Enter

    Launch Run.. Then enter "reg add HKCU\Software\Microsoft\Office\12.0\Word\Options /v NoReReg /t REG_DWORD /d 1"

    Hit Enter

    MS WORD fixed hopefully!

    Read on...

    Also people are claiming that replacing \Word\ with other Office app names like \PowerPoint\ when hitting enter will solve the configuration box popping up for others. Excels getting an error when it boots "stdole2.tlb". not sure if it's missing or what as it doesn't state anything else besides that .tlb file.

    This seemed to help me as well:

    Navigate to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office

    (Your start menus MS Office folder (This folder is hidden by default so enable showing of hidden folders)) Delete the shortcuts to the Office apps inside this folder.

    Open another window (navigate to your windows installation folder)
    C:\Program Files\Microsoft Office\Office12
    Right-click > Copy > All the office application .EXEcutables

    Go to the first folder we opened and Right-click > Paste shortcut

    The following two steps that i listed helped me out. I have Word and PowerPoint fixed but excel with an error (but still useable).


    All the info compiled from Source: (With many many posts that could help you out)

    http://uksbsguy.com/blogs/doverton/archive/2007/07/21/how-to-get-rid-of-the-installer-configuration-dialog-when-running-office-2007-and-office-2003-on-the-same-system-for-vista-and-other-versions-of-windows.aspx

    ReplyDelete
  12. Btw you should tell people to back their registry up, cus I didn't and now I have fixed an office problem but opened up a wealth of new problems. Sound card uninstalled.. no audio, explorer.exe won't let me open any windows to browse my pc saying there is no harddrive space, internet connection is acting up it's displaying as not connected when I can browse. System restore is broken claiming HDD space isn't enough to start the program. Anyone know how to revert any registry changes? I'd rather not reinstall my PC after just doing it the other month. My god this sucks.. Please help.. This is the worst timing!!

    BACK UP YOUR REGISTRY BEFORE YOU ATTEMPT THE POST MAKERS INSTRUCTIONS.

    ReplyDelete
  13. Backing up the registry is of course wise, but I have a hard time seeing how this could cause the problems you're having. What the script does is basically to allow the "system" and "administrator" accounts full control over all registry keys. (Which they should have anyway).

    ReplyDelete
  14. Post number 11 (Above) worked immediately like a charm!
    Thanks Geniouses!!!!

    ReplyDelete
  15. Mikael, I am facing similar problems, how did you solve your problem.

    ReplyDelete
  16. solution source courtesy link:
    http://forums.techarena.in/office-setup/1024781.htm#post4028361


    the solution is really simple actually....

    for Ms Word 2007 to stop displaying the setup configuration each time you open the programme simply do the following steps:

    step 1: go to run
    step2:type "regedit"
    step3:this will take you to registry editor here go to HKEY_CURRENT_USER
    then to Software then to Microsoft then to Office then to 12.0 (if word 2003 go to 11.0) then Word then Options
    step4: then right click options and then make "new" DWORD value
    step5: name it as NoReReg
    step6: double click on this and set the value to 1 from 0

    cheers!!!!
    i hope i solved the problem......

    ReplyDelete
  17. I would like to say a massive thankyou! Hao, if your the one who came up with this fix, you did an amazing job. I have been searching for a fix for over a year, sort of left it alone for a while.. and came across this post. Its amazing! None of my microsoft office programs reinstall when launching anymore! Also excel no longer presents stdole32.tlb or whateva popup. Thankyou very much!

    ReplyDelete
  18. Thank you. The NoReReg solution works perfectly

    ReplyDelete
  19. Works perfectly. This problem occurs when I upgrate to Office 2010 and I couldn't find a solution and so I downgrade to Office 07 again and ooohhh, now I have the same problem in office 07 but with this solution was fix it.

    thanks.

    ReplyDelete
  20. Worked like a bomb! Thank you so much... after hours of struggling!

    ReplyDelete