PDA

View Full Version : wupdate responses



NewsArchive
03-27-2008, 02:29 AM
How can I get WUPDATE to pass back the identified findings.
Rather than just telling the user that there is an update, I need to display
details, something like:

You are currently running version is 1.2.3 build 456.
The latest release is version 1.2.3 build 459.

How can this be achieved?
~~~~~~~~~~~~~~~
Sim Sherer

NewsArchive
03-27-2008, 02:31 AM
This is perhaps fancier than I planned but the idea is implemented by H&M



~~~~~~~~~~~~~~~
Sim Sherer

NewsArchive
03-27-2008, 02:32 AM
Hi Sim,

>How can I get WUPDATE to pass back the identified findings.
>Rather than just telling the user that there is an update, I need to display
>details, something like:

You can download the INI file with the "Download File (HTTP)..."
script function under Web Function and then read the version number
from there. The ini would look something like:

[SB5UPDATE]
Version=2.3.6.0
Setup=MyWebInstall.exe

This is from an old SB5 webupdate install.

Best regards,

Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
03-27-2008, 02:32 AM
Hi Arnor,

Theoretically that sounds good but I do not know how to download the INI
file without running WUPDATE.
I need to give the user the option whether to install the update.
1) How do I download the INI file in my app?
2) There already IS an INI file in my data folder with the same name,
though possibly older.

Confused,
Sim

NewsArchive
03-27-2008, 02:33 AM
Hi Sim,

>I need to give the user the option whether to install the update.
>1) How do I download the INI file in my app?
>2) There already IS an INI file in my data folder with the same name,
>though possibly older.

I would just customize the WUpdate to take a command line parameter to
check for the download and if there is a new one, download the ini
file. Use RUN() with the wait parameter to let it download and then
you can check the INI file for the version information.

The script for the standard Wupdate.exe is in Program
Files\LinderSoft\SetupBuilder 6 Developer\Redist\1033\wupdate.sb6

Best regards,

Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php