Login | |
|
 |
uninstall software - 8/21/2007 1:23:34 AM
|
|
 |
|
| |
360bart
Posts: 2
Score: 0
Joined: 8/21/2007
Status: offline
|
Basically I have a project to uninstall seven software programs for 85 laptop users and believe a vb script would be best. Unless I have a script, I will have to uninstall, and install software manually. I started w/e.g. msiexec /x {77777777-1111-2222-0000-000000000000}, but for each software program, the GUID is unique. The software was installed from a server, and the MSI files are located there, so I maybe I would have to include the \\servername\softwarefolder\MSI files?? Here is what I found from another site: on error resume next Set WshShell = CreateObject("WScript.Shell") ' Uninstall SoftwareNameHere WshShell.Run "msiexec /x {77777777-1111-2222-0000-000000000000} /q",1,true ' Uninstall SoftwareNameHere WshShell.Run "msiexec /x {77777777-1111-2222-0000-000000000000} /q",1,true ' Uninstall SoftwareNameHere WshShell.Run "msiexec /x {77777777-1111-2222-0000-000000000000} /q",1,true Any help would be great. Thanks
|
|
| |
|
|
|
 |
RE: uninstall software - 8/21/2007 2:29:06 AM
|
|
 |
|
| |
CondoPC
Posts: 118
Score: 0
Joined: 7/23/2007
Status: offline
|
If you are sure the MSI used to install the software is the same as the one you have, you can refrence that file in the uninstall string instead of the GUID. msiexec /x <path to msi> /qb!
|
|
| |
|
|
|
|
|