GStreamer MSI installs the GSTREAMER_1_0_ROOT_[MSVC_]X86_64 enviornment variable in Users section
The GStreamer MSI package seems to always install the GSTREAMER_1_0_ROOT_X86_64 (or GSTREAMER_1_0_ROOT_MSVC_X86_64 depending on the version) in the Users section but not in the Systems section.
I tried the following, from an Admin logon session on Windows 10, to get it to install the environment variable in the Systems section but they don't work:
- Double-click the MSI file. Run as Administrator option is not available for MSI file.
- Try setting the ALLUSERS=TRUE property (PowerShell):
msiexec.exe /i "c:\gstreamer-1.0-msvc-x86_64-126.96.36.199.msi" /l*v! "C:\gst-install.log" WixUI_InstallMode=`"InstallComplete`" INSTALLLEVEL=`"1000`" /qn INSTALLDIR=`"C:\gst-test\`" ALLUSERS=TRUE
- Try to explicitly run as administrator using
Start-Process msiexec -ArgumentList /i, "C:\gstreamer-1.0-msvc-x86_64-188.8.131.52.msi", /l*v!, "C:\gst-install.log", WixUI_InstallMode=`"InstallComplete`", INSTALLLEVEL=`"1000`", /qn, INSTALLDIR=`"C:\gst-test\`" -Verb RunAs
- Add "Install as administrator" to the context menu by modifying the registry and use that.
The issue with this behavior is that a process/service that runs as a different user from the one that installed the MSI won't find this environment variable.
What is the necessary invocation required to make the MSI install the variable in Systems section? If it's not possible, I request to provide this capability.