RocketChat / RocketChat/Rocket.Chat.Electron

Feature Request: CLI options for install

Open
#463 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

contrib: easy contrib: good first issue feat: installer / update
Dominant language
TypeScript
Stars
1.7k
Forks
835
Avg merge
1d 21h
Merged PRs (30d)
15

Description

My Setup

  • My OS name and version: Windows 10
  • My current app version: 2.7

Description

I'm trying to push Rocket.chat out company wide. So I'm needing a way to push a silent install. I found the /S switch which does a silent install, but it installs locally to the users APPDATA folder and doesn't appear to launch Rocket.chat after the install is complete.

If we could have some CLI switches to set those options (which are both available in the GUI installer) that would be incredibly helpful. Not sure if the "Run at startup" gets selected with the /S, but that would be nice as well.

Current Behavior
  • The client installs, but locally for the user, not all users
  • After the install is complete, the application does not run
  • I do not know if it set the application to auto-start with login, since I just uninstalled from the test machine to keep working on switches.
Expected Behavior

Be able to set CLI flags for:

  • Install for all users
  • Run Rocket.Chat+ after install
  • Run at startup

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the installer handling for the existing /S switch and comparing it with the GUI installer options. Define and verify command-line controls for all-user installation, launching Rocket.Chat after installation, and running at startup; confirm the behavior on Windows 10.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
cli, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.