Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling the upgrade of the SDK bundle in a product-band #530

Merged
merged 5 commits into from
Feb 19, 2019

Conversation

johnbeisner
Copy link

@johnbeisner johnbeisner commented Feb 15, 2019

Addresses: https://github.com/dotnet/core-setup/issues/4188

Enabling the 'upgrade' of the SDK bundle in a 'product-band'.

src/redist/targets/GenerateMSIs.targets
src/redist/targets/GetRuntimeInformation.targets
src/redist/targets/Versions.targets

The upgrade code is based on: "an arbitrary string + the SDK product-band [3.0.1] + the bitness"
In this way, the upgrade codes, x64 & x86, will correctly change when the SDK product-band changes.

src/redist/targets/packaging/windows/clisdk/bundle.wxs
We have stated that we want the 3.0.1 preview 1 and preview 2 to be included in the 'upgrade':
https://github.com/dotnet/core-sdk/releases/tag/v3.0.100-preview-009812
https://github.com/dotnet/core-sdk/releases/tag/v3.0.100-preview-010184
Note: the upgrade codes were harvested via dark.exe against:
dotnet-sdk-3.0.100-preview-009812-win-x64.exe
dotnet-sdk-3.0.100-preview-009812-win-x86.exe
dotnet-sdk-3.0.100-preview-010184-win-x64.exe
dotnet-sdk-3.0.100-preview-010184-win-x86.exe

@leecow
@dagood
@joeloff
@JunTaoLuo
@dleeapho

Manual testing:
Install SDK bundles x64 3.0.1 preview 1 and 2
Install private x64 SDK bundle
Correctly removed 3.0.1 preview 1 and 2

@johnbeisner johnbeisner added the Area-Setup Acquisition and deployment team label Feb 15, 2019
@johnbeisner johnbeisner added this to the 3.0 Preview3 milestone Feb 15, 2019
@johnbeisner johnbeisner self-assigned this Feb 15, 2019
@KathleenDollard
Copy link

@johnbeisner

Will this value be visible anywhere to the user?

I had trouble following some of this: Could you give a couple of examples? It sounds like 3.0.1x86, which makes me a bit uncomfortable compared to 3.0.100x86, just because I like to be consistent with our version numbers.

@johnbeisner
Copy link
Author

@KathleenDollard
"Will this value be visible anywhere to the user?" - no, the value is part of how we will maintain the upgrade code for the SDK bundle installer.

@nguerrera
Copy link

What's the experience when old sdk is in use? Prompt to terminate processes? Prompt to reboot?

@johnbeisner johnbeisner changed the base branch from master to release/3.0.1xx February 19, 2019 21:00
@johnbeisner
Copy link
Author

@leecow
@dagood
@joeloff
@nguerrera

I am getting ready to merge this PR today: 2/19/2019
Please inspect the recent changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Setup Acquisition and deployment team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants