Topic "Unattended Install - No Update check"

Author Message
mygwl
[View user's profile]

Joined: 2013-07-18
Posts: 1
Location: Belgium
Hi there,

I've an issue with unattended installation of WinSCP 5.1.5.
I use the cmd winscp515setup.exe /SAVEINF="conf.inf" to generate a configuration file.
During the manual setup process, I disable auto updates :
http://s23.postimg.org/iuktarvzb/settings.png

Then I use the following script for silent installation :

Code:
"%~dp0winscp515setup.exe"  /VERYSILENT /NORESTART /LOADINF="%~dp0conf.inf" /NOCANDY /LOG="C:\install\Logs\winscp.txt"


The program is deployed to end users with Miscrofot SCCM 2007.
When I check the settings on users computers, the auto update setting is not disabled :

http://s13.postimg.org/yd561n97n/ui_pref.png


I checked in the registry, in noticed that there are keys related to updates settings in [HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\Configuration\Interface\Updates]
but I don't get how to set the value of the keys to disable autou pdates.
How can I fix that ?
How can I disable updates check, and check for beta version for all users when installing ?

Thanks in advance,

Yours faithfully, mygwl
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Thanks for your post.

This issue is being tracked already:
http://winscp.net/tracker/show_bug.cgi?id=758

Meanwhile, you can turn off the update check by setting following registry key:
Code:
[HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\Configuration\Interface\Updates]
"Period"=dword:00000000
Kreezer

Guest


mygwl wrote:
How can I disable updates check, and check for beta version for all users when installing ?

prikryl wrote:
Code:
[HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\Configuration\Interface\Updates]
"Period"=dword:00000000

Sorry, but HKEY_CURRENT_USER isn't for all users.
You have to change the program to read HKEY_LOCAL_MACHINE, so it's global for all users.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Kreezer wrote:
Sorry, but HKEY_CURRENT_USER isn't for all users.
You have to change the program to read HKEY_LOCAL_MACHINE, so it's global for all users.

You can set a default for all users this way:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Martin Prikryl\WinSCP 2]
"DefaultUpdatesPeriod"=dword:00000000

_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License