Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Unable to uninstall or reinstall SCSF
 

Unable to uninstall or reinstall SCSF

We've been developing software in CAB/SCSF with GAT/GAX for a while now in Visual Studio 2005 on Windows XP Pro machines. We are moving to Visual Studio 2008 but the move has not been smooth for any of the programmers that have been modifying their machines. The latestof many, many problems is a failure to uninstall SCSF.

When attempting to remove using the SCSF MSI's remove option, the error is:

"Installer Information"

"A network error occurred while attempting to read from the file:

C:\downloads\Microsoft\SCSF\Smart%20Client%20Software%20Factory%20-%20May%202007[1].msi"

I tried renaming the file from Smart Client Software Factory May 2007.msi to Smart Client Software Factory May 2007[1].msi but, of course,that didn't help matters.

I then tried removing it from the Add/Remove Programs applet but got a different error message:

"Smart Client Software Factory - May 2007"

"Unable to get installer types in the C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\SmartClientFactoryPackageInstaller.dll assembly. -> Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."

Any ideas what's going wrong and how to fix it? I don't really want to remove the package. I just want VS 08 to use it and that seems to be the only way to get that to happen.

RickLH  Thursday, January 03, 2008 5:54 PM
Fixed by manually editing the registry. The details of how I did that are too lengthy to go through in any sort of detail but, essentially, I went looking for anything that contained 'Smart Client Software Factory'

in either a key or data anywhere in the registry and deleted it. This effort fanned out to those items that referenced or were referenced these entries so, in the end, I ended up deleting almost 200 separate entries. I had to write a program to go out and find everything and present to me so that I could determine if they should be deleted or not. Once I did that, it was possible to continue with the removal and reinstallation of the entire CAB/SCSF/GAX/GAT software.

Not much fun, guys! Given the number of people who are having trouble with removal of CAB/SCSF/GAX/GAT, it is very apparent that these coooperating software modules are very very delicate.

RickLH  Tuesday, January 08, 2008 4:05 PM

Renaming the SCSF MSI so that it has no spaces in its name changes things. Selecting the Remove option now gives the same error as was gotten from the Add/Remove Programs method. However, the Repair option still displays the original MSI name that had spaces in it. In either case, I'm still unable to progress on removing SCSF.

RickLH  Thursday, January 03, 2008 6:09 PM
Hi Rick,

Have you tried posting on SCSF forums? This looks like an issue related to the SCSF installer in particular and not GAX/GAT.

If you have already tried those forums let me know and I can loop you with a SCSF-team member to check if they can help.

thanks,
-vga.
vga  Friday, January 04, 2008 3:44 AM
There's a better place to ask SCSF questions? By all means, please point me there. I've been stuck trying to reinstall SCSF for 2 weeks and can use all the help I can get.

RickLH  Monday, January 07, 2008 3:23 PM
Fixed by manually editing the registry. The details of how I did that are too lengthy to go through in any sort of detail but, essentially, I went looking for anything that contained 'Smart Client Software Factory'

in either a key or data anywhere in the registry and deleted it. This effort fanned out to those items that referenced or were referenced these entries so, in the end, I ended up deleting almost 200 separate entries. I had to write a program to go out and find everything and present to me so that I could determine if they should be deleted or not. Once I did that, it was possible to continue with the removal and reinstallation of the entire CAB/SCSF/GAX/GAT software.

Not much fun, guys! Given the number of people who are having trouble with removal of CAB/SCSF/GAX/GAT, it is very apparent that these coooperating software modules are very very delicate.

RickLH  Tuesday, January 08, 2008 4:05 PM

I was facing the same problem, but then after a lot of google search I got the solution.

  1. Install Windows Installer Cleanup utility (http://support.microsoft.com/default.aspx?scid=kb;en-us;290301)
  2. Remove SCSF,GAX,GAT using the above utility.
  3. Now reinstall GAX,GAT & SCSF.

This should solve the installtion and uninstalltion problem.

Regards,

Prasad.

Prasad Honrao  Wednesday, January 09, 2008 12:54 PM

You can use google to search for other answers

Custom Search

More Threads

• Access Denied (On Windows XP SP2)
• Actions don't get executed
• Can't see item templates for WebApplication projects
• Parametrize TypeConverter?
• On Package Load Templates Exception?
• Combobox in a wizard
• Getting the project object after Add New Project?
• Creating a non C# project template using GAT
• Smart Client Software Factory (Recipe Framework Error) during Enable and Disable Packages
• When is the next release for GAT???