I am trying to uninstall the webex application with the given below command and webex meetings application is getting installed by the same method. Also, It is working on the Fixlet Debugger when tested but when taking action from the Console it is not uninstalling it.
Uninstallation String : Msiexec.exe /x {GUID}
Can anyone suggest what can be done ?
parameter "RegKeys" = "{concatenation ";" of names of keys whose (exists value "DisplayName" whose ((it as string as lowercase starts with "Webex" as lowercase) and (it as string as lowercase does not start with "Cisco Webex Meetings" as lowercase)) of it) of keys "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of (x64 registries; x32 registries)}"
if {exists parameters "RegKeys" whose (it as trimmed string != "")}
waithidden cmd.exe /C ({concatenation " & " of (("msiexec.exe /qn /x " & it) of substrings separated by ";" of parameter "RegKeys")})
Your parameter has curlies ({})in it. You will need to add a { at the beginning to escape the ones in the parameter.
I don’t have a way to test it at the moment but I think this will do it.
parameter "RegKeys" = "{{concatenation ";" of names of keys whose (exists value "DisplayName" whose ((it as string as lowercase starts with "Webex" as lowercase) and (it as string as lowercase does not start with "Cisco Webex Meetings" as lowercase)) of it) of keys "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of (x64 registries; x32 registries)}"
if {exists parameters "RegKeys" whose (it as trimmed string != "")}
waithidden cmd.exe /C ({concatenation " & " of (("msiexec.exe /qn /x " & it) of substrings separated by ";" of parameter "RegKeys")})
Basically i am trying not uninstall the Webex application and it is not uninstalling. I have tried different ways and the problem is the registry is also not getting deleted. I have tried different ways in Batch loop to delete or uninstall the application but i am not able to uninstall it. Condition : need to to do silently.
I would think that if your ActionScript run ok in the debugger but fails as a fixlet action, it could be related to the context. The Debugger is running as the logged in user where as the action would be running as SYSTEM when run as a deployed fixlet.
Error 1605 is “This action is only valid for products that are currently installed.” which may also indicate the app is installed for the user, not for the device.
I installed WebEx from the vendor downloadable installer (version 45.4.1.32313) and it appears to be a user based install, with its uninstall keys in HKCU but that might not be the same if they also have an enterprise version that was maybe pushed via enterprise tools that also run as SYSTEM.
Possibly @itsmpro92 's info may be the best option.
Hello Everyone,
Solution for Webex Uninstallation through BigFix.
// Uninstalling Webex
parameter "RegKeys" = "{concatenation ";" of names of keys whose (exists value "DisplayName" whose ((it as string as lowercase starts with "Webex" as lowercase) and (it as string as lowercase does not start with "Cisco Webex Meetings" as lowercase)) of it) of keys "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of (x64 registries; x32 registries)}"
if {exists parameters "RegKeys" whose (it as trimmed string != "")}
override wait
hidden=true
completion=job
runas=currentuser
wait cmd.exe /C ({concatenation " & " of (("msiexec.exe /qn /x " & it) of substrings separated by ";" of parameter "RegKeys")})