Skip to content

Correct stable and preview upgrade codes for MSI - #13036

Merged
Travis Plunk (TravisEz13) merged 9 commits into
masterfrom
TravisEz13-patch-2
Jun 29, 2020
Merged

Travis Plunk (TravisEz13) merged 9 commits into
masterfrom
TravisEz13-patch-2

Conversation

@TravisEz13

@TravisEz13 Travis Plunk (TravisEz13) commented Jun 25, 2020 •

Copy link
Copy Markdown
Member

Fixes #13035

PR Summary

Correct stable and preview upgrade codes for msi

PR Context

stable and preview were reversed in:
#12792

PR Checklist

Comment thread assets/Product.wxs
<?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"?>

@TravisEz13 Travis Plunk (TravisEz13) Jun 25, 2020 •

Copy link
Copy Markdown
Member Author

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
Copy Markdown
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
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@heaths Heath Stewart (heaths) left a comment

Copy link
Copy Markdown
Contributor

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 Travis Plunk (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

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

Copy link
Copy Markdown
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
Copy Markdown

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

@adityapatwardhan

Copy link
Copy Markdown
Member

Ilya (@iSazonov) ok to merge this?

Comment thread test/packaging/windows/msi.tests.ps1 Resolved
Co-authored-by: Robert Holt <rjmholt_msft@outlook.com>
@TravisEz13

Copy link
Copy Markdown
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
Copy Markdown
Member Author

PoshChan-Bot (@PoshChan) Please remind me in 30 minutes

@PoshChan

Copy link
Copy Markdown
Collaborator

Travis Plunk (@TravisEz13), this is the reminder you requested 30 minutes ago

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

Copy link
Copy Markdown

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

Handy links:

@minoseah629

Copy link
Copy Markdown

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

@heaths

Copy link
Copy Markdown
Contributor

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

@minoseah629

Copy link
Copy Markdown

Heath Stewart (@heaths) thanks. that worked

Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Co-authored-by: Robert Holt <rjmholt_msft@outlook.com>
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
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

8 participants