Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • cerbero cerbero
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 101
    • Issues 101
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 37
    • Merge requests 37
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamerGStreamer
  • cerberocerbero
  • Issues
  • #337
Closed
Open
Issue created Aug 23, 2021 by Rabindra Harlalka@rabindra-harlalkaContributor

GStreamer MSI installs the GSTREAMER_1_0_ROOT_[MSVC_]X86_64 environment 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:

  1. Double-click the MSI file. Run as Administrator option is not available for MSI file.
  2. Try setting the ALLUSERS=TRUE property (PowerShell): msiexec.exe /i "c:\gstreamer-1.0-msvc-x86_64-1.19.1.1.msi" /l*v! "C:\gst-install.log" WixUI_InstallMode=`"InstallComplete`" INSTALLLEVEL=`"1000`" /qn INSTALLDIR=`"C:\gst-test\`" ALLUSERS=TRUE
  3. Try to explicitly run as administrator using -Verb RunAs: Start-Process msiexec -ArgumentList /i, "C:\gstreamer-1.0-msvc-x86_64-1.19.1.1.msi", /l*v!, "C:\gst-install.log", WixUI_InstallMode=`"InstallComplete`", INSTALLLEVEL=`"1000`", /qn, INSTALLDIR=`"C:\gst-test\`" -Verb RunAs
  4. 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.

Edited Jun 15, 2022 by Tim-Philipp Müller
Assignee
Assign to
Time tracking