Open Bug 1716061 Opened 3 years ago Updated 3 years ago

Silent install continues even if it can't write to install dir

Categories

(Firefox :: Installer, defect, P3)

Desktop
Windows
defect

Tracking

()

REOPENED

People

(Reporter: agashlin, Unassigned)

References

Details

(Whiteboard: [fidedi-ope])

Steps:

  1. Have UAC enabled at a default (prompt for system changes) level
  2. Run the full install with /S
  3. Decline the elevation prompt

The installation will attempt to proceed in Program Files, and it will fail, but a Mozilla Firefox / Firefox Nightly shortcut will still appear on the desktop. Probably there are other operations that are performed that should not be.

A silent install isn't expected to succeed without elevation because we only attempt to use a local path in LeaveOptionsCommon, which only runs as part of the GUI (see also 1703180). But also in silent mode we don't abort the install if we can't write to the install dir, as the CanWriteToInstallDir checks are only done in PreDirectoryCommon and LeaveDirectoryCommon, which are also part of the GUI.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
See Also: → 1505769

Oops, didn't mean to resolve (initially I thought I would dupe this to bug 1505769, but that's specifically about the MSI)

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Priority: -- → P3
Severity: -- → S3
Whiteboard: [fidedi-ope]
You need to log in before you can comment on or make changes to this bug.