/build/static/layout/Breadcrumb_cap_w.png

uninstall help

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

Answers (2)

Posted by: revizor 15 years ago
Third Degree Blue Belt
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).
Posted by: ixoni 15 years ago
Senior Yellow Belt
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

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

Sign up! or login

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