Thanks Denis

I wrapped the package install in a CMD file and did an IF EXIST  and 
uninstalled the previous version by calling the uninstaller first  Basically it 
looks like this. Might be dirtier that it need be but hey, 1500 installs went 
out with 1 error.

We wanted all versions off the desktop and only 64bit installed.

taskkill.exe /f /im firefox.exe
IF EXIST "%ProgramFiles%\Mozilla Firefox\uninstall\helper.exe" 
"%ProgramFiles%\Mozilla Firefox\uninstall\helper.exe" -ms
IF EXIST "%ProgramFiles(x86)%\Mozilla Firefox\uninstall\helper.exe" 
"%ProgramFiles(x86)%\Mozilla Firefox\uninstall\helper.exe" -ms
echo Installing Firefox - Please Wait.
echo Window will close after install is complete
REM Install Firefox
"%~dp0Firefox Setup 45.4.0esr.exe" -ms
REM Install 64-bit customizations
if exist "%ProgramFiles(x86)%\Mozilla Firefox\" copy /Y "%~dp0override.ini" 
"%ProgramFiles(x86)%\Mozilla Firefox\browser\"
if exist "%ProgramFiles(x86)%\Mozilla Firefox\" copy /Y "%~dp0mozilla.cfg" 
"%ProgramFiles(x86)%\Mozilla Firefox\"
if exist "%ProgramFiles(x86)%\Mozilla Firefox\" copy /Y 
"%~dp0local-settings.js" "%ProgramFiles(x86)%\Mozilla Firefox\defaults\pref"
REM Return exit code to SCCM
exit /B %EXIT_CODE%





.



From: "[email protected]" <[email protected]>
Date: Monday, October 3, 2016 at 9:02 AM
To: "Crawford, Roger" <[email protected]>, "[email protected]" 
<[email protected]>
Subject: RE: Uninstall before ESR Install?

Hello Roger,

As far as I know the Firefox ESR standard installer overrides any existing 
Firefox version.
Our SCCM package contains a script that launches “Firefox Setup 45.4.0esr.exe 
–ms” and it replaces any existing version, even a higher version.

Denis



From: Enterprise [mailto:[email protected]] On Behalf Of Crawford, 
Roger
Sent: Tuesday, September 13, 2016 21:56
To: [email protected]
Subject: [Mozilla Enterprise] Uninstall before ESR Install?

It’s probably dirt simple and I’m missing it but…Wouldn’t be the first time.

Trying to package ESR 45.3 into a SCCM 2012 package, have that all functional 
and installs like a breeze – on a machine with no install or lower than 45. 
Higher than 45 it sees the newer version and calls itself successful due to 
versioning and bails.  Is there a Firefox CFG switch that allows the overwrite 
of a newer than 45.3 version since public is at 48 and change or do I need to 
script in an uninstall before proceeding with the ESR install?

I can’t be the first to run into this I’m sure!

Thanks!


Roger


This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.

_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.



This message and its attachments may contain confidential or privileged 
information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete 
this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.

Thank you.
This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.
_______________________________________________
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