搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

How to use variable like %LOCALAPPDATA% for path of handler

  • 2 回覆
  • 1 有這個問題
  • 6 次檢視
  • 最近回覆由 Mathieu78

more options

Hello all,

We must use a third party application which can only be installed in user home directory. We'd like to create a GPO to manage user settings, and configure a handler for this application.

Is it possible to use an environnement variable (for example %LOCALAPPDATA%) in the path of a handler ?

Thank you.

Hello all, We must use a third party application which can only be installed in user home directory. We'd like to create a GPO to manage user settings, and configure a handler for this application. Is it possible to use an environnement variable (for example %LOCALAPPDATA%) in the path of a handler ? Thank you.

所有回覆 (2)

more options

So in order to make those variables work, you use expandable="true" in the ADMX and I honestly don't know if that works with MULTI_SZ (which we are using).

Can you open an issue here:

https://github.com/mozilla/policy-templates/issues

and I'll take a look?

more options

Thank you very much, i'm opening an issue.