Seite 1 von 1

WinSCP auto Update deaktivieren?

Verfasst: 18 Aug 2016, 15:07
von D1Ck3n
Hallo zusammen,

ich habe folgendes Problem: ich möchte gerne, dass die "automatische Updatesuche" von Grund auf deaktiviert ist. Ich habe schon, durchs googeln, herausgefunden, dass man per Registry per default auf dem Rechner das abschalten kann, aber diese Einstellung wird durch die Konfig der User überschrieben und da ist das automatische Update immer an. Gibt es eine Möglichkeit die automatischen Updates komplett zu deaktivieren? Also für alle Benutzer.

Grüße
D1Ck3n

Re: WinSCP auto Update deaktivieren?

Verfasst: 18 Aug 2016, 16:54
von SisterOfMercy
Are you installing WinSCP with a saved inf file?

Code: Alles auswählen

"%ScriptPath%\files\setup.exe" /VERYSILENT /NORESTART /DIR="$InstallDir32$" /LOADINF="%ScriptPath%\files\setup.inf"
You can create such an inf file by installing the program om some test-VM. Save the inf file with this: setup.exe /SAVEINF=c:\setup.inf
Choose what you options you want, the inf file will look like this:

Code: Alles auswählen

[Setup]
Lang=en
Dir=C:\Program Files (x86)\WinSCP
Group=(Default)
NoIcons=0
SetupType=custom
Components=main,transl,transl\eng
Tasks=desktopicon,desktopicon\common
Edit it so the installdirectory is only coming from opsi:

Code: Alles auswählen

[Setup]
Lang=en
Group=(Default)
NoIcons=0
SetupType=custom
Components=main,transl,transl\eng
Tasks=desktopicon,desktopicon\common
In my test the automatic update wasn't on. However, it did check if there was an update. This can be also turned off in the registry:

Code: Alles auswählen

Registry_install_AllProfiles /AllNTUserDats

[Registry_install_AllProfiles]
openkey [HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\Configuration\Interface\Updates]
set "Period" = reg_dword:00000000
set "ShowOnStartup" = reg_dword:00000000

Re: WinSCP auto Update deaktivieren?

Verfasst: 23 Aug 2016, 07:52
von D1Ck3n
SisterOfMercy hat geschrieben: In my test the automatic update wasn't on. However, it did check if there was an update. This can be also turned off in the registry:

Code: Alles auswählen

Registry_install_AllProfiles /AllNTUserDats

[Registry_install_AllProfiles]
openkey [HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\Configuration\Interface\Updates]
set "Period" = reg_dword:00000000
set "ShowOnStartup" = reg_dword:00000000
Hi SisterOfMercy,

danke für deine Antwort! Ich habe mich für die Variante mit der Registry entschieden, weil das für mich die einfachste Lösung war.

Grüße
D1Ck3n