Task to Uninstall 7-Zip

(imported topic written by SystemAdmin)

Hi Everyone,

I am just starting to learn relevance and I would like remove this program as part of some training I am setting up for myself.

After looking at a number of posts I found this one that gives a good outline on what needs to happen - http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14846447

System - Windows 7 (x64) with UAC Enabled

Looking at the registry key - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{23170F69-40C1-2702-0920-000001000000}

UninstallString = MsiExec.exe /I{23170F69-40C1-2702-0920-000001000000}

Converting this to Start > Run > C:\Windows\System32\msiexec.exe /I{23170F69-40C1-2702-0920-000001000000} - it shows the setup screen where I can choose to remove the program.

Putting this into an action script - all the items below fail when I run the Task

waithidden “C:\Windows\System32\msiexec.exe” /I{"%7b23170F69-40C1-2702-0920-000001000000%7d"}

waithidden C:\Windows\System32\msiexec.exe /I{23170F69-40C1-2702-0920-000001000000}

waithidden “C:\Windows\System32\msiexec.exe” /qn /I"%7b23170F69-40C1-2702-0920-000001000000%7d"

waithidden “C:\Windows\System32\msiexec.exe” /qn /I%7b23170F69-40C1-2702-0920-000001000000%7d

waithidden “C:\Windows\System32\msiexec.exe” /qn /I{"%7b23170F69-40C1-2702-0920-000001000000%7d"}

waithidden “C:\Windows\System32\msiexec.exe” /qn /I{23170F69-40C1-2702-0920-000001000000}

waithidden C:\Windows\System32\msiexec.exe /qn /I{{23170F69-40C1-2702-0920-000001000000}}

What is the correct command needed to remove this program as a part of an Tasks Action Script…

Thanks in advance,

Todd

(imported comment written by SystemAdmin)

try msiexec /x for uninstallation. Or you can use “manage software distribution packages” dashboard to create installer and uninstaller at the same time.

(imported comment written by SystemAdmin)

Worked with an x

waithidden C:\Windows\System32\MsiExec.exe /qn /x{{23170F69-40C1-2702-0920-000001000000}

Thank you for your help