Skip to content

[HOTFIX] ProductUpgrader: be extra careful about a copy loop#1673

Merged
derrickstolee merged 2 commits intomicrosoft:releases/shippedfrom
derrickstolee:upgrade-loop
Jun 2, 2020
Merged

[HOTFIX] ProductUpgrader: be extra careful about a copy loop#1673
derrickstolee merged 2 commits intomicrosoft:releases/shippedfrom
derrickstolee:upgrade-loop

Conversation

@derrickstolee
Copy link
Contributor

The ProductUpgrader makes a backup of the C:\Program Files\GVFS folder before running the install, as a mechanism for backing out a failed upgrade. However, it copies that data into C:\Program Files\GVFS\ProgramData\GVFS.Upgrade\Tools, which can create a copy loop! This affected an actual user.

I'm not sure why this affects that one user but not another. In addition to adding more defensive programming (adding the target of the copy to the list of exclusions), I also added some extra tracing so we can see how these strings differ on this machine.

See #1672 for the master PR.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
@derrickstolee derrickstolee requested a review from dscho June 2, 2020 20:44
@derrickstolee derrickstolee merged commit 1612722 into microsoft:releases/shipped Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants