Firefox is the default browser for all users

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

March 22, 2018 - 2:52 PM

gaelds wrote: March 22, 2018 - 2:49 PM Until yesterday, I was installing a 32-bit Firefox package everywhere, but the latest "lesfourmisduweb" packages uninstalled this 32-bit version to install the 64-bit version. There remains a "C:\Program Files (x86)\Mozilla Firefox" folder on the machines, but it is almost empty.

This behavior in my package has not changed between the latest firefox package and previous packages.
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

March 22, 2018 - 3:43 PM

Yes, it's strange, but it's been happening since the update to 1.5.1.21 and/or the replacement of my firefox_all package with firefox_x86+firefox_x64. It's still the 32-bit version that used to install on our 64-bit PCs; I don't know why.
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

March 23, 2018 - 2:54 PM

I found a workaround to allow users to open desktop URL shortcuts in Firefox by modifying the registry. However, the commands to set Firefox as the default browser are not working.

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice]
"Progid"="FirefoxURL-308046B0AF4A39CB"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice]
"Progid"="FirefoxURL-308046B0AF4A39CB"
User avatar
Jonattend
Messages: 43
Registration: March 26, 2018 - 2:45 PM

January 22, 2019 - 3:34 PM

Hello,

I'm having the same problem and I wanted to know how you set up your registry key?
Did you push the key via a WAPT package?
On which systems was this tested? (Windows 7/Windows 10?)

Thanks ;)
WAPT Server version: 1.8.1 on Debian 10
WAPT Agent version: 1.8.1.6756
WAPT Setup version: 1.8.1.6756 on Windows10 v1909
WAPT Deploy version: 1.8.1.6756
User avatar
Jonattend
Messages: 43
Registration: March 26, 2018 - 2:45 PM

January 25, 2019 - 3:35 PM

Good morning,
After many hours of research and testing, I finally managed to set Firefox ESR 60.4 as the default for all users.

For this, I rely on this utility: https://kolbi.cz/blog/2017/11/10/setdef...uild-1607/

My WAPT package: firefox-esr-default:

Code: Select all

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []

def install():
        killalltasks('firefox.exe')
        filecopyto('SetDefaultBrowser.exe','C:\Program Files\Mozilla Firefox')
        run(r'"C:\Program Files\Mozilla Firefox\SetDefaultBrowser.exe" HKLM Firefox-308046B0AF4A39CB')

def session_setup():
        killalltasks('firefox.exe')
        run(r'"C:\Program Files\Mozilla Firefox\SetDefaultBrowser.exe" HKLM Firefox-308046B0AF4A39CB')
If you run "wapt-get session-setup ALL" on a machine, an error appears regarding the firefox-esr-default package, BUT the modification works. This occurs on both local and domain accounts.

Yours sincerely.
WAPT Server version: 1.8.1 on Debian 10
WAPT Agent version: 1.8.1.6756
WAPT Setup version: 1.8.1.6756 on Windows10 v1909
WAPT Deploy version: 1.8.1.6756
Locked