How to get the last version number of virtualbox programmatically?

Here you can provide suggestions on how to improve the product, website, etc.
Post Reply
JavierReinoso
Posts: 10
Joined: 18. Feb 2019, 19:17

How to get the last version number of virtualbox programmatically?

Post by JavierReinoso »

How to get the last version number of virtualbox programmatically?

Are a command in vboxmanage or any exe in virtualbox installation that return the last version number of virtualbox in http://www.virtualbox.org

Or any web page in virtualbox.org that only write the last version number....

For get the actual installed version is easy: vboxmanage --version

I need to know the last version for do a message in a program in VB6 that are a new version of virtualbox...

Thanks in advance for answer...
JavierReinoso
Posts: 10
Joined: 18. Feb 2019, 19:17

Re: How to get the last version number of virtualbox programmatically?

Post by JavierReinoso »

I know that are the changelog web page:

https://www.virtualbox.org/wiki/Changelog

But in this web page is necessary check the text and is possible in the future change how write the last version number... I search for secure retrieve the last version number...
Martin
Volunteer
Posts: 2560
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: How to get the last version number of virtualbox programmatically?

Post by Martin »

JavierReinoso
Posts: 10
Joined: 18. Feb 2019, 19:17

Re: How to get the last version number of virtualbox programmatically?

Post by JavierReinoso »

Many thanks Martin, this is what I was looking for!!!
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: How to get the last version number of virtualbox programmatically?

Post by socratis »

Cool idea Martin! 8)
Marking as [Resolved].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
JavierReinoso
Posts: 10
Joined: 18. Feb 2019, 19:17

Re: How to get the last version number of virtualbox programmatically?

Post by JavierReinoso »

Sorry, another question, are a page how the

http://download.virtualbox.org/virtualbox/LATEST.TXT
http://download.virtualbox.org/virtualb ... STABLE.TXT

To retrieve the exact link to a windows hosts last virtualbox version and last virtualbox stable version???

Thanks in advance...
JavierReinoso
Posts: 10
Joined: 18. Feb 2019, 19:17

Re: How to get the last version number of virtualbox programmatically?

Post by JavierReinoso »

Well, I search and are this option:

If the http://download.virtualbox.org/virtualbox/LATEST.TXT do the answer 6.0.4

And after here are the archives:

http://download.virtualbox.org/virtualbox/6.0.4/

And search for the Windows version...

But are a page that directly and secure do all the virtualbox windows last version links - virtualbox and extpack -?
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: How to get the last version number of virtualbox programmatically?

Post by socratis »

JavierReinoso wrote:But are a page that directly and secure do all the virtualbox windows last version links - virtualbox and extpack -?
For the "secure" part, you can replace the above "http" with "https", they're usually the same file. And by "usually" I mean that there are two different servers, there might be a difference in synchronizing their contents.

As for the "directly" part, I think that you mean something like:
https: //download.virtualbox.org/virtualbox/Latest/
being a symlink to the latest directory containing the builds. Hmm... not really there as things stand at the moment.

First of all, look at your typical Win installer and the ExtPack installer; they both contain the version number in them. As in:
https: //download.virtualbox.org/virtualbox/6.0.4/VirtualBox-6.0.4-128413-Win.exe
https: //download.virtualbox.org/virtualbox/6.0.4/Oracle_VM_VirtualBox_Extension_Pack-6.0.4-128413.vbox-extpack
You would need to have something like:
https: //download.virtualbox.org/virtualbox/Latest/VirtualBox-Win.exe
https: //download.virtualbox.org/virtualbox/Latest/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack
for it to work. Otherwise you'd still have to do some parsing...

Might not be such a bad idea. It could mean more work for the developers, but it may be something worth thinking about. I'm moving your post from "Windows Guests" to "Suggestions", because that's what you're doing; you're suggesting a new feature for the download server...

PS. I'm doing all my software updates manually, I have about 100 sites that I have bookmarked and I do a quick scan to see what's new since I last checked about a week ago. I *really* hate the "latest" links, they don't give you the exact version so you can compare. I have to download the whole thing again, just to realize that it's the same version as the one that I already have installed. But I do see your point as well...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply