I am trying to uninstall properly the VMware vSphere Client 4.1.msi.

After the uninstall done,  some files and folders stay in the INSTALLDIR. I used to the table RemoveFile to remove all the things. But nothing happen. They are not deleted.

What wrong with this ? i don't understand why the files and folders, not deleted .

Thanks for your advices. 

The MSI RemoveFile Table

Filekey     : remInstallDir

Component_  : _VIClient.dll

FileName    :

DirProperty :INSTALLDIR

InstallMode : 2

My MST RemoveFile Table

Filekey     : remInstallDir

Component_  : _VIClient.dll

FileName    : *.*

DirProperty :INSTALLDIR

InstallMode : 2
Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

2

It is not *.*, you need to use * only to delete all the files

If you have to remove the folder then you keep the filename column as empty.

Hope it helps.

Answered 10/31/2012 by: piyushnasa
Red Belt

Please log in to comment

Answers

1

It may also be that the client has files open at uninstall time which therefore cannot be deleted at uninstall time. A restart should take care of that scenario.

Answered 10/31/2012 by: VBScab
Red Belt

Please log in to comment
0

The files and folders i would like to delete , was not bring or listed in the msi table file or directory . I had to use a Custom Action to delete the sub director (under the INSTALLDIR) and let the msi delete the folder above (INSTALLDIR). 

Answered 10/31/2012 by: egiberne
Second Degree Brown Belt

Please log in to comment
0

In your case sequence of delete folder CA is also important. Make sure it runs before RemoveFile standard action is executed.

Also after uninstallation is done, try to manually remove that file it will confirm if it is still in use.

Answered 11/09/2012 by: VishalPaterya
Senior Yellow Belt

Please log in to comment
0

you can make a  custome action (vbscript in mst) and execute at uninstallation of msi.

 

Answered 11/09/2012 by: anshul
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity