Unattended Install - No Update check

Advertisement

mygwl
Joined:
Posts:
1
Location:
Belgium

Unattended Install - No Update check

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 :
<invalid hyperlink removed by admin>

Then I use the following script for silent installation :

"%~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 :

<invalid hyperlink removed by admin>


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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,367
Location:
Prague, Czechia

Re: Unattended Install - No Update check

Thanks for your post.

This issue is being tracked already:
https://winscp.net/tracker/758

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

Reply with quote

Kreezer
Guest

Re: Unattended Install - No Update check

mygwl wrote:

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

martin wrote:

[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.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,367
Location:
Prague, Czechia

Re: Unattended Install - No Update check

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:
[HKEY_LOCAL_MACHINE\SOFTWARE\Martin Prikryl\WinSCP 2]
"DefaultUpdatesPeriod"=dword:00000000

Reply with quote

Harry_2440
Guest

Update check not disabled

when i add this reg key the auto updates are not chaning to NEVER.My environment is Win 10
[HKEY_LOCAL_MACHINE\SOFTWARE\Martin Prikryl\WinSCP 2]
"DefaultUpdatesPeriod"=dword:00000000

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: Update check not disabled

Note that DefaultUpdatesPeriod sets the default value. If the local account already has its own setting, changing the default won't override it.

Reply with quote

lefefe
Joined:
Posts:
1

Re: Update check not disabled

martin wrote:

Note that DefaultUpdatesPeriod sets the default value. If the local account already has its own setting, changing the default won't override it.

It´s not quite clear for me ... the default value leaves "display information about update on startup" checked although "automatic check period" is set to never.
Do users get display information about updates or not?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,367
Location:
Prague, Czechia

Re: Update check not disabled

lefefe wrote:

It´s not quite clear for me ... the default value leaves "display information about update on startup" checked although "automatic check period" is set to never.
Do users get display information about updates or not?
If WinSCP never checks for updates, it won't have anything to display.

Reply with quote

Advertisement

You can post new topics in this forum