Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable software update prompt #9396

Closed
cyberduck opened this issue Apr 1, 2016 · 9 comments
Closed

Disable software update prompt #9396

cyberduck opened this issue Apr 1, 2016 · 9 comments

Comments

@cyberduck
Copy link
Collaborator

cyberduck commented Apr 1, 2016

c148b74 created the issue

Hallo,

Under C:\Program Files (x86)\Cyberduck I used the Cyberduck.exe.config file to add the following lines to disable the update prompt at the program startup:

<setting>
  <value>
    <settings>
      <setting name="update.check" value="false"/>
    </settings>
  </value>
</setting>

After that Cyberduck didn't start anymore. I think it was just caused due to a completely wrong syntax.

Please tell me the correct lines to disable the update check.

Btw: I have already checked https://trac.cyberduck.io/wiki/help/en/howto/cli#Preferences and the rest. No chance for me.

@cyberduck
Copy link
Collaborator Author

cyberduck commented Apr 5, 2016

@dkocher commented

You can disable the software update in the Preferences window.

@cyberduck
Copy link
Collaborator Author

cyberduck commented Apr 5, 2016

c148b74 commented

Replying to [comment:1 dkocher]:

You can disable the software update in the Preferences window.

That's clear. We are using a software deployment system, so we want to disable the update check with a script or modified setting file.

@cyberduck
Copy link
Collaborator Author

cyberduck commented Apr 5, 2016

@dkocher commented

Did you follow the guidance in (https://trac.cyberduck.io/wiki/help/en/howto/preferences#Windows)?

@cyberduck
Copy link
Collaborator Author

cyberduck commented Apr 5, 2016

c148b74 commented

Replying to [comment:4 dkocher]:

Did you follow the guidance in (https://trac.cyberduck.io/wiki/help/en/howto/preferences#Windows)?

???

Yes, see ticket text.

@cyberduck
Copy link
Collaborator Author

cyberduck commented Apr 5, 2016

@dkocher commented

Replying to [comment:5 simonlink]:

Replying to [comment:4 dkocher]:

Did you follow the guidance in (https://trac.cyberduck.io/wiki/help/en/howto/preferences#Windows)?

???

Yes, see ticket text.
Make sure you include the attributes in the setting element as in <setting name="CdSettings" serializeAs="Xml">.

@cyberduck
Copy link
Collaborator Author

cyberduck commented Apr 5, 2016

c148b74 commented

I don't get it and I am still at the beginning.

When I open Cyberduck.exe.config with Notepad++ I can see the following lines:

<?xml version="1.0"?>
<configuration>
  <configSections>
    <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <section name="Ch.Cyberduck.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
    </sectionGroup>
  </configSections>
</configuration>

I ask you to tell me the exactly lines that I have to add to disable the update checker.

@cyberduck
Copy link
Collaborator Author

cyberduck commented Apr 7, 2016

c148b74 commented

Please. :-)

@cyberduck
Copy link
Collaborator Author

cyberduck commented Apr 15, 2016

c148b74 commented

???

@cyberduck
Copy link
Collaborator Author

cyberduck commented Apr 26, 2016

@ylangisc commented

Currently it's not possible to override the user settings through a exe.configas we have the container setting CdSettingswhich is not being merged with the user's one.

As of version 4.8.4 non-admin users should not be able anymore to check for updates, i.e. the buttons and menu entries should be greyed out. As there is no 100% reliable way to detect if a user is an admin or not this might fail in certain environments. Then the only currently possible way to disable the update mechanism is to add the update.checksetting in the user.config file.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant