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

[Bug]: PowerShell ...Incorrect MSI code parsed in detection #128

Open
2 tasks done
jbruijntjes opened this issue Oct 18, 2024 · 1 comment
Open
2 tasks done

[Bug]: PowerShell ...Incorrect MSI code parsed in detection #128

jbruijntjes opened this issue Oct 18, 2024 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed PowerShell Issues related to the WinTuner PowerShell module

Comments

@jbruijntjes
Copy link

CommandLet

Deploy-WtWin32App

Full command

Deploy-WtWin32App -PackageFolder "C:\Packages\DotNetDesktopRuntime8\Microsoft.DotNet.DesktopRuntime.8"

Module version

1.0.2

What happened?

Installation failed because it could not be detected, turned out that detection.txt has an incorrect MSI
Package Microsoft.DotNet.DesktopRuntime.8 8.0.10 from Winget

MsiProductCode={d990096d-6282-42c5-8d16-71272c5be274}
MsiVersion=8.0.10.34118

But after checking on the machine I could see that the installed version was

{614C9740-3FD4-4788-A277-7C35CB4C323B} Microsoft Windows Desktop Runtime - 8.0.10 (x64)

For the record IntuneID is: 98f01778-292c-43f5-a927-09f031b33e75

After changing this in the detection all was ok

Command output

Deploy-WtWin32App -PackageFolder "C:\Packages\DotNetDesktopRuntime8\Microsoft.DotNet.DesktopRuntime.8\8.0.10\"
INFO: Loading package details from folder C:\Packages\DotNetDesktopRuntime8\Microsoft.DotNet.DesktopRuntime.8\8.0.10\
INFO: Uploading Win32App Microsoft .NET Windows Desktop Runtime 8.0 to Intune with file C:\Packages\\DotNetDesktopRuntime8\Microsoft.DotNet.DesktopRuntime.8\8.0.10\windowsdesktop-runtime-8.0.10-win-x64.intunewin
INFO: [GraphAppUploader] Creating new Win32LobApp
INFO: [GraphAppUploader] Creating new content version for app 98f01778-292c-43f5-a927-09f031b33e75
INFO: [ChunkedAzureFileUploader] Uploading C:\Users\JohnBruijntjes\AppData\Local\Temp\51e37bf5-d60e-44a0-90f1-4a6bc09269b8\IntuneWinPackage\Contents\IntunePackage.intunewin to https://mmcswdb02.blob.core.windows.net/d1f1759d-de28-4c75-a74d-b893a13175e3/24fdc478-ce4b-439d-8f45-67ed52a73ef0/f0c67263-9470-4460-aa6a-db99b8f14bee.intunewin.bin?sv=2017-04-17&sr=b&si=-797473038&sig=t6K3RenCZa06qkuNS1TlX0TgEDZVc032AYLnshx%2BdKY%3D
INFO: [GraphAppUploader] Added content version 1 to app 98f01778-292c-43f5-a927-09f031b33e75
INFO: Created Win32App Microsoft .NET Windows Desktop Runtime 8.0 with id 98f01778-292c-43f5-a927-09f031b33e75

AllowAvailableUninstall         : True
ApplicableArchitectures         : X64
DetectionRules                  : {Microsoft.Graph.Beta.Models.Win32LobAppProductCodeDetection}
DisplayVersion                  : 8.0.10
InstallCommandLine              : "windowsdesktop-runtime-8.0.10-win-x64.exe" /norestart /quiet
InstallExperience               : Microsoft.Graph.Beta.Models.Win32LobAppInstallExperience
MinimumCpuSpeedInMHz            :
MinimumFreeDiskSpaceInMB        :
MinimumMemoryInMB               :
MinimumNumberOfProcessors       :
MinimumSupportedOperatingSystem : Microsoft.Graph.Beta.Models.WindowsMinimumOperatingSystem
MinimumSupportedWindowsRelease  : 2004
MsiInformation                  :
RequirementRules                : {}
ReturnCodes                     : {Microsoft.Graph.Beta.Models.Win32LobAppReturnCode,
                                  Microsoft.Graph.Beta.Models.Win32LobAppReturnCode,
                                  Microsoft.Graph.Beta.Models.Win32LobAppReturnCode,
                                  Microsoft.Graph.Beta.Models.Win32LobAppReturnCode…}
Rules                           : {Microsoft.Graph.Beta.Models.Win32LobAppProductCodeRule}
SetupFilePath                   : windowsdesktop-runtime-8.0.10-win-x64.exe
UninstallCommandLine            : "windowsdesktop-runtime-8.0.10-win-x64.exe" /quiet /norestart /uninstall /passive
CommittedContentVersion         : 1
ContentVersions                 :
FileName                        : windowsdesktop-runtime-8.0.10-win-x64.intunewin
Size                            : 58413856
Assignments                     :
Categories                      :
CreatedDateTime                 : 18/10/2024 06:10:45 +00:00
DependentAppCount               : 0
Description                     : .NET is a free, cross-platform, open-source developer platform for building many
                                  different types of applications.
Developer                       : Microsoft Corporation
DisplayName                     : Microsoft .NET Windows Desktop Runtime 8.0
InformationUrl                  : https://dotnet.microsoft.com/
IsAssigned                      : False
IsFeatured                      : False
LargeIcon                       : Microsoft.Graph.Beta.Models.MimeContent
LastModifiedDateTime            : 18/10/2024 06:10:45 +00:00
Notes                           : Generated by WingetIntune at 18/10/2024 06:10:06 +00:00
                                  [WinTuner|Winget|Microsoft.DotNet.DesktopRuntime.8]
Owner                           :
PrivacyInformationUrl           :
Publisher                       : Microsoft Corporation
PublishingState                 : Published
Relationships                   :
RoleScopeTagIds                 : {0}
SupersededAppCount              : 0
SupersedingAppCount             : 0
UploadState                     : 1
AdditionalData                  : {[@odata.context,
                                  https://graph.microsoft.com/beta/$metadata#deviceAppManagement/mobileApps/$entity]}
BackingStore                    : Microsoft.Kiota.Abstractions.Store.InMemoryBackingStore
Id                              : 98f01778-292c-43f5-a927-09f031b33e75
OdataType                       : #microsoft.graph.win32LobApp

PowerShell version

7.4.5

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I won't demand an immediate answer
@jbruijntjes jbruijntjes added bug Something isn't working PowerShell Issues related to the WinTuner PowerShell module labels Oct 18, 2024
@svrooij
Copy link
Owner

svrooij commented Nov 13, 2024

@jbruijntjes Do you have any idea how this should be fixed? Thinking of providing an -OverrideProductCode parameter or something like that.

@svrooij svrooij removed their assignment Nov 29, 2024
@svrooij svrooij added the help wanted Extra attention is needed label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed PowerShell Issues related to the WinTuner PowerShell module
Projects
None yet
Development

No branches or pull requests

2 participants