evansullivan Posted May 10, 2017 Posted May 10, 2017 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.
iamtheky Posted May 10, 2017 Posted May 10, 2017 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. ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
evansullivan Posted May 10, 2017 Author Posted May 10, 2017 Latest version available from the vendor please. I am able to pull the installed version via reg keys and getfileversion.
evansullivan Posted May 10, 2017 Author Posted May 10, 2017 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.
iamtheky Posted May 10, 2017 Posted May 10, 2017 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 ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
evansullivan Posted May 10, 2017 Author Posted May 10, 2017 (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 May 10, 2017 by evansullivan
iamtheky Posted May 10, 2017 Posted May 10, 2017 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. ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
evansullivan Posted May 10, 2017 Author Posted May 10, 2017 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.
alien4u Posted May 11, 2017 Posted May 11, 2017 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now