Skip to content

Conversation

@wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Feb 24, 2021

3.1 port of #28298 and #28572. Should fix customer reports of being unable to upgrade/repair 3.1 Asp.Net bits via the .msi's. More context in #28029

The name of the standalone .msi's here weren't matching what gets into VS, meaning that you can't repair a VS installation with the standalone bundle. The solution is to make sure the names match in both places (the .msi should be versioned)

* Make sure SharedFx & TargetingPack msi names match

* Insert packageVersion into OutputName when available

* Move props around again
@wtgodbe wtgodbe requested review from a team and joeloff February 24, 2021 20:37
@ghost ghost added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Feb 24, 2021
@wtgodbe
Copy link
Member Author

wtgodbe commented Feb 24, 2021

@wtgodbe wtgodbe changed the title Wtgodbe/31msi backport [release/3.1] Make sure SharedFx & TargetingPack msi names match Feb 24, 2021
Copy link
Contributor

@dougbu dougbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will require an upstream reaction, correct❔

@wtgodbe
Copy link
Member Author

wtgodbe commented Feb 24, 2021

This will require an upstream reaction, correct❔

It shouldn't, dotnet/installer is already grabbing the nonstable .msi: https://github.com/dotnet/installer/blob/f630cdf91d154d913af945714dfdd2b414586308/src/redist/targets/GenerateLayout.targets#L80. This doesn't change the name of the .msi we publish, it just stops it from being renamed when it's brought into the shared WixLib.

@wtgodbe
Copy link
Member Author

wtgodbe commented Feb 24, 2021

I checked out out an installer produced by this build and confirmed that the .exe now references the .msi by its actual name rather than by AspNetCoreSharedFramework-x64.msi

@wtgodbe wtgodbe added the tell-mode Indicates a PR which is being merged during tell-mode label Feb 25, 2021
@wtgodbe wtgodbe added this to the 3.1.14 milestone Feb 25, 2021
@wtgodbe wtgodbe merged commit b8a46a8 into release/3.1 Mar 9, 2021
@wtgodbe wtgodbe deleted the wtgodbe/31MSIBackport branch March 9, 2021 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework tell-mode Indicates a PR which is being merged during tell-mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants