PDA

View Full Version : Web Update Info



NewsArchive
08-19-2010, 08:43 AM
Hi Friedrich,

We've been using the web update feature without any issues for years now,
using our own servers.

We recently deployed our first product where we have to use the client's
server. It's Windows / ISS from what I can gather. We first had issues
with the web update feature not working, which I figured out was because we
couldn't access the .00001, .00002 etc files on their sever. That seems to
be resolved now, I can access those files using a web browser.

However, when I run the web update EXE, it now detects that there is a new
version, downloads the "first" exe (e.g. mysetup_100.exe), but then seems to
launch that exe, which then flashes momentarily on the screen while it
starts up, but then immediately closes.

Could it be that the first exe (mysetup_100.exe) is trying to download the
first "file", as in "mysetup_100.00001", but can't find that file and
therefore closes? No error messages are being displayed, are you perhaps
logging these somewhere where I could look?

Thanks, and regards,

Gary.

Gary James
StrategyOnline.co.za
South Africa

NewsArchive
08-19-2010, 08:44 AM
Gary,

> Could it be that the first exe (mysetup_100.exe) is trying to download the
> first "file", as in "mysetup_100.00001", but can't find that file and
> therefore closes? No error messages are being displayed, are you perhaps
> logging these somewhere where I could look?

No, if the downloaded install does not find the file then you'll receive an
error message.

wupdate.exe (the web update client) checks for updates. If a new version is
available, it downloads the web update installer package (mysetup_100.exe)
and executes it. If your web update installer package is a web install
(downloads cluster files), then it downloads what is required.

To test what is going wrong, I would suggest to skip wupdate.exe and start
the mysetup_100.exe with the /E switch to create the "c:\sbevents.txt" event
logging file. Perhaps this file provides more information.

BTW, and I would check if you do not execute "Exit Installation" functions
in your code to terminate the install.

Friedrich

NewsArchive
08-19-2010, 08:44 AM
Hi Friedrich,

Thanks for the reply. If I run "mysetup_100.exe /E" it works perfectly.
But when I run "mysetup_100.exe" (without the /E) then mysetup_100.exe
starts up and closes immediately.

What could that mean?

Thanks,

Gary.

NewsArchive
08-19-2010, 08:44 AM
Hi Gary,

> Thanks for the reply. If I run "mysetup_100.exe /E" it works perfectly.
> But when I run "mysetup_100.exe" (without the /E) then mysetup_100.exe
> starts up and closes immediately.
>
> What could that mean?

Unfortunately, it's impossible to answer this question. I think it's
something that you are doing in your script. Add some simple "Display
Message Box" functions to debug it and see where it terminates.

Friedrich

NewsArchive
08-19-2010, 08:44 AM
I ran it with /E on another machine, and that one failed. I looked at the
logfile, but couldn't really make sense of any problems. Shall I email it
to you guys?

Best Regards,

Gary.

NewsArchive
08-19-2010, 08:45 AM
Hi Friedrich,

Sorry, figured it out. Was something we were doing in the script. Your
logfile proved very helpful in tracking this down, thank you...

Regards,

Gary.

NewsArchive
08-19-2010, 08:45 AM
Hi Gary,

> Sorry, figured it out. Was something we were doing in the script. Your
> logfile proved very helpful in tracking this down, thank you...

Perfect! Thanks for the update.

Friedrich