cancel
Showing results for 
Search instead for 
Did you mean: 

Install Quest Link PC via command line

allenlyh.2024
Honored Guest

I want install meta quest link in several windows machines. It works for me if I download the meta quest link PC app and run it on each machine but it's too boring and take too much time to repeat the step on each machine. I am looking for a way to run the installer via command line. For example, can I run the installer with one command ".\OculusSetup.exe --mode install --yes", which means install the PC app with all default config? If it's possible, I can use ansible to run it on each machines easily. It's really help for us if the app can be run by the command.

5 REPLIES 5

ccccc.296638
Honored Guest

Hi, 

Have you able to silent install this Meta Quest Link PC App? If yes, what parameters did you use?

LordofThunderLOKI
Honored Guest

.\OculusSetup.exe /S

Here is what this command means:

  • .\OculusSetup.exe – This runs the Meta Quest Link installer.
  • /S – This flag typically stands for "silent" installation, meaning the installation runs without requiring user interaction.

Steps:

  1. Test Silent Installation: First, test the silent install option /S on a single machine to ensure it works as expected. It may install with all default options.

  2. Using Other Flags: If you need to customize the installation process (like specifying the installation directory or other parameters), you can try common flags used by other installers:

    • /D=<install-path> – Set the installation path.
    • /quiet or /qn – Another flag to suppress all UI elements.

 

EXAMPLE

.\OculusSetup.exe /S /D=C:\Path\To\Install

  1. Using Ansible: Once you’ve confirmed that the command works, you can use a tool like Ansible to automate the deployment across multiple machines. For example, you can create a playbook that executes this command on all target systems.

EXAMPLE ANSIBLE

---
- hosts: all
tasks:
- name: Install Oculus software
win_shell: .\OculusSetup.exe /S
args:
chdir: 'C:\\path\\to\\installer'

______

When you run a command like .\\OculusSetup.exe /S:

  • Silent mode (/S): This ensures that the installer runs in the background with no prompts or interaction required. It uses the default settings, which could include the default installation directory, configuration options, etc.
  • Other options: You can customize the command with other flags like installation directory (/D), or quiet flags (/quiet, /qn) if they are supported by the installer.

Once you test the silent installation command and confirm it works correctly, you can use Ansible to push the same command to all machines at once, saving you from having to visit each machine individually.

BENEFITS

  • Ansible is an open-source tool designed for automation of IT tasks, like software installation.
  • Simple syntax: You can create a playbook (a file with instructions) that specifies tasks, such as downloading and running the installer, and Ansible will take care of the rest.
  • Centralized control: You can run the Ansible playbook from a central machine (the Ansible controller) and install Meta Quest Link on multiple remote machines at the same time.

 

This approach should help automate the installation process for Meta Quest Link on multiple machines with minimal effort. However, ensure you test the silent installation on a few machines first to confirm that it doesn't require manual interaction.

I tried this command on my windows 10 device but it install nothing. I run the command "./OculusSetup.exe /S" in the Windows Powershell. It finishes in 2 seconds without any message, and I also checked the Task Manager but no background progress is running. After that, the Meta Quest Link is not installed in my machine. Any idea?

ccccc.296638
Honored Guest

The /S parameter is not working. believe there isn't silent switch that works with the Meta Quest Link App.

m.schulz
Explorer

I haven't tested it, but I could imagine, that the installer still needs an active Internet connection. Or should it work in offline mode?