spm wrote:As good as OneClick is, we have a lot of different versions out there with clients, and this causes some issues at times. I'd very much like to see an easy way of updating the clients, say by having OneClick auto-check for a later build on each startup (and offer to download and update for the client). Naturally, the update location would need to be set, in a similar way to the web-based helpdesk.txt file.
There is a program named WebStart in the OneClick folder that you should use for this. It downloads the latest version from the website and runs it to ensure the customer allways has the latest version.
-------------------
WebStart
-------------------
Copyright (C) 2001-2007 Advantig Corporation, ALL Rights are Reserved.
This program Downloads and executes a file from a website without using
a web browser. The target program is downloaded and executed from the
user's temporary folder. The WebStart.exe file can be placed anywhere on
the local hard drive or network share and is typically run from an icon
on the user's desktop as a shortcut but can also be executed by a 3rd
party program, batch or script file.
It is used to run programs directly from a website instead of saving them
to disk or having to load a web browser. It tries 3 times to download the
file before notifying the user of a problem.
This allows your frequent customers the convenience of running the customer
module from a desktop icon or while ensuring they are always running the
most current version of your customer module.
For security and to prevent abuse, the user is presented with a Yes/No prompt
that shows the location and name of the file that will be downloaded and
cautioned against running files from an un-trusted source.
Usage WebStart.exe <webfilename>
Examples:
WebStart.exe
http://www.dualdesk.com/RemoteAssit.exe
WebStart.exe
http://123.456.789.0/RemoteAssist.exe
If you run the file with no command line options, it will display a dialog
box for you to enter the URL of the program to run on the web and then it
will create a shortcut on the user's desktop named "WebStart Run From Web" with the URL you supplied. You may rename or move it if you wish.
The Software is distributed as Freeware NOT Public Domain software.
You may use this software on any number of computers without time limits.
You are allowed to freely distribute the software, but Advantig Corporation
retains ownership and copyright of the software and the documentation.
- You may use and/or distribute the software with the following conditions:
You may use and/or bundle or distribute the software together with other
software products in the same installer and/or on the same media.
You may not use the software for illegal activities.
You may not use the software to support any third party product without
the express written consent of Advantig Corporation.
You may not modify the program or documentation files in any way.
You may not reverse engineer, decompile or otherwise reduce the Software to a human readable format.
You may not sell the software or charge a distribution fee, except to
recover physical media costs and the actual postage and or shipping
excluding handling fees.
You must include all the files that were in the original distribution.
NO WARRANTY
----------------------------------------------------
THERE IS NO WARRANTY FOR THIS PROGRAM, TO THE EXTENT
PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF
THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
SERVICING, REPAIR OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR
AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR
ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE
THE PROGRAM, BE LIABLE TO YOU FOR DAMAGES, INCLUDING
ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES
SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED
OF THE POSSIBILITY OF SUCH DAMAGES.
----------------------------------------------------