aaronparker / packagefactory

A packaging factory for Microsoft Intune using Evergreen, VcRedist, and IntuneWin32App
https://stealthpuppy.com/packagefactory/
MIT License
63 stars 18 forks source link

Remove use of Win32_Product #21

Closed aaronparker closed 1 year ago

aaronparker commented 1 year ago

Win32_Product will cause issues with Windows Installer and needs to be replaced with querying uninstall / GUID info via the registry https://github.com/aaronparker/packagefactory/blob/27ef6e5600ee15ac8b812bc5c246fc19375d0f78/Install.ps1#L159

aaronparker commented 1 year ago

Get-CimInstance -ClassName "Win32_InstalledWin32Program"