Glenn’s guide to whacking your GAT/GAX and Factory installations


Disclaimer: What follows is not the recommended guidance from patterns & practices, rather it is my own personal “last resort” technique. I wasn’t originally planning on posting this, however after just helping a customer who was experiencing the same issue (yes you Travis), I changed my mind.

Here’s a horror story. A few weeks ago, I had to deliver an internal talk to a group of Architect Evangelists on WCSF vNext. At around 9:30 PM the night before, I realized that I needed to have the latest version of our WCSF Guidance Package installed in order to demo the new recipes. And so, I downloaded and ‘attempted’ to install the latest GP. During the install I received a nice friendly message from the installer that I needed to upgrade to the latest version of GAT/GAX 1.3. On first reading this I had an “uh oh” moment and felt a big lump in my throat. I’ve been down the uninstall GAT/GAX routine before and it’s NOT pretty. Let’s just say, my premonition was correct. So over the next four hours I unsuccessfully tried many combinations of each of the following steps.

  • Uninstall SFT
  • Uninstall individual GPs
  • Uninstall GAT/GAX
  • Reinstall GAT/GAX
  • Try each of the above both at an elevated command prompt or from explorer
  • Pull hair out
  • Scream “Why me”, “Why me” over and over again
  • Contemplate the feasibility of reformatting my hard drive

With each attempt, I came up empty. Searching online through blog post after blog post, forums, etc also yielded very little other than a few mirages of false optimism. Part of my problem is that I did not have the original MSIs on my machine and was having a heck of a time tracking them down. Finally when I was literally at my wits end and thinking about how beautiful it would be to see my laptop flying off of a tall building, I hit gold as I happened on the “Windows Install Clean up Utility”.

 

The Guide

1. Download the utility and install it.

2. Execute it from the start menu. You will find it under Start->Programs-> Windows Install Clean up.

3. You’ll see a list of all the programs installed on your machine. Select the ones you want to whack.

Windows Installer Clean Up

4. Click your heels together and say “GAT/GAX be gone! Factories be gone!”

5. Click the ‘Remove’ button.

6. Problem solved. (well sort of). This will leave residual entries in the registry, and files on disk which you’ll need to go track down and clean up yourself.

This little beauty saved the day! After 4 hours of banging my head against the wall, it look less than 5 minutes with this utility to whack any remnant of GAT/GAX, SFT and any custom GPs. 10 mins later, I had all the new installations including the newer GP. 2:30 am, Aaah sleep at last.

Comments (5)

  1. Jarod Ferguson says:

    Great find Glenn! (and perfect timing)

    I used this tool in the wee hours of the morning to remove an orphaned version of WCSF so I could do the June 2007 -> VS2008 MSI ‘orca & reinstall’. (I uninstalled VS2005 which left WCSF uninstallable.. drat)

    By that time, I had already managed to manually wrestle GAT/GAX from the registry/disk.

    Wish I had found this tool sooner, but its comforting to know I have it now!

    Thanks!

  2. gblock says:

    @Jarod

    Thanks, it wasn’t fun. Though if it can spare others the pains I went through it will be worth it. Sorry you didn’t find it sooner 😉

  3. Steve says:

    Thank YOU!  I was getting so frustrated (and pi$$ed!) at the msi stuff.. like you said, this tool worked great!

  4. gblock says:

    @Steve I am glad it helped, but I wish posts like this weren’t needed 😉