Uninstall firefox

Hello

Trying to run the command wait “{pathname of parent folder of regapp “firefox.exe”}\uninstall\helper.exe” /s getting a 128 error… Pretty sure this path is correct from the info found here about removing firefox https://support.mozilla.org/en-US/kb/uninstall-firefox-from-your-computer. Do i need to add something before the\uninstall\helper.exe?

This is what I use:

waithidden taskkill /F /IM firefox.exe

override wait
hidden=true
completion=job
wait {value "UninstallString" of keys whose (value "DisplayName" of it as string starts with "Mozilla Firefox " and value "UninstallString" of it as string contains "uninstall\helper.exe") of keys "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall" of (x32 registries; x64 registries)} /S
3 Likes