evansullivan

Get current version from Internet

9 posts in this topic

#1 ·  Posted

Any have an idea to get the most current version number of software (flash\java..) from the Interwebs?  The installers that I have don't have it on them to read.

Share this post


Link to post
Share on other sites



#2 ·  Posted

do you want the current version installed on your system, or the latest version available from the vendor?  both are doable but very different animals, and the latter requires us knowing the specific app, or using something like chocolatey.


,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

#3 ·  Posted

Latest version available from the vendor please.  I am able to pull the installed version via reg keys and getfileversion.

Share this post


Link to post
Share on other sites

#4 ·  Posted

Otherwise, my second option is to have a text file with the name being the current version and reading that.  Would have to keep that updated, however, hoping someone knows of something that is prewritten or something.  I have looked around, didn't see too much that I could steal.

Share this post


Link to post
Share on other sites

#5 ·  Posted

the search returns, organized by popularity, is usually pretty close. The nuget (chocolatey) community is rather large.

https://chocolatey.org/packages?q=&moderatorQueue=&prerelease=false&sortOrder=package-download-count

 

 


,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

I have been playing around with Chocolatey, but it only run when installed locally.  If I copy the installed files to a server and try and run it from there it doesn't run.

 

Meaning, if I copy c:\programdata\chocolatey to \\server\util\chocolatey and try and run choco install flashplayerplugin it does not run.

Edited by evansullivan

Share this post


Link to post
Share on other sites

#7 ·  Posted

you just have to update a text file you are reading to get versions.  Run chocolatey from anywhere that can massage the data and update the file.  I suppose you could have the file server do all the work, but it's unnecessary and more cumbersome for testing and updating imo.


,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

#8 ·  Posted

I was hoping to put Chocolatey files on a file share that all users could access.  Then run a command on that machine to have it install, but Chocolatey does like that.

Share this post


Link to post
Share on other sites

#9 ·  Posted

8 hours ago, evansullivan said:

I was hoping to put Chocolatey files on a file share that all users could access.  Then run a command on that machine to have it install, but Chocolatey does like that.

Hello @evansullivan,
I think that what @iamtheky is trying to tell you is:
In the same machine(server) where you was thinking to copy the Chocolatey file, for all the users, you should run an script that using Chocolatey generate a .txt file with all the new versions then you share this .txt file and you read it from any computer with your other script(installer)(over the network).

Kind Regards

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now