PDA

View Full Version : Webupdate: Always new version



NewsArchive
06-23-2005, 05:55 AM
Hi Friedrich,

Further to the webupdate problems:

I'm on build 1158 now and this install is build with 1158.

When I do webupdate to version 1.2.4 my local install _always_ thinks
there is a new version. The INI on the website says version 1.2.4.0
and my LOCAL_VERSION in the registry says 1.2.4.0. LOCAL_LAST says
20050602 but I'm not sure if that keeps the date of the last update or
what that is.

Everytime I run wupdate.exe it tells me there is a newer version.

The original install and the last webupdates were built with SB 5
build 1130 so I wonder if some gremlins have crept into the more
recent versions???

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA

NewsArchive
06-23-2005, 05:56 AM
Hi Arnór,

LOCAL_LAST stores the last "check for updates" date (if you are using check
intervals).

Could you please compile a new wupdate.exe and check the values of
%LOCAL_VERSION% and %HOST_VERSION%

The following line in your wupdate.sb5 decides whether there is a new update
available or not.

Set Variable %_SB_RETURN% to Version String Comparison ("%LOCAL_VERSION%",
"%HOST_VERSION%")

Just add a Message Box before that line and display the above values.

What do you see?

Thanks,
Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
06-23-2005, 08:25 AM
Hi Friedrich,

>Set Variable %_SB_RETURN% to Version String Comparison ("%LOCAL_VERSION%",
>"%HOST_VERSION%")
>
>Just add a Message Box before that line and display the above values.
>
>What do you see?

I will test this later today or tomorrow.

Will I be able to update the wupdate.exe if I need to???<g>

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA

NewsArchive
06-23-2005, 08:25 AM
Hi Arnór,

> I will test this later today or tomorrow.
>
> Will I be able to update the wupdate.exe if I need to???<g>

Thanks.

Yes, you can update the wupdate.exe if you need to ;-)

BTW, there will be a new wupdate.sb5 and wupdate.exe in the new SB5 build.
We can now handle the following (by default, no code change required):

RUN('wupdate.exe /C', 1)
IF RUNCODE() = 1 THEN
MESSAGE( 'There is a new update waiting to be downloaded.' )
ELSE IF RUNCODE() = 0 THEN
MESSAGE( 'Application is up-to-date' )
ELSE MESSAGE( 'WebUpdate error' )
END
END

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
06-24-2005, 01:38 AM
Hi Friedrich,

>Yes, you can update the wupdate.exe if you need to ;-)

Am I correct in assuming that wupdate.exe checks the ini file on
server, then downloads the the .exe from the server, runs the .exe
from the server and terminates itself?

> RUN('wupdate.exe /C', 1)

Awsome:)

When will you have this update ready?

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA

NewsArchive
06-24-2005, 04:53 AM
Hi Arnór,

>>Yes, you can update the wupdate.exe if you need to ;-)
>
> Am I correct in assuming that wupdate.exe checks the ini file on
> server, then downloads the the .exe from the server, runs the .exe
> from the server and terminates itself?

Yes, this is correct!

>> RUN('wupdate.exe /C', 1)
>
> Awsome:)
>
> When will you have this update ready?

Thanks :) I'll try to make a new build available later today.

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 5