PDA

View Full Version : web update and proxy



NewsArchive
03-24-2012, 02:30 AM
hey,

i have a big problem withe the wucheck.exe / wupdate.exe and proxy.

step by step:

i start the wupdate.exe and say i access the internet with a proxy server.

i fill all fields and push the next button.

IMPORTANT: we use user name and password !

WebUpdate tell me, there is a new version on the i-net server.
And i can all update my files with this webupdate.exe - i works perfect!

Now with wucheck.exe over our program with the same updatefiles.

wucheck.exe tell me there is a new version on the i-net server.

we start the download, and the FIRST download exe file work perfect, but
then i get an error message. see picture.
The interesting thing is when I turn off our proxy prompt with a
username and password, everything works fine.

Doesn´t work wucheck.exe with username and password ?

we use the original wucheck and wupdate from 23.01.2012

best regards

db

NewsArchive
03-24-2012, 02:31 AM
Hello,

You have the wucheck.sb7 source code available that compiles wucheck.exe.
It reads the proxy server information from %TMPPATH%\wupdate.ini. But as I
understand it, the check for update works fine (even through your proxy).

The screenshot you posted is from your OWN web installer package and NOT
from wucheck.exe!!! Perhaps you forgot to use "Read Proxy Server Info
File..." from your own installer that sets the proxy server login?

Hope this helps.

Friedrich

NewsArchive
03-24-2012, 02:32 AM
hmmm....

yes and no :)




Am 23.03.2012 14:07, schrieb Friedrich Linder:
> Hello,
>
> You have the wucheck.sb7 source code available that compiles wucheck.exe.
> It reads the proxy server information from %TMPPATH%\wupdate.ini. But as I
> understand it, the check for update works fine (even through your proxy).

yes - the wucheck works fine about the check for update - same with wupdate



> The screenshot you posted is from your OWN web installer package and NOT
> from wucheck.exe!!! Perhaps you forgot to use "Read Proxy Server Info
> File..." from your own installer that sets the proxy server login?

yes - the last dialog is from my own web installer, rather by setup
builder => New => Web Update Project...

I did not know that the template script for a WebUpdate that not
automatically read the proxy server info file.

But I still do not understand why wupdate.exe works with username and
password and not wucheck. Although there are the same files that are
downloaded.

It has something to do with it, because I use the feature "Set Delayed
File Install" ?!

> Hope this helps.
>
> Friedrich
>
>
>

db

NewsArchive
03-24-2012, 02:32 AM
I think, i have found the problem!

When i deactived the feature: "Internet-based Installation => Enable Web
Installation" work´s the wucheck.exe perfect :)

ok - i have the one file .....

db

NewsArchive
03-24-2012, 02:33 AM
> I think, i have found the problem!
>
> When i deactived the feature: "Internet-based Installation => Enable Web
> Installation" work´s the wucheck.exe perfect :)
>
> ok - i have the one file .....

Yes, that proves what I said. If you do not build a "true" (smart) web
update then "wucheck.exe" downloads your single-file web update installer
and your installer does not connect to the Internet (to download the cluster
files).

But if you build a "true" web update then "wucheck.exe" downloads your smart
web update installer and YOUR installer connects to the Internet to download
the cluster files. This fails in your case because you forgot to handle the
proxy-server.

Again, this has nothing to do with wucheck.exe! The client always worked
perfect :) You forgot to read (or set) the proxy-server information from
YOUR installer!! Just do this and you are done.

Friedrich

NewsArchive
03-24-2012, 02:33 AM
I did understand Friedrich,


But please explain to me why wupdate.exe work WITH => Enable Web
Installation" in my own setup?!

All files and setup are the same.

I do not understand :(

db

NewsArchive
03-24-2012, 02:33 AM
> I did understand Friedrich,
>
>
> But please explain to me why wupdate.exe work WITH => Enable Web
> Installation" in my own setup?!
>
> All files and setup are the same.
>
> I do not understand :(

wupdate.exe (an elevated running wizard-based application) lets you create
the wupdate.ini which stores the proxy-server information for your update.
wucheck.exe is a silent, non-elevated running application and does not
create the wupdate.ini file (because it does not have a wizard dialog to
handle it). So I assume you do not have that standard wupdate.ini
available. As a result, your update installer package can't retrieve the
proxy server information.

You should have the following in your folder:

wucheck.exe
wupdate.ini

So your options are: 1) let wupdate.exe create the wupdate.ini -or- 2)
create the wupdate.ini on your own -or- 3) set the proxy server information
in your update (e.g. using "Set Proxy Server Info...").

Does this help?

Friedrich

NewsArchive
03-24-2012, 02:34 AM
> db

Hey db,

Unless your working for Lindersoft, how about changing the name on your
newsreader. to something else ( perhaps your own<g> ).

As it is your posts appear as though "Lindersoft" is the one posting them (
which may be confusing to others in the future as they read the newsgroup
).

Thanks!

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - ProScan, ProImage, ProPath and other Clarion
developer tools!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
03-24-2012, 02:35 AM
I thought Friedrich was "priming the pump" <g>

Russell B. Eggen
www.radfusion.com

NewsArchive
03-24-2012, 02:35 AM
And we've already had a "db" for years and years. We need a way to
keep me from confusion.

Maybe David Bratovich could change his name to DB Cooper?<g>

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
This post may self-destruct at any moment

NewsArchive
03-24-2012, 02:36 AM
> And we've already had a "db" for years and years. We need a way to
> keep me from confusion.

Indeed<g>

> Maybe David Bratovich could change his name to DB Cooper?<g>

I could see him jumping from a plane with a knapsack of XAML<g>.

:-)

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - ProScan, ProImage, ProPath and other Clarion
developer tools!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
03-24-2012, 02:36 AM
HEY! <g>

>
>Indeed<g>

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
This post may self-destruct at any moment

NewsArchive
03-26-2012, 03:06 AM
Thank you

I think I understand ;)

Question:

Would not it be a nice feature in the setupbuilder, if when creating a
"Web project update" on the template when it is checked whether a
wupdate.ini exists and this is again automatically?

I mean, it's difficult to keep in mind when I create a web update
automatically but I have to fit in the script of extra work.


It's only a feature request :)

Dirk Büchel

NewsArchive
03-26-2012, 03:07 AM
Hi Dirk,

> Question:
>
> Would not it be a nice feature in the setupbuilder, if when creating a
> "Web project update" on the template when it is checked whether a
> wupdate.ini exists and this is again automatically?
>
> I mean, it's difficult to keep in mind when I create a web update
> automatically but I have to fit in the script of extra work.
>
>
> It's only a feature request :)

The ".sb7 project" (or template) does not create the wupdate.ini file at
all! The wupdate.ini is nothing more than a user-specific proxy
configuration file. It looks like this:

[PROXY]
Server=1.2.3.4
Port=8080
User=test
Password=test

The standard wupdate.exe client creates wupdate.ini if the user marked the
"I access the Internet with a proxy server" checkbox or if you have created
that file from within your own application (e.g. with an option in your
elevated running software or your installer). You can even try to read
proxy information from the registry (in case you know where it is located)
during the installation process and then create a pre-defined wupdate.ini
for your customers.

If wupdate.ini does exist, then the wupdate.exe and/or wucheck.exe clients
make use of it and access the Internet through the proxy. If the
wupdate.ini does NOT exist, the proxy is not supported.

Does this help?

Friedrich

NewsArchive
03-26-2012, 03:08 AM
I admit that I laughed very well, after I saw my mistake.

I read the news reader on Thunderbird, there was not me, "Lindersoft"
message ;)

I hope Friedrich forgive me again :)

best regards

Dirk

NewsArchive
03-26-2012, 03:09 AM
> I admit that I laughed very well, after I saw my mistake.
>
> I read the news reader on Thunderbird, there was not me, "Lindersoft"
> message ;)
>
> I hope Friedrich forgive me again :)

No worries Dirk - he will.

Your not the first person to have that happen to them around here<g>

:-)

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - ProScan, ProImage, ProPath and other Clarion
developer tools!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------