Wscript to look for uninstall
During the uninstall of an old version, it leaves behind few files and folders. This uninstall is taken care by the SCCM of the old packge. I have the new version to install before which these files need to be deleted.
Plz can someone tell me how I can do this with the wscript, where I first need to check if the uninstall of previous is successful ( what do I look for ), and if so then proceed with the removal of the files and then proceed to the installation.