Software Deployment Question

UnInstall MSI properly

10/31/2012 4054 views

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
Answer Summary:
0 Comments   [ + ] Show comments


Community Chosen Answer


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

All Answers


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


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


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


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


Answered 11/09/2012 by: anshul
Orange Belt

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