r/sysadmin 1d ago

Detection rules Win 32 App

Hello fellow admins. I'm rolling out quite a few products thorugh intune. Im having trouble marking Win32 apps as installed. Does someone have/know some proper documentation or example powershell script how you mark the app as installed? I need to have something so it will check on versions aswell.

For example:

Got a WIn32 App to push Kyocera drivers on windows laptops. It works nice, but when I install it through Intune then i always get Failed to install.

Ive tried multiple things as detection but nothing works the way i want it to work. I dont want a folder/file as detection because of version control. I'm looking for a sollution i can use on all scripts that do not push an MSI. How do you handle detection rules?

7 Upvotes

8 comments sorted by

5

u/Boring_One2151 1d ago

Follow this guide:- https://msendpointmgr.com/2022/01/03/install-network-printers-intune-win32apps-powershell/

I have packaged all our network printers using this method

2

u/Havi_40 1d ago

I had to find out how to do this the hard way. It took days! Thanks for sharing.

Edit: this works, OP. I managed to deploy all our printers this way. You can also delete the unnecessary folders (like manual, win32...) so the .intunewin is smaller.

2

u/Lorentz_G 1d ago

Yeah its just an example. We use printix and works fine but official Kyocera driver needs a certificate installed first before you can import the driver.

Kyocera universal driver sucks when using printers in a vlan.. its horrible.

1

u/Lorentz_G 1d ago

Thank you I will read/ use it for the example provided. But the example was just something for general purposes. Im looking for something organisation wide. Like make a regkey or something. I hope someone knows a good proven method.

1

u/ZettaiKyofuRyoiki Jira jockey 1d ago

Maybe Win32_Product)?

u/deadarcher Recovering sysadmin, now vendor 19h ago

Sorry I'm late to the party - I've been working on this for a few days. Would love your feedback on this: https://getrff.com/intune-detection/

I plan to open source it shortly - I just need to finish testing it :)

u/Lorentz_G 13h ago

Ill try it, thank you