Skip to content

Conversation

@TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented Jun 25, 2020

Fixes #13035

PR Summary

Correct stable and preview upgrade codes for msi

PR Context

stable and preview were reversed in:
#12792

PR Checklist

<?define ExplorerContextMenuDialogText = "&$(var.ProductName) $(env.SimpleProductVersion)"?>
<?define UpgradeCodePreview = "31ab5147-9a97-4452-8443-d9709f0516e1"?>
<?define UpgradeCodeRelease = "39243d76-adaf-42b1-94fb-16ecf83237c8"?>
<?define UpgradeCodePreview = "39243d76-adaf-42b1-94fb-16ecf83237c8"?>
Copy link
Member Author

@TravisEz13 TravisEz13 Jun 25, 2020

Choose a reason for hiding this comment

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

From - https://github.com/PowerShell/PowerShell/pull/12792/files#r445866081

preview upgrade codes

x64 - 39243d76-adaf-42b1-94fb-16ecf83237c8	
x86 - 86abcfbd-1ccc-4a88-b8b2-0facfde29094

release upgrade codes

"UpgradeCodeX64", '31ab5147-9a97-4452-8443-d9709f0516e1', "Process")	
"UpgradeCodeX86", '1d00683b-0f84-4db8-a64f-2f98ad42fe06', "Process")

Copy link
Member

Choose a reason for hiding this comment

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

I'm curious where does var.IsPreview declared?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@heaths heaths left a comment

Choose a reason for hiding this comment

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

Sorry about that. I tested all the upgrade scenarios in a sandbox using generated MSIs, but should've also tested against then-released MSIs.

@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Jun 25, 2020
@TravisEz13 TravisEz13 added this to the 7.1.0-preview.5 milestone Jun 26, 2020

Context "Upgrade code" {
BeforeAll {
$previewUpgladeCode = '39243d76-adaf-42b1-94fb-16ecf83237c8'
Copy link
Collaborator

Choose a reason for hiding this comment

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

If we add tests for Preview why not for Release?

If we add tests for x64 should we skip the tests on x86?

@minoseah629
Copy link

in a similar note, trying to install 7.0.2, it thinks there is a higher version already:
image

@adityapatwardhan
Copy link
Member

@iSazonov ok to merge this?

Co-authored-by: Robert Holt <rjmholt_msft@outlook.com>
@TravisEz13
Copy link
Member Author

in a similar note, trying to install 7.0.2, it thinks there is a higher version already:

This is after installing preview.4?

@TravisEz13
Copy link
Member Author

@PoshChan Please remind me in 30 minutes

@PoshChan
Copy link
Collaborator

@TravisEz13, this is the reminder you requested 30 minutes ago

@TravisEz13 TravisEz13 changed the title Correct stable and preview upgrade codes for msi Correct stable and preview upgrade codes for MSI Jun 29, 2020
@TravisEz13 TravisEz13 merged commit 1397def into master Jun 29, 2020
@TravisEz13 TravisEz13 deleted the TravisEz13-patch-2 branch June 29, 2020 21:13
@ghost
Copy link

ghost commented Jul 6, 2020

🎉v7.1.0-preview.5 has been released which incorporates this pull request.:tada:

Handy links:

@minoseah629
Copy link

just tried to reinstall 7.0.2 and still getting same message as before: #13036 (comment)

@heaths
Copy link
Contributor

heaths commented Jul 7, 2020

If you installed the newer preview, you'll need to first uninstall it.

@minoseah629
Copy link

@heaths thanks. that worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PowerShell 7.1.0-preview4 x64 executable removes PowerShell 7.0.2 and does not install preview4

9 participants