Forum Discussion
xenappblog
Oct 28, 2020Copper Contributor
WinSCP fails both manually and automated on W10 20H2 with latest tool build
I think its related to a registry key creating that Tim M talked about earlier.
Chacon
Microsoft
Oct 28, 2020Hi xenappblog
I tried converting WinSCP and I believe the error you are seeing is due to an invalid protocol association. The MSIX Packaging Tool creates this protocol association:
<uap10:Protocol Name="s3" Parameters="/Unsafe "%1"">
<uap:DisplayName>s3</uap:DisplayName>
<uap:Logo>Assets\dav.png</uap:Logo>
</uap10:Protocol>
It should be using uap3:Protocol, not uap10:Protocol. There are other protocol associations, but only this one seems to be invalid.
To fix this you can edit the manifest file manually using the Package Editor. To do this, in the "Create new package" page of the tool, click "Package editor" instead of "Create" and then look for the "Open file" button at the bottom of the page.
- Oct 29, 2020
While working for this example, the explanation needs work. Protocol handles may be defined using either uap, uap3, or uap10 syntax. Unlike other parts of the schemas though, you can't mix and match the versions used for sub-elements.
Uap3 added the "Parameters" attribute which would be needed for this application, but uap10 extended the character sets used the "Name" parameter which could be needed by some apps. Since using uap10 implies an 1904 OS dependency at the client, it is better to chose to stick with uap3 for this example, but for others sticking with uap10 might be needed..
- xenappblogOct 29, 2020Copper ContributorThanks Luis that worked. Here's the script if anyone wants to play
https://github.com/haavarstein/Applications/tree/master/Misc/WinSCP