Rocket.Chat.Electron icon indicating copy to clipboard operation
Rocket.Chat.Electron copied to clipboard

Feature Request: CLI options for install

Open mscfadmin opened this issue 7 years ago • 8 comments

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

mscfadmin avatar Jun 03 '17 22:06 mscfadmin

There's a flag for installing for all users: "/allusers" But the flags for running at startup and after install would be nice

skfin avatar Jun 05 '17 07:06 skfin

While the "/startup" flag doesn't exist, there is a option to enable it after instalation?

canove avatar Mar 19 '18 13:03 canove

I would like to know if since 2018, new flags have been set up for an installation by GPO. Flag /S is nice but other flags is needed for a complet GPO installation like : Running a startup and after install. Auto server IP

After that, the end user would only have to enter his login credentials.

Ajowan84 avatar Aug 28 '19 10:08 Ajowan84

The missing flags for "startup on windows boot" and "Start after install" are breaking the silent install with /S just tested it with PowerShell. Installer just times out. Doing manuell installation with only /allusers or /currentuser works fine. For deploying over some software distribution in bigger enviroments this is an issue especially since your updater is currently not working. Or are you just lagging the documentation for these installation flags?

Dimitrie23 avatar Aug 19 '20 11:08 Dimitrie23

is there anybody here ? no answer for this post ! This features would be great !

Sicoval31 avatar Jan 12 '22 08:01 Sicoval31

This would be a good way to contribute to the project.

jeanfbrito avatar Jan 12 '22 12:01 jeanfbrito

Hi, is this feature still required? Maybe I can have a try

shuguang-lv avatar Feb 27 '23 08:02 shuguang-lv

Hi, is this feature still required? Maybe I can have a try

Yes, there is no start on boot option for MSI installer

CitizenDev avatar May 16 '23 08:05 CitizenDev