Open Adam-Kay opened 11 months ago
(Make sure to warn user about Microsoft Agreement that might pop up)
Screenshots of WinGet agreement in virtual machine
Initial agreement
Declined agreement and error code (
%ERRORLEVEL%
)Accepted agreement and error code (or lack thereof)
With the following now completed, a more lightweight FFmpeg Essentials package can be grabbed from WinGet instead:
where ffmpeg
command for ffmpeg install detection (also searches in current folder, conveniently resolving #3) Just thought that I can also use where winget
to see if the machine has winget installed. If not, it can skip directly over to secondary
Improvement Description
Most people do not know what FFmpeg is, nor want to figure out how to download it. Perhaps the program could install it for the user, and from then on it would be in PATH as suggested in #4 , and then doesn't have to be worried about again.
How to implement
Three stage option:
Preferred option
winget
- do "essentials" install if possible (Make sure to warn user about Microsoft Agreement that might pop up)If preferred fails (WinGet is not available on device OR user declined agreement OR \<other>)
Expand-Archive
utility.If all else fails
ffmpeg.exe
in current folder (#3) and if it doesn't exist, ask user for path toffmpeg.exe
(current behavior).