Description of the new feature/enhancement
I just found something out and even if it can't make 2.0, I think it's worth noting for the future if anyone feels like implementing it (maybe I will)..
The FileVersion ProductVersion attribute is often the same as the ARP version number, and it's super easy to get in PowerShell.
S C:\Users\easton> iwr https://github.com/git-for-windows/git/releases/download/v2.33.1.windows.1/Git-2.33.1-64-bit.exe -OutFile .\git.exe
PS C:\Users\easton> (Get-Item .\git.exe).VersionInfo
ProductVersion FileVersion FileName
-------------- ----------- --------
2.33.1 ... 2.33.1.1 ... C:\Users\easton\git.exe
PS C:\Users\easton>
YamlCreate should be able to do this for the user, so that they can hand it a URL (or URLs) for an update and it can handle the rest. wingetcreate already does something like this too.
Proposed technical implementation details (optional)
Just do Get-Item on the file, and look to see if ProductVersion is set. If it is, either suggest that they use that number, or if it's a quick update, then use that number by default.
Description of the new feature/enhancement
I just found something out and even if it can't make 2.0, I think it's worth noting for the future if anyone feels like implementing it (maybe I will)..
The
FileVersionProductVersion attribute is often the same as the ARP version number, and it's super easy to get in PowerShell.YamlCreate should be able to do this for the user, so that they can hand it a URL (or URLs) for an update and it can handle the rest. wingetcreate already does something like this too.
Proposed technical implementation details (optional)
Just do
Get-Itemon the file, and look to see if ProductVersion is set. If it is, either suggest that they use that number, or if it's a quick update, then use that number by default.