SmartUpdate - older files, Linux, misc.

Everything else that doesn't fall into one of the other PB categories.
USCode
Addict
Addict
Posts: 924
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

SmartUpdate - older files, Linux, misc.

Post by USCode »

:?: Clarification question - When I run SmartUpdate I occasionally get this message:
"The avaiable update contains files, that are older than your local ones.
Do you still want to install them?"

Does this mean that:
1) If I say NO then only those files that AREN'T older than the local ones are installed?
2) Or if I say NO does that mean that NONE of the update is installed?
I'm assuming #1 but just wanted to be clear.

FYI - In the message "available" is mis-spelled as "avaiable" and also the comma is not needed.

Also, a date/time stamp for each update file in the file list would be handy.

SmartUpdate is great!
Thanks!

P.S. SmartUpdate was written in PureBasic only, right? So it would be easy to port to Linux for 3.90? :wink:
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post by dontmailme »

I asked this question..... and the answer is 1 ...... I had the same problem as you in that it's not worded well so you're not sure ........ so I answered yes and it downgraded my visual designer :(

Now I know I can press NO and it's will just update newer files :D
Paid up PB User !
freak
PureBasic Team
PureBasic Team
Posts: 5947
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Ok, i will make this more clear for the next version.

> FYI - In the message "available" is mis-spelled as "avaiable" and also the comma is not needed.

You got me there, i make that mistake ever since i know english :wink:
I will also correct it.

> P.S. SmartUpdate was written in PureBasic only, right? So it would be easy to port to Linux for 3.90?

Well, the file download routine contains a big load of API and COM stuff,
so this will have to be rewritten of course.

Timo
quidquid Latine dictum sit altum videtur
USCode
Addict
Addict
Posts: 924
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

Network library?

Post by USCode »

Well, the file download routine contains a big load of API and COM stuff, so this will have to be rewritten of course.
Does this mean that the PB Network library isn't up to par to accomplish what you needed to do? Are these some things that need to be added there? Or are you just a Windows API addict? :wink:

One of the major things that makes PB stand out from it's competitors is the fact that it IS cross-platform. Fred makes that clear on the PB website and is a major reason why I bought a license. Without this feature, PB wouldn't be quite as popular, or at least to me as interesting! Especially with an OS X version on the way, I'm even more conscious of finding a cross-platform PB way before resorting to the API.

SmartUpdate is great Timo! I love being able to just occasionally run it and always knowing if I'm up to date. As well as the ability to quickly receive timely bug fixes. A Linux version would be fantastic! Thanks again and Good Work! :D
freak
PureBasic Team
PureBasic Team
Posts: 5947
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Of course it could be done in plain PB.
I just didn't want to go through all that is needed to a download via http,
when the OS provides all these functions for me.

The download functions that i wrote for the Smartupdate are available
for download actually.. if you want to have a loop :wink:
http://freak.purearea.net/code/DownloadUrlToFile.zip

Timo
quidquid Latine dictum sit altum videtur
USCode
Addict
Addict
Posts: 924
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

PB Windows-centric

Post by USCode »

I just didn't want to go through all that is needed to a download via http, when the OS provides all these functions for me.
I understand, for you Windows is the only platform you're interested in but since PB is positioned as a cross-platform product, I just thought it'd be nice to have SmartUpdate available on all platforms. Not to mention it'd be a great demonstration of PB's cross-platform-ness and power/simplicity. Just a suggestion. :)

Wow 8O I don't know much about WindowsAPI programming but I took a look at your download code - are you sure it wouldn't have been easier in pure PB?!?! :wink:
Post Reply