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

fix(core): Fix Invoke-ExternalCommand regression #5923

Merged
merged 3 commits into from Apr 25, 2024

Conversation

chawyehsu
Copy link
Member

@chawyehsu chawyehsu commented Apr 24, 2024

Description

#5839 introduced a regression of invoking msiexec native command, causing the significant Exit code was 1639 error for installing MSI-based pacakges when the destination path TARGETDIR containing whitespaces. This PR fixes the regression.

Motivation and Context

Resolves: #5911 ScoopInstaller/Main#5721 ScoopInstaller/Main#5723 ScoopInstaller/Main#5725 ScoopInstaller/Main#5726 ScoopInstaller/Main#5728 ScoopInstaller/Main#5729 ScoopInstaller/Main#5730 ScoopInstaller/Main#5740 ScoopInstaller/Main#5741 ScoopInstaller/Extras#13154 ...

Contexts #5839 #5231 #5065 #83 ScoopInstaller/Install#76

How Has This Been Tested?

No unit test available, but you may create new VM sandbox with its username having whitespaces to test.

And I think this is a urgent patch that should be merged to a hotfix branch without involving the expiremental feature of sqlite cache.

Checklist:

  • I have read the Contributing Guide.
  • I have ensured that I am targeting the develop branch.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.
  • I have added an entry in the CHANGELOG.

@chawyehsu chawyehsu requested a review from niheaven April 24, 2024 15:08
@chawyehsu chawyehsu changed the base branch from develop to hotfix April 25, 2024 11:47
Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>
Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>
@chawyehsu chawyehsu merged commit d10bd8d into ScoopInstaller:hotfix Apr 25, 2024
2 checks passed
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.

None yet

2 participants