"Error applying transforms" during Uninstall

This cost me two very precious hours today, so I thought I would share.

In preparing my laptop for my upcoming trip, I needed to get the latest version of an app I wrote for a client in case I need to do any work for them while I'm away. The application uses the latest version of Crystal Reports which caused me a great deal of grief when I recently moved to it. (See my ASPAlliance article: Lessons Learned: Sorting out Crystal Reports 2008 Versioning, Service Packs and Deployment for details).

Today's time-sucker was not Crystal's fault but the fact that when I installed the earlier version of Crystal on to the laptop, I had done it from an external drive.

When I tried to install the newer version, it chugged along then said that it failed because it couldn't uninstall the previous version.

I attempted to do the uninstall myself from the Control Panel but that failed with this message:

""Error applying transforms. Verify that the specified transform paths are valid"

Some googling pointed out that if I copied the original install files to my hard drive and ran setup from there I could avoid the problem.

That didn't work.

Finally I discovered that within the registry (in Computer\HKey_CLASSES_ROOT\Installer\Products\) there was a folder that contained the Crystal install information. In there was a key called "Transforms" which pointed to F:\Extended\Package\1033.mst. F:\ must have been the path of the external drive when I originally installed the app.

I changed the path of that file to the folder that I had just copied onto my hard drive.

Then I was able to uninstall, not from the Control Panel, but form the setup.exe from that same set of installer files.

Hopefully I'll save somebody the hours and frustration I wasted myself. If you're really grateful, just send chocolate. :-)

#1 Mr Noj on 10.10.2008 at 11:59 AM

Thanks for this, I ran into this issue with another application (pretty sure it's a generic MSI error). I was able to simply install over it, but it's good to know what caused it.

#2 Dave Ledgett on 11.21.2008 at 7:03 AM

Hi JulieJust a quick note to thank you for this pertinent little gem of wisdom. It certainly saved my butt as i was just about to reach for the suicide tablets....Where would you like the chocs delivered?....

#3 Bruce F on 12.07.2008 at 9:30 PM

Thanks Julie!Ran into problem installing CR2008 SP1 - was able to figure it out almost immediately with your help!!I owe you one... (I've got a nice chocalate bar in my drawer that will come to you if you give me an address ;-)

#4 Julia Lerman on 12.07.2008 at 9:37 PM

:-)Virtual chocolate is less fattening, but thanks for the thought and happy to help.

#5 JJ Aparicio on 2.09.2009 at 2:33 PM

Lifesaver! :O Thanks a lot for sharing this... I can send sugarfree chocolate if you want!

#6 Irma on 2.26.2009 at 7:20 AM

Thank you very much! Wish I found your blog first would have saved me a day! Yeah!! thank you thank you!

#7 Liz on 6.24.2009 at 8:06 AM

Much Thanks for you comment. Probably saved me days of trouble-shooting. Now back to the original issue.

#8 Justin on 6.24.2009 at 2:15 PM

Thanks so much, this helped me solve a different problem! You da man!

#9 Mxiamy on 6.26.2009 at 12:05 PM

Very LARGE :-) thank you

Leave a Comment