7 Jul
Downstall – download & install – is a quick utility I wrote using AutoIT that downloads and installs a program in one step.
It’s usage is rather easy, from the command line run Downstall with three command-line options and it will do all the work: download the program and run the executable with options that you define. In addition, status of each step along the way will be outputted to a log file for examining upon failure.
Usage
Again, using Downstall is rather easy, you just need three pieces of information:
Once you have the above, just include them on the command-line separated by “(~)” (again, without the quotes). Some people have asked why I used an opening and closing parentheses and a tilde; the only reason really is that those three characters are very unlikely to be in a URL – at least in that sequence.
So let’s say you wanted to download the Microsoft .NET 3.5 framework automatically (please watch for line-wraps):
REM Download & Install Microsoft .NET 3.5 using Downstall downstall.exe MS .Net Framework 3.5(~)http://download.microsoft.com/download/7/0/3/703455ee-a747-4cc8-bd3e-98a615c3aedb/dotNetFx35setup.exe(~)/q /norestart
Download this code: downstall.cmd
That’s it!
You’ll have two log files – downstall-main.log and downstall-exit.log – waiting for you in the same directory downstall.exe is located. The downstall-main.log file keeps a running log file of all the installations performed by Downstall, while downstall-exit.log contains the exit code from the last installation program. This allows for easy, automated parsing of the download-exit.log file for any errors within the actual program being installed instead of Downstall itself.
Download: Downstall
4 Responses for "Downstall Utility"
hhhm, is this for any software or only MS patches. I get a Line -1: Error Unable to execute the external program error when I try to download hijackfree.
It should work with anything that is downloadable as long as you supply the correct URL. What is the command line string you are using?
Thanks for the share
Interesting, thanks for sharing this great post
Leave a reply