Link to home
Start Free TrialLog in
Avatar of cbmm
cbmmFlag for United States of America

asked on

Create uninstall script/batch to remove multiple programs with GUIDd

I need to remove 4 or 5 programs from some HP computers and doing it manually is time wasting. All programs i need to remove have a GUID, whats the easiest way to tackle this?
Avatar of josika
josika
Flag of United States of America image

Here is an example of an uninstall I use from a batch file:

msiexec.exe /uninstall {AC76BA86-7AD7-1033-7B44-A70800000002} /quiet
Avatar of cbmm

ASKER

ive used that before, but what if i need to uninstall 6 or 7 programs. is there a pause i would need to place between each uninstall?
ASKER CERTIFIED SOLUTION
Avatar of josika
josika
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cbmm

ASKER

thats all i needed to know, wasnt sure if i could run multiple. thanks
Avatar of cbmm

ASKER

how about a log for the uninstall
Never used a log before, but here is the logging options within MSIEXEC itself:

Logging Options
      /l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile>
            i - Status messages
            w - Nonfatal warnings
            e - All error messages
            a - Start up of actions
            r - Action-specific records
            u - User requests
            c - Initial UI parameters
            m - Out-of-memory or fatal exit information
            o - Out-of-disk-space messages
            p - Terminal properties
            v - Verbose output
            x - Extra debugging information
            + - Append to existing log file
            ! - Flush each line to the log
            * - Log all information, except for v and x options
      /log <LogFile>
            Equivalent of /l* <LogFile>
Hello josika,

How one would I know the name of the program is = to " {AC76BA86-7AD7-1033-7B44-A70800000002} "... ?