cancel
Showing results for 
Search instead for 
Did you mean: 

MS Office rendered inoperable by uninstalling Crystal Reports .msi

Former Member
0 Kudos

I am using Crystal Report XI R2 SP5 and Visual Studio 2005. I use the CrystalReports11_5_NET_2005.msm in my setup package, which produces an msi file that is about 83 MB in size. I am creating a small application that runs our .rpt files, using the .NET API.

I have been testing the install package on a number of user machines. In the past, I have chosen the 'For Everyone' option on the install dialog that let's you choose between 'For Everyone' or 'Just for Me.' Recently, I decided to just leave the default, which is 'Just for Me.' That's when our trouble began. After uninstalling the application, we discovered that MS Office would no longer work.

Has anyone had a similar experence?

I would like to set the default for the install to 'For Everyone,' but I have yet to find any documentation that tells me how to do that. I can remove the radio buttons for the dialog and I can install via the command line, but neither of these options tells me whether the 'For Everyone' or 'Just for Me' option is being used.

Can anyone shed light on that question?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

To set the default for the install to 'For Everyone,' see the following link:

http://bloggingabout.net/blogs/jschreuder/archive/2006/09/29/How-to_3A00_-Change-options-in-a-Window...

Re. MS Office would no longer work.

- What's the behavior? Errors? Symptoms? What version of MS Office? What OS?

You may also want to try the SP 6 msm:

https://smpdl.sap-ag.de/~sapidp/012002523100000634042010E/crxir2sp6_net_mm.zip

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Former Member
0 Kudos

Thanks for the link, Mr. Uher.

MS Office 2007; Office 2003 doesn't seem to be affected.

OS is XP.

I just downloaded SP6, but we intend to upgrade to CR 2008 immediately. So I will probably wait for it, assuming that all updates included in SP6 will also go into the latest version of CR 2008.

Office modules just don't respond. Here is the steps our OPS person took to repair the damage:

1) Tried to u201CRepairu201D office with the Office Repair utility. This was unsuccessful.

2) Tried to Uninstall / Reinstall Office 2007 (after uninstall deleted the u201CMicrosoft Officeu201D directory in C:\Program files just to make sure all files were purged before rebooting.

3) After a reboot, Installed Office 2007.

4) After install, still received same error message when trying to open Outlook u201CCannot open Outlook. Unable to initialize Microsoft Shared filesu201D. User was also unable to use any other Office Applications, i.e. Word, Excel, PowerPointu2026

5) Logged in as myself to try using Office as a different user (Different Windows Profile), was able to use Office applications without any issue, including Outlook.

6) Created a new Windows Profile for user, which required renaming her existing profile to u201COLDu201D and then rebooting and logging in as user again.

7) This time, logged in as user I cannot open any Office applications and I do not even get a prompt, nothing happens, you get an hourglass for a second then it goes away. Upon looking at Task Manager, I could see the executables (i.e. Winword.exe, Outlook.exe) running for a second, then they would immediately shut down without the application ever launching successfully.

Many thanks for any advice you might be able to provide.

former_member183750
Active Contributor
0 Kudos

First time I hear of this issue. It would be interesting to test, but I will not be able to do that until sometime next week. If this is an important issue, you may want to consider a phone case which can be obtained here;

http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryI...

That should lead to faster resolution or at least confirmation of the issue.

Ludek

0 Kudos

Hi Jeff,

Go to www.sysinternals.com and download a program called process monitor. Set the filter on outlook.exe and then watch the log and go through the log to see what outlook can't find or have access to.

Do you know if UAC is enabled and if so what happens if you temporarily disable it?

When you uninstalled did you do so as Administrator or the local user?

Also, search your PC for a file called usp10.dll, there should be one in the Office folder structure somewhere. If not try copying it over from another PC where Office does work.

Thank you

Don

Former Member
0 Kudos

I ran Process Monitor while launching WORD on the machine with the broken version of OFFICE and did the same on a machine where OFFICE is working properly. The logs were more than 8 MB. I diffed them and found nothing conclusive. On the machine with the broken OFFICE, the log lists a great many entries which lists a key, HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-21-1042883198-748202677-1346798384-79745\Components\D94C8360B8BB1DC41B1950E0F8237563, and then says INSUFFICIENT RESOURCES. The analogous entry on the machine with the working version is HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-21-1042883198-748202677-1346798384-79745\Installer\Products\00002109440090400000000000F01FEC, and then says NAME NOT FOUND. You see what I mean by 'inconclusive?'

These machines are all running XP so there is no UAC.

The usp10.dll file exists in the same folder on both machines and is the exact same file.

I am the Administrator on both machines.

I'm exploring getting some Technical Support from Microsoft and I will probably do the phone support with you folks.

I am still fairly certain that this is something on my end and not on yours, otherwise I think I would have found some reference to the issue in my many Google searches.

0 Kudos

Hi Jeff,

Yes those logs also log entries where a key may be there and used if found but the program can continue if not found. The INSUFFICIENT RESOURCES is concerning though. I don't recall seeing those logged so that may be one of the problems.

Try searching MS's MSDN site for INSUFFICIENT RESOURCES error. Maybe it is listed. Also, try doing a repair install and I think Office has repair tools available from MSDN also.

It may be easier to simply fdisk and start over. Some of these issue don't seem to ever be fixable.... Just my personal view though...

Good luck

Don

Former Member
0 Kudos

I got help from Microsoft Support. The rep found a broken key in the registry in the Microsoft Software\...installer\userdata area.

The culprit appears to have been the Yahoo Toolbar, which was installed in my Firefox browser. There was an entry for ytb.exe. There is no clear answer for what caused the problem but there are a number of variables that apparently came together in a sort of perfect storm.

I installed my CR XI R2 application, a small executable that runs the rpts files, as a "Just for Me' application, which is something I never do, but because it is the default it happened. (I have since removed the 'Just for Me' option from the install.)

So the combination of Yahoo Toolbar, a Just for Me install and perhaps some unknown caused the broken registry key. The MS rep had me log on as local admin. and we were then able to delete the rogue key.

I have not been able to duplicate the issue. Therefore, I believe it was a fluke.

Thanks for the help in tracking this down.

Answers (0)