/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Wscript to look for uninstall

06/01/2016 575 views

Hi Everyone,

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.


Thanks

0 Comments   [ + ] Show comments

Comments


All Answers

0

I would create a script to tidy up the Junk (Folders/Files) test it does what you want it to do. Then create a SCCM Task Sequence (TS) which

- Uninstalls old SCCM package
- Runs script to tidy up junk
- Installs new client

TS is pretty much bullet proof and the TS will only move onto the next task after the previous one has been completed, plenty of options available re error handling and coding. Perfect for doing multiple tasks in a controlled manner.

Answered 06/02/2016 by: anonymous_93791
White Belt

  • Thank you !!, makes sense

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
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