Hi i have a program, Meeting Planner for Outlook to be exact that i am wrapping an install into a .cmd file for.
only problem is in order to upgrade safely we need to remove all files within the %appdata%\emergingsoft folder.

i have this code that i am running right now that works for currently logged on users




IF EXIST "%appdata%\emergingsoft" GOTO DELETE


del /f /s /q "%appdata%\emergingsoft\*"

msiexec /i "MeetingPlanner for Outlook.msi" /norestart /qb



my question is i have some computers that have multiple users who use it, this will only work for who was logged in at the time it was ran. Is there something i can add to this package to say look in Documents And Settings for every user that was logged in the past and delete this appdata\emergingsoft data?

looking forward to a response
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


You can use vbscript for searching and deleting the required folders.
Answered 05/30/2011 by: naveen.packager
Green Belt

Please log in to comment
The inference here is that your users have local administrator privileges....scary...

As Naveen implies, there must be a quadzillion examples of scripts which will walk the profiles folder performing an action of one kind or another. Start at http://www.computerperformance.co.uk
Answered 05/31/2011 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity