UnInstall MSI properly

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    :


InstallMode : 2

My MST RemoveFile Table

Filekey     : remInstallDir

Component_  : _VIClient.dll

FileName    : *.*


InstallMode : 2

0 Comments   [ + ] Show comments

Answers (5)

Answer Summary:
Posted by: piyushnasa 10 years ago
Red Belt

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.

Posted by: anonymous_9363 10 years ago
Red Belt

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.

Posted by: egiberne 10 years ago
Second Degree Brown Belt

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). 

Posted by: VishalPaterya 10 years ago
Senior Yellow Belt

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.

Posted by: anshul 10 years ago
Orange Belt

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


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ