-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Get arguments when using archive type package #2660
Conversation
@Trenly Do you have an example where default args are not passed to installer? From my local testing, args were correctly passed to nested installers (without this change). |
@yao-msft - When running this manifest locally |
Thanks, let me try a repro. |
I should still have the logs around from my local tests if they would be helpful |
Yep, logs should show what args are selected for execution. |
Before PR: Using dev build with PR changes: (Line 61521) |
I tried the package (without the change) and cannot repro locally. I'm not sure what leads to empty installer args with the logs you shared Before PR. But for the log after the pr, I can see the GetInstallerArgs were called twice (Line 61519 amd Line 61520). |
Interesting, because @SpecterShell was experiencing the same issue I was |
Maybe you are using an old version of winget that does not have this fix? #2413 |
The branch is called msiZipBug for #2413, and the description matches exactly what you were experiencing. |
Possibly. I thought I tested it with both winget and wingetdev before the change, since I did see that PR earlier. PerhPs I missed somethinf I agree that it is definitely being called twice though, so this should probably be reverted. |
This reverts commit 171d95b.
This fixes an issue where default arguments are not being passed to nested installers
Microsoft Reviewers: Open in CodeFlow