-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Does policies.json support local file paths for the Install property of
the Extension policy under Windows? If so, what syntax is necessary when
specifying them?


Version 2.7 of the policy-templates document (which I believe is the
relevant one for ESR 78.7) gives example paths of the forms
"https://addons.mozilla.org/firefox/downloads/somefile.xpi"; and
"//path/to/xpi" - that is, a remote-URL path, and some form of
filesystem-based path (not clear whether local or network).

It mentions that native paths are supported, which I infer to mean that
e.g. local paths of forms such as "/path/to/xpi" would work on a Linux
system.


However, when I try a local path of the form "C:\path\to\filename.xpi"
on a Windows system - that being the form native paths typically take on
Windows - Firefox ESR 78.7.0 doesn't apply settings from the resulting
JSON file, and about:policies shows that there were errors parsing the
file. A UNC version of that local path ("\\C$\path\to\filename.xpi") -
the other Windows-native path form - gives the same result.

I've tried escaping the backslashes and I think also the colon, with no
difference in the result.

If I instead specify the remote URL to the XPI on AMO, it works - but I
don't want to always download the XPI from an external source every
time, both for robustness' sake and to save on network traffic.


Is passing a local file path on Windows to this policy, using
policies.json rather than Group Policy, expected to work?

If so, any idea what may be going wrong in my case, and what I might be
able to do to get it working?

- -- 
  Andrew J. Buehler
-----BEGIN PGP SIGNATURE-----

iQJJBAEBCgAzFiEEJCOqsZEc2qVC44pUBKk1jTQoMmsFAmAbMQ4VHHdhbmRlcmVy
QGZhc3RtYWlsLmZtAAoJEASpNY00KDJr+qIQAJUL0vgeige1KoelwHqHxenVK5yY
JUShBOMxlg6BegDl6eY+EJd0+IWiWyjRrukbI24mpH7qO+dVxzr4nstBeCJVRNi1
0Ru9G2AAlFhIHszQ44XKvpZBJcG9KPjbegnE6Ak8xLat/fFNna+bKM+VRYjJmvxs
Ruoc3cmgtyPDFQ1eih+O4Ebh083BDrXR0Uvgv8c4X7qNFu5u7pkwdv3gnHT6thHx
dll1v19gZmmT5mCFYItTJzDOqSbCb+D6a7iABDimhmqbqC9dpKcqInKTRRGoMZTw
LjUDbq8BUbVNRTtnZ3EKt4I6PA5MFXQWgMUAaTd7pbdGpcPkfBmb9XKLNlABI8Vb
nvaYATxtRyPxn0r8wLB/9Yp5cQFrQPHVsw/8z2oL6zbIPOGS8tZdzXEhSPpeFA1W
VcyCm7mWHM/2bTeR1/UsqVi1ccRGRgJvWFxQVj0fz3XN3gf12vSl7D/5+geuR6hy
9NQ9b2r2gdHXNeOkMzAj/w8V1J7uglpsuPbYdYMmOA42vcGTzp56ZVJD2c3U1Tnn
uoY0+DB6lVljV9DTLCQkJp+meYA8U3H0GDFmKDKEjXYcL/+A3dlTw7da4TwVysJQ
LBzIaCUqs3+12SbXIYpdRelJnXkvupDh3PWFYI4D1CMH7K8eKY/vY+t9dy3sYKG5
Qbm219WfLpGyhPYb
=tn+e
-----END PGP SIGNATURE-----
_______________________________________________
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