/build/static/layout/Breadcrumb_cap_w.png

Delete the folder after uninstall

Hi,
I have this application called McAfee and I did silent install with Setup.exe /q command but when I uninstall it leave the folder under program files and there are bunch on things under that folder. Please advice what to do in this case. I didn't created the msi.All I did was silent install.


Thanks in Advance.

0 Comments   [ + ] Show comments

Answers (9)

Posted by: syn 14 years ago
Senior Yellow Belt
0
At the risk of sounding sarcastic. Welcome to the world of Microsoft Windows where every program you uninstall will have program files left behind.
Have you tried deleting them manually? Most programs say when uninstalling that it was unable to uninstall some files and require manual deletion.
Posted by: PackageExpert 14 years ago
Blue Belt
0
a simple vbs or batch file will do good to run after the uninstallation.... and if there's any app related process holding the files, by all means kill the processes and then delete the files...again in a simple vbs code this can be done..... i think this is very normal in packaging.....
Posted by: airwolf 14 years ago
Red Belt
0
I've written an AutoIt script to scrub McAfee installations from Windows clients, as the standard uninstallation leaves quite a bit of residual data lying around. However, the application I wrote has not been updated for AV 8.7i - it was written in the days of the ePO Agent version 3.5, AV 8.5i, AS 8.5i, and HIPS 6.1.

Also, as syn pointed out, this is a side-effect of most application installations in Windows.
Posted by: anonymous_9363 14 years ago
Red Belt
0
Welcome to the world of Microsoft Windows where every program you uninstall will have program files left behind.More correctly, welcome to the world of Microsoft Windows where vendors (including Microsoft) ignore Microsoft's advice to NOT place data files in the application's folder structure.

Forget script, be that VBS, AutoIt or whatever. Create a transform for the MSI and populate the 'RemoveFile' table which was provided for this very purpose. Be sure to use the option to have the files removed on uninstall only.
Posted by: airwolf 14 years ago
Red Belt
0
Files aren't the only thing left behind (the registry is filled with McAfee garbage), and all files created by McAfee AntiVirus are not created upon install. The only way to truly scrub it off of a machine is via some sort of script or custom app.
Posted by: anonymous_9363 14 years ago
Red Belt
0
...in which case, the RemoveRegistry table comes into play. Easy.
Posted by: airwolf 14 years ago
Red Belt
0
That is, if the McAfee installer allows modifications to the msi. McAfee AntiVirus uses a custom setup.exe to call the MSI with custom parameters. You can't install with the MSI alone, and good luck getting McAfee to support using a modified MSI. Neither method - scripting or MSI modification - is any more accurate at file and registry removal. However, scripting after the uninstallation doesn't allow support to say "you shouldn't use your own custom MSI, uninstall and reinstall using SetupVSE.exe".
Posted by: pjgeutjens 14 years ago
Red Belt
0
McAfee AntiVirus uses a custom setup.exe to call the MSI with custom parameters. You can't install with the MSI alone

this to me smells like a job for the ISSETUPDRIVEN property. Or looking through the custom actions.

In principle though, for these kinds of packages I'd tend to agree with you and try to use the delivered Setup.exe from McAfee.

PJ
Posted by: bulbul 14 years ago
Senior Purple Belt
0
I did a Wise Script and made an executable which include the uninstallation of McAfee with McAfee Agent also.
Thanks guys.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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