ArSo Posted March 3, 2009 Report Share Posted March 3, 2009 Hi, Maybe I'm missing something obvious but... I'm making a tools usb and I'd like to configure all tools for the autoupdate with Ketarin. I have set up an autoupdate for CCleaner portable from their page. - it takes the portable version from the http://www.ccleaner.com/download/builds page to {version} - it downloads the zip file to a local HDD temporary directory - it unpacks the archive to a specific tool directory on the USB {root}Toolkit\CCleaner\ for example - it deletes the file from temporary folder on HDD now, since the file is not there anymore, everytime I run update it downloads the same file and does everything again and again. Is there a way to check the exisiting/old {version} against the one on the web page/the new {version} to stop the unnecessary updates? Thanks in advance for any replies. Link to comment Share on other sites More sharing options...
FranciscoR Posted March 3, 2009 Report Share Posted March 3, 2009 (edited) No you can't. If previous file was deleted, even using {version} as indicator for changes, Ketarin will always proceed to DL. Unless you update file location from command line, using something like /update /appguid={373d4791-37d4-441a-81b8-8466e55e9803} /PreviousLocation=c:\test.exe but this is far from ideal when using a USB stick. Edited March 3, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
floele Posted March 3, 2009 Report Share Posted March 3, 2009 Why don't you simply keep the temporary files instead of deleting them? Link to comment Share on other sites More sharing options...
CybTekSol Posted March 3, 2009 Report Share Posted March 3, 2009 Why don't you simply keep the temporary files instead of deleting them? ArSo, This is what I do... if you have sufficient HD space, it is certainly the easiest solution. Link to comment Share on other sites More sharing options...
ArSo Posted March 4, 2009 Author Report Share Posted March 4, 2009 Keeping temp files could be a solution I was hoping on some easier one. With temp files I could set it up to only update on 1 PC with temp files on its HDD or keep them on USB key as well which would double the ammount of used space. Dunno if the creators will read this but it would be usefull to be able to set a variable {version} and update only if it differs. ps. when I think about this, programs wont update if there is no version in the files name right? Lets say there is a new version of program ABC but the file is always called ABC.zip not ABC_v1.1.zip or ABC_v1.2.zip Link to comment Share on other sites More sharing options...
CybTekSol Posted March 4, 2009 Report Share Posted March 4, 2009 ps. when I think about this, programs wont update if there is no version in the files name right? Lets say there is a new version of program ABC but the file is always called ABC.zip not ABC_v1.1.zip or ABC_v1.2.zipI may be wrong, as I haven't verified it because I always 'scrape' version info using regex, but I believe Ketarin will look at file size and date of the file on the server and if it differs from the one locally Ketarin will update. Flo, please correct me if I'm mistaken. Link to comment Share on other sites More sharing options...
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