[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: UpdateCheckURL not working as expected

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 08 Nov 2011 19:45:52 +0100

On 08.11.2011 16:42, Markus.Liebelt_at_t-systems.com wrote:
> We followed the recipe at
> _http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-admins-upgradecheck.html_
> how to ensure that update checks look for a version provided by our
> company, so that users don’t update by mistake. The check works as
> expected, with the one exception, that the URL we have provided in the
> file “tsvn-version.txt” is not used, but the default URL registered in
> the product. I have checked that the registry entry is correct
> (HKCU\Software\TortoiseSVN\UpdateCheckURL).
> The file contents of tsvn-version.txt currently is:
> 1.6.12.20536
> New customized version of SVN Tools for <company> is available.
> https://<company>.com/confluence/display/TOOLS/Subversion+Downloads
> So we want that the user visits the confluence page and looks there for
> the current version. Previously, we have provided as URL the download
> location for the new binary to install, but that did not work either.
> I have used the information at Microsoft what the registry entries mean:
> _http://msdn.microsoft.com/en-us/library/aa371168(VS.85).aspx_
> Our content in the registry is:
>
> * Registry: <some text without blanks>
> * Root: 1 (for HKCU)
> * Key: Software\TortoiseSVN
> * Name: UpdateCheckURL
> * Value: _https://<company>.com/download/subversion/tsvn-version.txt_
> <https://<company>.com/download/subversion/tsvn-version.txt>
> * Component: Some key from the drop-down-list.
>
> The file is found correctly, because the update dialog knows that the
> version 1.6.12.20536 is the current one (see screenshot below).
> I don’t have any idea what could be wrong here, and I have searched on
> the internet and did not find any resource beside the doc page at the
> beginning of this report. So what is our fault, where are we going wrong?
> Thank you for your help

Just tried it here on my machine, and it works ok.
Maybe your server redirects wrong? Or the '+' in your url needs escaping?
Or try to add a newline at the end of line 3 in the text file.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2876347
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-11-08 19:46:01 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.