enabled use of InstallLocation for Oracle.JDK.17#40984
enabled use of InstallLocation for Oracle.JDK.17#409841 commit merged intomicrosoft:masterfrom Cube707:Oracle.JDK.17
Conversation
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
I saw https://stackoverflow.com/a/8841965; which is enabled by default in https://github.com/microsoft/winget-cli/blob/b79e4087821c993f83f7c4731bbde7aa25612c73/src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp#L461 for all packages using MSI
|
hm, ok than I must have bodged up somewhere else, because the |
|
@lutzroeder did some more Testing and even on a fresh Win10 VM it isn't working as expected: All of the following result in a installation to the default directory, NOT to the given directory:
The only thing that works and results in a different installation directory is:
|
|
Looks like you were right. I double-checked on a VM and it looks like this installer doesn't support |
|
reading the link you provided, as I understand it, this is also the correct behavior:
the targetdir option may not be the correct option here? The |
|
Hello @wingetbot! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
|
Hello @Cube707, |
|
@ItzLevvie I tested a few more packages and there seems to be some more inconsistency.
just using both options at the same time seems to work fine though. At least in my quick tests. should I open a issue about this? |
|
Publish pipeline succeeded for this Pull Request. Once you refresh your index, this change should be present. |
Please do, this will break waaaaaaaaaaaaay too many Packages Just for safety, make a issue here https://github.com/microsoft/winget-cli/issues not on winget-pkgs =)) |
winget validate --manifest <path>?winget install --manifest <path>?Note:
<path>is the name of the directory containing the manifest you're submitting.made the
-l,--locationoption functional for this packageMicrosoft Reviewers: Open in CodeFlow