Hi,
What solution do you use to deploy software ?
I use WAPT which is an open-source client-server solution to deploy
softwares.
Softs are packaged using a Python framework where you can uninstall any
existing Firefox installs before installing the latest good version.
Here is sample code you can write in your WAPT Firefox package to handle
this
def install():
softname = 'Mozilla Firefox'
versionsoft = control['version'].split('-',1)[0]
check_installed = installed_softwares(softname)
if check_installed:
for uninstall in check_installed:
if not 'ESR' in uninstall['name'] :
print(u'remove Firefox not ESR' )
killalltasks('firefox.exe')
cmd = WAPT.uninstall_cmd(uninstall['key'])
run(cmd)
time.sleep (5)
if iswin64():
if 'x86' in uninstall['name'] :
print(u'remove Firefox x86 for install firefox x64' )
killalltasks('firefox.exe')
cmd = WAPT.uninstall_cmd(uninstall['key'])
run(cmd)
time.sleep (5)
print("Installing Firefox ESR")
if iswin64():
key='Mozilla Firefox %s ESR (x64 fr)' % versionsoft
install_exe_if_needed('Firefox Setup %sesr_x64.exe' %
versionsoft ,silentflags='-ms',key=key
,min_version=versionsoft,killbefore=['firefox.exe'])
else:
key='Mozilla Firefox %s ESR (x86 fr)' % versionsoft
install_exe_if_needed('Firefox Setup %sesr.exe' %
versionsoft,silentflags='-ms',key=key
,min_version=versionsoft,killbefore=['firefox.exe'])
Works perfectly for me and many people i know using that solution :
https://www.wapt.fr/en/
Alexandre
2017-11-09 22:27 GMT+01:00 Arthur <[email protected]>:
> I have a user with Firefox v28x installed @ C:\Program Files (x86)\Mozilla
> Firefox.I deployed Firefox v52.4.1 ESR which installed @ C:\Program
> Files\Mozilla Firefox. Version 28x @ C:\Program Files (x86)\Mozilla Firefox
> did NOT uninstall. Version 28x is still listed under Programs and Features.
>
> How can I deploy this version and ensure all older version are uninstalled
> or at least upgraded?
>
> I also have some users that have Firefox installed @
> C:\Users\<username>\AppData\Local\Mozilla Firefox. How can I uninstall
> that type of a install also to ensure only one version exists?
>
> -Arthur
>
> _______________________________________________
> 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"