-
Hi there, In order for these apps to install winget must be updated from version 1.2 in Windows 11. That's easily accomplished by adding the app '9NBLGGH4NNS1' to be required. The problem is timing. Most of my apps will fail to install because this app was not updated before it attempted to install. How is everyone dealing with this? Is there a way to ensure these winget apps have a dependency (the winget app isn't showing as a potential target dependency)? I must be missing something huge or else everyone would have failed installs. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
This module can be used on an already finished computer to package apps to Intune. Getting the metadata and the download location is done by reading the Winget manifest repository, it does not even use the Winget app in most cases. It does however use Winget on the client machine to detect if an app is installed on a machine, in case the installer is no MSI and the product code is not provided. And if course of uses Winget on the client if you specify you want to package as a script (which just generates a ps1 with Winget install ... Do you have a better solution to check of an app is installed correctly? Maybe you could update the detection rules afterwards, or maybe we even want a parameter for that |
Beta Was this translation helpful? Give feedback.
-
Oh, I'm so sorry. Here's what I meant:
The question is: How can we ensure your apps do not install until the update to winget occurs? I assume every single person using your app has this issue and would like this answer, so I'm surprised that no one seems to have brought it up. |
Beta Was this translation helpful? Give feedback.
-
I'm so sorry, but I don't understand the options. The detection method (meaning, whether it's been installed or not) is something that your app creates for the package. That's not the problem. It fails to install. It doesn't fail to detect the install. Are you saying that we should bake the upgrading of winget into the detection script? That seems messy. I'm wondering how anyone else is getting this to work. What did I miss? |
Beta Was this translation helpful? Give feedback.
-
Sorry, what I'm trying to say is that there is no issue with detection. The install is actually failing. I mean, the software is not on the computer at all. Of course it's not going to detect. |
Beta Was this translation helpful? Give feedback.
-
All packages created with your app are failing. I believe winget must be functioning on the target computer for the package to install, right? I just tested with the test app and the test passed. |
Beta Was this translation helpful? Give feedback.
This module and the packages itself don't use Winget until the detection step (for none MSI installers).
Note
If the detection fails (only place where it uses Winget), the app is still installed but reports a failed install