Conversation
joeloff
commented
Jul 13, 2021
- Extract ProductLanguage into JSON manifest - these will be needed in the CLI to detect related products when dealing with upgrades for manifest MSIs
- Remove icon file from generated csproj
- Only add pack dependencies if they exist
|
@pjcollins hold off on reviewing, there's another fix that needs to go into this to extract more information we need in the CLI |
|
Here's a sample of what the new metadata will look like. We're extracting the Upgrade table (if present). Otherwise, we need to make make DB calls to extract the information from the MSI at install time and that would add a lot more complexity to the CLI logic. @dsplaisted as an FYI So turning this into |
| writer.WriteElementString("PackageId", $"{nupkg.Id}.Msi.{platform}"); | ||
| writer.WriteElementString("PackageVersion", $"{nupkg.Version}"); | ||
| writer.WriteElementString("Description", nupkg.Description); | ||
| writer.WriteElementString("PackageIcon", "Icon.png"); |
There was a problem hiding this comment.
You might have to define an empty "PackageIcon" property so that Arcade doesn't provide defaults and then adds the item group for you.
There was a problem hiding this comment.
I ran under Arcade SDK in dotnet/installer and it seems to work, but I will condition the target
There was a problem hiding this comment.
pjcollins
left a comment
There was a problem hiding this comment.
The latest icon related changes appear to be working for me.
