PDA

View Full Version : WebUpdate - Any way to Show the New Version Info when checking?



NewsArchive
02-11-2010, 03:19 AM
I'd like to display the version info of the new version available. Is
there a way to do that?

Paul Macfarlane

NewsArchive
02-11-2010, 03:19 AM
> I'd like to display the version info of the new version available. Is
> there a way to do that?

Paul,

I have found this program over the years extremely helpful in a number of
install distribution methods including a specialized version of wupdate.exe
to display version info, release notes, etc - see attached image for
example

Product Description - SetupCast, MFG - LANSRAD
Internet Link - http://www.setupcast.com/

Limited trial demo - but a 30 day "Plain English" 100 percent refund offer
available so you could buy the product, try it, if not satisfied, ask for
refund AFTER trying FULL features.

Bottomline, this program is a "Time Saver", and worth the effort to take a
look.

David


--
From David Troxell - Product Scope 7.9 - Encourager Software
Product Scope 7 Viewer - NO Registration Fee! Free to Use!
http://www.encouragersoftware.com/
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.profileexchanges.com/blog/

NewsArchive
02-11-2010, 03:20 AM
Dave,

What I was looking for was a way to get SetupBuilder's WebUpdate to
return the info. WebUpdate and wucheck read the file off of the
webserver so I was looking for a way to display that info in my application.

Paul

NewsArchive
02-11-2010, 03:21 AM
> What I was looking for was a way to get SetupBuilder's WebUpdate to
> return the info. WebUpdate and wucheck read the file off of the
> webserver so I was looking for a way to display that info in my application.

The enhanced WebUpdate client included with SetupCast (it is a modified
version of the shipping client that comes with SetupBuilder - source
included) pulls a RTF file that was published by SetupCast down from the
server when checking for updates.

The file which contains data about the new version (including download
size) is automatically merged with data about the current install by the
webupdate client.

You could easily display that in your app with the Clarion RTF control.

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
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.clarionproseries.com - "Serious tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
02-11-2010, 03:22 AM
Charles,

What about a version of wucheck, since wupdate requires elevated rights...?

Paul

NewsArchive
02-11-2010, 03:28 AM
Hi Paul,

>
> What about a version of wucheck, since wupdate requires elevated
> rights...?
>

See wucheck.sb7. The %HOST_VERSION% variable holds the new version number.

Friedrich

NewsArchive
02-11-2010, 10:09 AM
> What about a version of wucheck, since wupdate requires elevated rights...?

I haven't looked into that Paul.

However to download the file might actually require elevation anyway.

At a minimum I know that it would have to download to the temp folder or
some other CSIDL writable location (since the assumption is that only the
elevated installer or updater can write to the program directory if the
application is correctly installed under program files).

I'll have to do some checking into it when I get a chance.

Charles



--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
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.clarionproseries.com - "Serious tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
02-12-2010, 02:54 AM
Friedrich,

So I could display it in wucheck, but getting the data into my
application would be the challenge.... right?

Suggestion: have SB create a wucheck DLL that we could call instead of
an exe...<g>

Paul

NewsArchive
02-12-2010, 02:55 AM
Paul,

> So I could display it in wucheck, but getting the data into my application
> would be the challenge.... right?

No problem at all :) Develop a custom wucheck.exe and write the value to,
say, an INI or TXT file. Then read it from your application.

Friedrich

NewsArchive
02-12-2010, 02:55 AM
I was trying to avoid the messiness of that with my DLL suggestion.

I'm lazy. Aren't we supposed to be lazy?

Isn't it more noble to spend more time discussing an issue than it takes
to actually solve it...<g>

Geez, alright, I'll do the work.....<g>

Paul Macfarlane

NewsArchive
02-12-2010, 02:56 AM
Hi Charles, Paul,

> I haven't looked into that Paul.
>
> However to download the file might actually require elevation anyway.

Nope. I do this in a client project using NetTalk. I _thought_ Friedrich
had added an option to wucheck to download and store the file, remember we
talked about this ca. a year ago, but don't remember what the outcome was.

I download the file to a common_documents folder where the program keeps
data, and there I can read it to get the version information and whatever
other information I may put into the manifest (.ini) file on the server.

Best regards,


--
ArnĂ³r Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
02-12-2010, 02:57 AM
>> However to download the file might actually require elevation anyway.
>
> Nope. I do this in a client project using NetTalk. I _thought_ Friedrich
> had added an option to wucheck to download and store the file, remember we
> talked about this ca. a year ago, but don't remember what the outcome was.
>
> I download the file to a common_documents folder where the program keeps
> data, and there I can read it to get the version information and whatever
> other information I may put into the manifest (.ini) file on the server.

Thanks for the confirmation Arnor.

I'd figured that a download to a UAC approved location from within the app
would work (and maybe from an external program like wucheck as well - if it
also downloaded to a safe location).

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
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.clarionproseries.com - "Serious tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
02-13-2010, 04:19 AM
No real need to download the ini. Internally in my apps, I use wininet to
get the ini like it was a webpage (www.mysite.com\myinstalldir\wbupdate.ini)
then just parse the returned 'web page' for all of the ini info directly in
memory.

Skip

ps....for the wininet stuff, see
http://www.clarionmag.com/cmag/v7/v7n08webfetch.html

NewsArchive
02-13-2010, 04:19 AM
This is how i check for a new version and also put other stuff in the
ini...like...a link to whats in the new version, a help link, whether or not
that update applies to a user level, etc..etc

Skip

NewsArchive
02-13-2010, 04:20 AM
> No real need to download the ini. Internally in my apps, I use wininet to
> get the ini like it was a webpage (www.mysite.com\myinstalldir\wbupdate.ini)
> then just parse the returned 'web page' for all of the ini info directly in
> memory.
>
> Skip
>
> ps....for the wininet stuff, see
> http://www.clarionmag.com/cmag/v7/v7n08webfetch.html

Hi Skip,

As Clarion developers, we do things like that with NetTalk's NetWebClient
(two lines of code).

However we sell SetupCast (and the enhanced SetupBuilder Web Client) to
developers on all platforms.

Many of these folks don't have the know how or the resources to do the web
stuff like we do, so being able to leverage their SetupBuilder purchase is
important to them.

The Enhanced WebUpdate client lets them check for updates just as they
would with their normal SetupBuilder install, then the client shows them
what version they are running, what the new version is AND how big the
download is BEFORE they commit to the download.

http://www.setupcast.com/html/setupbuilder.html

:-)

Charles

--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
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.clarionproseries.com - "Serious tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
02-13-2010, 04:21 AM
>> No real need to download the ini. Internally in my apps, I use wininet to
>> get the ini like it was a webpage (www.mysite.com\myinstalldir\wbupdate.ini)
>> then just parse the returned 'web page' for all of the ini info directly in
>> memory.
>>
>> Skip
>>
>> ps....for the wininet stuff, see
>> http://www.clarionmag.com/cmag/v7/v7n08webfetch.html
>
> Hi Skip,
>
> As Clarion developers, we do things like that with NetTalk's NetWebClient
> (two lines of code).
>
> However we sell SetupCast (and the enhanced SetupBuilder Web Client) to
> developers on all platforms.

Skip,

While I agree with Charles - about the advantages of the Enhanced WebUpdate
client - that is really one small part of SetupCast -

and for those that have some budding interest in SetupCast - take the
LANSRAD 30 day "Plain English" 100 percent refund offer, so you can try out
ALL the features.

I am not trying to hype the program, it's just one of those programs with
use over time, becomes very useful for a variety of reasons.

Too often, developers work furiously programming, writing help, web site
promos, etc and then trying to wrap up the install details JUST before
release -

SetupCast helps to stablize the process, and you can quickly and accurately
republish very quickly - IF you miss something in the process.

David

--
From David Troxell - Product Scope 7.9 - Encourager Software
Product Scope 7 Viewer - NO Registration Fee! Free to Use!
http://www.encouragersoftware.com/
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.profileexchanges.com/blog/

NewsArchive
02-15-2010, 03:39 AM
Hi Charles,

I wasn't trying to diss Setupcast by any means. It is an outstanding
product!

I was just responding to the op on getting information on the new version
before downloading.

Skip

NewsArchive
02-15-2010, 03:39 AM
> I wasn't trying to diss Setupcast by any means. It is an outstanding
> product!
>
> I was just responding to the op on getting information on the new version
> before downloading.

No worries Skip - I knew that!

:-)

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
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.clarionproseries.com - "Serious tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------