Uninstall failed

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Kazuhiro
Posts: 3
Joined: Tue Apr 29, 2008 1:10 pm

Uninstall failed

Post by Kazuhiro » Tue Apr 29, 2008 1:31 pm

Hi,

I'm moving to Fortress and trying to uninstall Vault client.
I simply ran the uninstaller from the control panel, but it didn't work.

Here's my uninstall log:
--
Loading Client Custom Actions
Removing VSIP integration registry keys...
Getting the VS2005 Path
Getting the VS2008 Path
VS2005 path is:
VS2008 path is: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\
Uninstalling Vsip Keys
Looking for program install directory
InstallDir is: C:\Program Files\SourceGear\Vault Client\
Install Directory is:C:\Program Files\SourceGear\Vault Client\
Deleting Code Base Value
Looking for program install directory
InstallDir is: C:\Program Files\SourceGear\Vault Client\
Install Directory is:C:\Program Files\SourceGear\Vault Client\
Deleting Code Base Value
Running Devenv /setup
Checking for Windows Vista...
Installing on Vista...
Registring ActiveX...
Registering components actxprxy.dll /s
Checking for Windows Vista...
Installing on Vista...
Registring Msenv...
Registering components "C:\Program Files\Common Files\Microsoft Shared\MSEnv\msenvp.dll" /s
Checking for Windows Vista...
Installing on Vista...
Uninstalling MSCHII integration keys
Unistalling MSCHII integration keys failed: Object reference not set to an instance of an object.
--

I just have no clue how to solve the problem.
Any suggestion?

I use Vault 4.1.1.18060 and Visual Studio 2008 on Vista(x86) SP1.

Thanks.

mskrobul
Posts: 490
Joined: Wed Jan 14, 2004 10:22 am
Location: SourceGear
Contact:

Post by mskrobul » Tue Apr 29, 2008 2:05 pm

What is the exact error you are seeing when the client uninstall fails?

The error "Uninstalling MSCHII integration keys failed: Object reference not set to an instance of an object" shouldn't be a fatal error so there is probably something else going on.

Was the client installed alone or as part of the server install?

Is the Vault Client still listed in Add/Remove programs?
Mary Jo Skrobul
SourceGear

Kazuhiro
Posts: 3
Joined: Tue Apr 29, 2008 1:10 pm

Post by Kazuhiro » Tue Apr 29, 2008 8:09 pm

Thank you for replying.

The client was installed as part of the server.

Actually I got no error and it seems to be done successfully when I uninstall it.
Valut Client disappears from Add/Remove programs once the uninstaller has run, but it appears again if I refresh the list.

mskrobul
Posts: 490
Joined: Wed Jan 14, 2004 10:22 am
Location: SourceGear
Contact:

Post by mskrobul » Wed Apr 30, 2008 8:35 am

There is a known problem during client uninstall on Vista and VS2008 if the client is installed as part of the server installer. The server uninstalls successfully, but the client unistall fails because msiexec isn't elevating the privileges correctly on uninstall.

If you have the server and client installed this way, the way to get the uninstall to work would be to run the installer/uninstaller from an elevated command prompt. This would be the thing to do *if* the Vault Server is still longer listed in Add/Remove programs.

If the Vault Server is no longer listed in add/remove programs, then the simplest thing to do would be to use the windows cleanup utility to clean up the Vault Client install.

You can download the cleanup util from this thread:
http://support.sourcegear.com/viewtopic.php?t=9653

We have changed the way the client gets installed with the server in 4.1.2 so will no longer happen.
Mary Jo Skrobul
SourceGear

Kazuhiro
Posts: 3
Joined: Tue Apr 29, 2008 1:10 pm

Post by Kazuhiro » Thu May 01, 2008 7:45 pm

I finally removed Vault Client entry with the Windows Installer Cleanup Utility.

Thank you.

Post Reply