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

Version 3.0.3 /disableAutoUpdates didnt work anymore

Open nexidus opened this issue 6 years ago • 6 comments

My Setup

  • Operating System: Windows 10 Enterprise 2004 Desktop and VM installation
  • App Version: 3.0.3
  • Installation type: exe manually and with SCCM
  • [ ] I have tested with the latest version
  • [x] I can simulate the issue easily

Description

/disableAutoUpdates switch didnt work anymore. Up to version 2.17.11 it worked wonderfully with the switches in the order: /S /allusers /disableAutoUpdates. Since version 3.0.3 every user gets the message that a new version is available and you should update. Of course, this does not work for the users because they have no rights to install software.

Current Behavior

It doesn't matter whether it is installed manually via CMD with the switches or via SCCM it is rolled out with the same switches. The result is the same, the users are asked to perform an update.

Expected Behavior

nexidus avatar Oct 19 '20 07:10 nexidus

We'll test 3.0.6 - maybe #1861 should fix the issue...

mape2k avatar Nov 05 '20 11:11 mape2k

We can confirm, that the problem is fixed in 3.0.6.

mape2k avatar Nov 05 '20 12:11 mape2k

Is there a way do disable autoupdates with MSI installer?

morgens avatar Nov 06 '20 05:11 morgens

@morgens: Just create a file update.json in the directory resources in the unstallation dir with

{
  "canUpdate": false,
  "autoUpdate": false
  }

mape2k avatar Nov 16 '20 19:11 mape2k

it seems to be moved to client config named config.json string "doCheckForUpdatesOnStartup": true, that located in the user profile %appdata%\Rocket.Chat\config.json

As mentioned in previous post update.json in resources directory of installation dir (C:\Program Files\Rocket.Chat\resources) did not work in versions between 3.0.0 and 3.0.5. Problem is fixed in #1861 - which is delivered in 3.0.6. So please check again on version 3.0.6 - 3.0.5 won't work.

mape2k avatar Nov 24 '20 12:11 mape2k

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.

Thank you!

jeanfbrito avatar Jan 12 '22 02:01 jeanfbrito