Closed lonnywong closed 1 year ago
@lonnywong,
It looks like the format of the zip installer changed from v0.1.7 to v0.1.8. When I download both, the v0.1.8 has an extra folder enclosing the nested installer. Wingetcreate uses the relative file path of the existing manifest (/tssh.exe) to try to locate the nested installer, but in this case it should be /tssh_0.1.7_windows_x86_64/tssh.exe
(enclosing folder changes depending on the installer). As we currently have no way to override the relative file path, I would use the new command to create a new manifest with the correct relative filepath for this package. Then, in the future, the updates should work to point to the correct relative file path (assuming that the format of your zip does not change).
@ryfu-msft Thanks for your help.
Resolved in WinGet-Create 1.5.1.0 in PR #415
cc @denelon / @ryfu-msft if this can be marked as completed
@mdanish-kh Thanks.
wingetcreate 1.5.1.0
works.
Brief description of your issue
The zip archive file
tssh_0.1.8_windows_x86_64.zip
havingtssh_0.1.8_windows_x86_64\tssh.exe
in it.The version number
0.1.8
causeswingetcreate update
to fail.Steps to reproduce
Expected behavior
wingetcreate update success.
Actual behavior
Environment