When we upgraded from 52 ESR 32bit to 68 ESR 64bit we had to uninstall the old 
version first before installing the new one. We did it like this:

echo %path%|find /i "%WinDir%\system32">nul  || set 
PATH=%path%;%WinDir%\system32
echo %path%|find /i "%WinDir%\system32\wbem">nul  || set 
PATH=%path%;%WinDir%\system32\wbem

if NOT "%MOZ_LEGACY_PROFILES%" == "1" setx MOZ_LEGACY_PROFILES 1 -m
TIMEOUT /T 1 /NOBREAK

TASKKILL /F /IM Firefox* /T

IF EXIST "%ProgramFiles(x86)%\Mozilla Firefox" (
    "%ProgramFiles(x86)%\%\Mozilla Firefox\uninstall\helper.exe" -ms /S
    TIMEOUT /T 4 /NOBREAK
    IF EXIST "%ProgramFiles(x86)%\%\Mozilla Firefox" (
        RMDIR /S /Q "%ProgramFiles(x86)%\Mozilla Firefox"
    )
    DEL %Public%\Desktop\*Firefox*.lnk
    RMDIR /S /Q "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Mozilla 
Firefox"
    REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mozilla /F
    REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\mozilla.org /F
    REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MozillaPlugins /F
)

IF EXIST "%ProgramFiles(x86)%\Mozilla Maintenance Service" (
    "%ProgramFiles(x86)%\Mozilla Maintenance Service\Uninstall.exe" /S
    TIMEOUT /T 2 /NOBREAK
    RMDIR /S /Q "%ProgramFiles(x86)%\Mozilla Maintenance Service"
)

"Firefox Setup.exe" -ms

El 16/7/2020 a les 17:10, Mike Kaply ha escrit:
On Thu, Jul 16, 2020 at 4:35 AM Bailey, Hazel via Enterprise <[email protected] 
<mailto:[email protected]>> wrote:

    Good morning,

    We currently deploy Firefox ESR using the MSI via SCCM. I am trying to 
upgrade installs from the 32bit install to the 64bit install but this does not 
remove the older version in the c:\Program Files (X86) folder.

    Is there an option to set this as part of the install?


Note that if you move to a different profile, Firefox will create a new profile. I 
would recommend either using the 32 bit install folder or checking into the policy 
LegacyProfiles. See: 
https://support.mozilla.org/kb/understanding-depth-profile-installation 
<https://support.mozilla.org/kb/understanding-depth-profile-installation>

for more info.

    I have also noticed that using a detection method of the MSI GUID fails and 
we have to add an entry to the actual Firefox.exe and version in the detection.

    Is the MSI just the wrapper for the EXE install?


Yes, it is.

    Kind Regards

    Hazel Bailey


    --------------------------------------------------------------------
    Save Paper - Do you really need to print this e-mail?

    Visit www.virginmedia.com <http://www.virginmedia.com> for more 
information, and more fun.

    This email and any attachments are or may be confidential and legally 
privileged and are sent solely for the attention of the addressee(s).

    Virgin Media will never ask for account or financial information via email. If 
you are in receipt of a suspicious email, please report to 
www.virginmedia.com/netreport <http://www.virginmedia.com/netreport>

    If you have received this email in error, please delete it from your 
system: its use, disclosure or copying is unauthorised. Statements and opinions 
expressed in this email may not represent those of Virgin Media. Any 
representations or commitments in this email are subject to contract.

    Registered office: 500 Brook Drive, Reading, RG2 6UU

    Registered in England and Wales with number 2591237

    _______________________________________________
    Enterprise mailing list
    [email protected] <mailto:[email protected]>
    https://mail.mozilla.org/listinfo/enterprise 
<https://mail.mozilla.org/listinfo/enterprise>

    To unsubscribe from this list, please visit https://mail.mozilla.org/listinfo/enterprise 
<https://mail.mozilla.org/listinfo/enterprise> or send an email to 
[email protected] <mailto:[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"
--

*Dimas Streich i Colomeda
* Unitat de Tecnologies de la Informació i Comunicació
Hospital Universitari de Girona Doctor Josep Trueta
Institut Català de la Salut Girona
Departament de Salut | Generalitat de Catalunya
Av.França s/n | 17007 Girona
[email protected] <mailto:[email protected]> | 
http://www.hospitaltrueta.cat <http://www.hospitaltrueta.cat>
<http://www.facebook.com/icscat> <http://twitter.com/htrueta> 
<http://projectecims.wordpress.com> <http://www.youtube.com/icscat> 
<http://slideshare.net/icscat>

Aquest missatge s'adreça exclusivament a la persona destinatària i pot contenir 
informació privilegiada o confidencial. Si no sou el destinatari indicat, us 
recordem que la utilització, divulgació i/o còpia sense autorització està 
prohibida en virtut de la legislació vigent. Si heu rebut aquest missatge per 
error, feu-nos-ho saber immediatament per aquesta via i destruïu-lo.
Abans d'imprimir aquest correu, assegureu-vos que és realment necessari.
_______________________________________________
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