Closed Bug 1736659 Opened 2 months ago Closed 2 months ago

Fix `FirefoxBetaBeta` identifiers in Firefox Beta packages


(Firefox :: Installer, defect, P2)




95 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox93 --- unaffected
firefox94 --- verified
firefox95 --- verified


(Reporter: nalexander, Assigned: nalexander)


(Regressed 1 open bug, Regression)


(Keywords: regression, Whiteboard: [fidedi-tikka])


(1 file)

I got everything right in Bug 1728471 except for the branding in Firefox Beta packages, which says FirefoxBetaBeta. It's due to some confusion around trying to differentiate Release from Beta here and the way that command line parameters have evolved and grown more complex.

I'll try to sort this out before Beta 9 (in 2 days), but luckily I'm fairly confident that we're okay for Firefox Release in 94, since that doesn't trip this differentiation code path.

Whiteboard: [fidedi-tikka]
Severity: -- → S3
Priority: -- → P2

In automation, we specify --identity-name FirefoxBeta, which gets an
extra Beta appended.

The "central as beta" didn't set release-type: "beta", so that run doesn't have --channel=beta, which would show the difference. (An issue to maybe address at a later time.)

Testing locally, I have what I expect. Running the following without (BetaBeta.xml) and with (Beta.xml) the patch yields

WINDOWSSDKDIR='C:/Program Files (x86)/Windows Kits/10' ./mach repackage msix --input Firefox\ Setup\ 94.0b8.msix --channel=beta --arch=x86_64 --verbose --publisher CN=082E9164-EE6C-4EC8-B62C-441FAE7BEFA1 --publisher-display-name Mozilla --identity-name FirefoxBeta

the following sensible diff:

$ diff -U3 BetaBeta.xml Beta.xml
--- BetaBeta.xml	2021-10-20 10:30:55 -0700
+++ Beta.xml	2021-10-20 10:34:40 -0700
@@ -3,7 +3,7 @@
 - License, v. 2.0. If a copy of the MPL was not distributed with this file,
 - You can obtain one at -->
 <Package xmlns="" xmlns:com="" xmlns:uap="" xmlns:uap2="" xmlns:uap3="" xmlns:uap10="" xmlns:rescap="" IgnorableNamespaces="uap uap2 uap3 uap10 rescap">
-  <Identity Name="Mozilla.FirefoxBetaBeta" Publisher="CN=082E9164-EE6C-4EC8-B62C-441FAE7BEFA1" Version="" ProcessorArchitecture="x64" />
+  <Identity Name="Mozilla.FirefoxBeta" Publisher="CN=082E9164-EE6C-4EC8-B62C-441FAE7BEFA1" Version="" ProcessorArchitecture="x64" />
     <DisplayName>Mozilla Firefox Beta</DisplayName>
@@ -93,8 +93,8 @@
     <rescap:Capability Name="runFullTrust" />
-    <Application Id="FIREFOX" Executable="VFS\ProgramFiles\FirefoxBeta Beta Package Root\firefox.exe" EntryPoint="Windows.FullTrustApplication">
-      <uap:VisualElements BackgroundColor="#20123A" DisplayName="FirefoxBeta Beta" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png" Description="FirefoxBeta Beta">
+    <Application Id="FIREFOX" Executable="VFS\ProgramFiles\FirefoxBeta Package Root\firefox.exe" EntryPoint="Windows.FullTrustApplication">
+      <uap:VisualElements BackgroundColor="#20123A" DisplayName="FirefoxBeta" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png" Description="FirefoxBeta">
         <uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" Square310x310Logo="Assets\LargeTile.png" Square71x71Logo="Assets\SmallTile.png" />
@@ -143,10 +143,10 @@
         <com:ProxyStub DisplayName="AccessibleHandler"
-                       Path="VFS\ProgramFiles\FirefoxBeta Beta Package Root\AccessibleHandler.dll" />
+                       Path="VFS\ProgramFiles\FirefoxBeta Package Root\AccessibleHandler.dll" />
         <com:ProxyStub DisplayName="AccessibleMarshal"
-                       Path="VFS\ProgramFiles\FirefoxBeta Beta Package Root\AccessibleMarshal.dll" />
+                       Path="VFS\ProgramFiles\FirefoxBeta Package Root\AccessibleMarshal.dll" />
         <com:Interface Id="b32983ff-ef84-4945-8f86-fb7491b4f57b"
                        ProxyStubClsid="b32983ff-ef84-4945-8f86-fb7491b4f57b" />
         <com:Interface Id="4e747be5-2052-4265-8af0-8ecad7aad1c0"

Comment on attachment 9246760 [details]
Bug 1736659 - Fix *BetaBeta identifiers in Firefox Beta MSIX packages. r?bhearsum!

Beta/Release Uplift Approval Request

  • User impact if declined: None. This is a follow-up to, which simply makes Relman's life easier. See
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Upon uplift to Beta, the next Beta will produce a I (:nalexander) or relman (:RyanVM) will upload that MSIX to the Microsoft Store for testing. If the Store accepts the package, then we'll know the metadata as produced by this patch is correct. QE can verify by installing the updated version from the Store. (Doing this process is how I discovered the error fixed in this ticket.)
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This impacts only MSIX production, and nothing is relying on these MSIX packages yet; and yet further, only the beta channel's MSIX packages.
  • String changes made/needed:
Attachment #9246760 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Pushed by
Fix `*BetaBeta` identifiers in Firefox Beta MSIX packages. r=bhearsum
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch

Comment on attachment 9246760 [details]
Bug 1736659 - Fix *BetaBeta identifiers in Firefox Beta MSIX packages. r?bhearsum!

Approved for 94.0b9.

Attachment #9246760 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]
Regressions: 1737752

We can close this issue as the regression will be worked on Bug 1737752.

Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.