I'll certainly accept "misbehaving AV" as the explanation. ;) Glad you got
the issue resolved, and thanks for reporting back.

On Wed, Jul 3, 2019 at 8:56 AM Éric Périard <[email protected]>
wrote:

> Ugh not my day, I mean disregard note 1… the –ms switch isn’t there, could
> of sworn I saw it.
>
>
>
> *From:* Éric Périard
> *Sent:* Wednesday, July 3, 2019 11:55 AM
> *To:* [email protected]
> *Subject:* RE: [Mozilla Enterprise] Firefox ESR 60.6.0 x64 - Not
> Uninstalling Correctly?
>
>
>
> Disregard note 2 >.<
>
>
>
> *From:* Enterprise [mailto:[email protected]
> <[email protected]>] *On Behalf Of *Éric Périard
> *Sent:* Wednesday, July 3, 2019 11:52 AM
> *To:* [email protected]
> *Subject:* Re: [Mozilla Enterprise] Firefox ESR 60.6.0 x64 - Not
> Uninstalling Correctly?
>
>
>
> Hello Matt,
>
>
>
> At the moment I have no way of explaining what happened…
>
>
>
> Usually when I upgrade the baseline FF ESR for my users my script first
> starts by wiping clean the current installation and then it reinstalls FF
> ESR with the new provided installer and my customizations.
>
>
>
> For reasons unknown it stayed hung on a system for nearly 20 minutes and
> on another system I was testing the PC’s resource completely froze to the
> point I had to force shutdown the system and cold start it.
>
>
>
> So my first suspicions was that my AV real-time scanner exclusion list
> went haywire, so I turned it off on a test target.
>
>
>
> Once the AV was off on the test target the uninstallation and
> reinstallation went fine.
>
>
>
> So next I uninstalled the new FF ESR and reloaded 60.60 with the AV on
> and restarted the PC, after I tried to reinstall 60.7.2 from 60.6.0 while
> the AV was on and everything worked fine as per usual.
>
>
>
> One thing I did notice is that I had forgotten to check the “unblock”
> executable from the EXE’s properties when I updated my package, although I
> doubt that this would cause such a behaviour.
>
>
>
> In any case, the issue resolved itself, I think the AVs may have been
> updating at the time of my initial test and somehow didn’t play well.
>
>
>
> Also a few notes:
>
> 1. Now that you mention the –ms switch is deprecated, you installer still
> loads the –ms switch in the uninstallation registry key.
>
>
>
> 2. For reasons unknown when I was investigating the FF ESR uninstall
> issue, I noticed there was a uninstall.exe in C:\Program Files\Mozilla
> Firefox\uninstall, however once the browser was fully uninstalled and
> reinstalled only the helper.exe remained and some other related files >_>.
>
>
>
> Anyhow, thanks for the quick feedback… I guess it was just a perfect storm
> timing wise.
>
>
>
>
>
>
>
> *Éric Périard*
>
> Laboratory Administrator *|* Administrateur du laboratoire
>
> Canadian Centre for Cyber Security | Centre canadien pour la cybersécurité
>
> Website | Site Web: https://www.cyber.gc.ca/
>
> Government of Canada *|* Gouvernement du Canada
>
>
>
>
>
> *From:* Matt Howell [mailto:[email protected] <[email protected]>]
> *Sent:* Wednesday, July 3, 2019 10:57 AM
> *To:* Éric Périard <[email protected]>
> *Cc:* [email protected]
> *Subject:* Re: [Mozilla Enterprise] Firefox ESR 60.6.0 x64 - Not
> Uninstalling Correctly?
>
>
>
> That command line is definitely expected to work; technically -ms is
> deprecated in favor of /S, but they're both supported equally and we have
> no plan to actually remove -ms so that doesn't make any difference. So I
> have a few questions to help us diagnose this, if you don't mind.
>
>
>
> I don't fully understand your description of what's going wrong; is
> helper.exe running and just hanging in the background forever, or not
> starting at all, or something else?
>
>
>
> I'm also curious about this uninstall.exe file that you mentioned; do you
> mean that you have a file called "%ProgramFiles%\Mozilla
> Firefox\uninstall\uninstall.exe"? I'm confused about that because we don't
> distribute a file by that name in our official Firefox builds; all that
> should be in that uninstall directory is helper.exe and a couple of log
> files (the Maintenance Service uninstaller *is* normally called
> Uninstall.exe though). Did the copy of Firefox you're using come from
> Mozilla or from a third party, or can you think of something else that
> might have dropped that file there?
>
>
>
> Thanks,
>
> -- Matt Howell
>
>
>
> On Wed, Jul 3, 2019 at 7:28 AM Éric Périard <[email protected]>
> wrote:
>
> *Classification: UNCLASSIFIED*
>
>
>
> Hello,
>
>
>
> I manage the software (SCCM) for  my domain and regularly update Firefox
> ESR, usually seamless…
>
>
>
> This is my uninstall script:
>
>
>
> *TASKKILL /F /IM       Firefox* /T*
>
>
>
> *IF EXIST "%ProgramFiles%\Mozilla Firefox" (*
>
> *                "%ProgramFiles%\Mozilla Firefox\uninstall\helper.exe" -ms*
>
> *                "%WinDir%\System32\timeout.exe" /T 10 /NOBREAK*
>
> *                RMDIR /S /Q "%ProgramFiles%\Mozilla Firefox"*
>
> *                DEL %Public%\Desktop\*Firefox*.lnk*
>
> *                RMDIR /S /Q "%ProgramData%\Microsoft\Windows\Start
> Menu\Programs\Mozilla Firefox"*
>
> *                REG DELETE /F HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla*
>
> *                REG DELETE /F HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins*
>
> *                REG DELETE /F HKEY_LOCAL_MACHINE\SOFTWARE\**mozilla.org*
> <http://mozilla.org>
>
> *                REG DELETE /F
> HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mozilla*
>
> *                REG DELETE /F
> HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MozillaPlugins*
>
> *)*
>
>
>
> *IF EXIST "%ProgramFiles(x86)%\Mozilla Maintenance Service" (*
>
> *                "%ProgramFiles(x86)%\Mozilla Maintenance
> Service\Uninstall.exe" /S*
>
> *                "%WinDir%\System32\timeout.exe" /T 10 /NOBREAK*
>
> *                RMDIR /S /Q "%ProgramFiles(x86)%\Mozilla Maintenance
> Service"*
>
> *)*
>
>
>
> *"%WinDir%\System32\timeout.exe" /T 10 /NOBREAK*
>
> *EXIT /B*
>
>
>
> This usually works flawlessly, however it seems that with 60.6.0 the 
> *helper.exe
> *is unresponsive to the uninstall command, I also tried the *uninstall.exe
> *with the same switches in the same folder, no cigar.
>
>
>
> Has there been a reported issue with the uninstallation of the browser or
> is there a newer way to do this?
>
>
>
> Simply put, I usually uninstall the software client and then apply the
> update, however it stays stuck forever with the firefox uninstall phase.
>
>
>
>
>
> *Éric Périard*
>
> Laboratory Administrator *|* Administrateur du laboratoire
>
> Canadian Centre for Cyber Security | Centre canadien pour la cybersécurité
>
> Website | Site Web: https://www.cyber.gc.ca/
>
> Government of Canada *|* Gouvernement du Canada
>
>
>
> _______________________________________________
> Enterprise mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/enterprise
>
> To unsubscribe from this list, please visit
> https://mail.mozilla.org/listinfo/enterprise or send an email to
> [email protected] with a subject of "unsubscribe"
>
>
_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
[email protected] with a subject of "unsubscribe"

Reply via email to