I need to automate the uninstall of TechneSIS popup. I am trying this:
-------------------------
msiexec /uninstall | /x "Technesis PopUp.msi" | 2DCB1FF7-04E5-47CF-A7AA-73111C5B7E57

But I don't have the syntax or something quite right. Any help?

I also tried this:
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colSoftware = objWMIService.ExecQuery _
("Select * from Win32_Product Where Name = 'technesis popup'")

For Each objSoftware in colSoftware
objSoftware.Uninstall()
Next
------------------------
It ran the uninstaller but did not actually uninstall the program. Plus it ran a popup message that would need to be suppressed.

ThANKS
0 Comments   [ + ] Show Comments

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.

Answers

0
#1. The popup part...
In the msiexec command line, did you try adding /qb switch?

msiexec.exe /x {guid} /qb

#2. The not removing files part...
Check the package installer with some msi editor tool to see if the installed files are set to remain on the system after uninstallation of the package.
Also, verbous logging will help you troubleshoot msi issues (/Lvoicewarmup option).
Answered 07/21/2005 by: revizor
Third Degree Blue Belt

Please log in to comment
0
Thanks for the info. Interestingly enough, msiexec does not recognize the product or guid as a valid package. However, I discovered that the vb script does work, it just requires a reboot. However, there is the popup message that needs to be suppresed, although looking at the uninstall method, I am not sure that is possible. I'll cross post this to the script forum.
Answered 07/22/2005 by: ixoni
Senior Yellow Belt

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