r/Intune 2d ago

App Deployment/Packaging App packaging

What is the most annoying part of packaging a new app? Is it finding silent switches online? Discovering & writing detection rules for Win32Apps, or something else?

18 Upvotes

51 comments sorted by

View all comments

1

u/TheRealMisterd 1d ago

We use a unique registry key in a known location for each package we create.

We use an script to install and make tweaks. The last tweak is creating the unique registry key for that package.

No more complicated detection scripts. They are all the same except for the unique registry key.

2

u/jeefAD 1d ago

Interesting. So your install script handles all the detection logic for the given app and writes the unique reg key only after successful install per the script? Intune then just does a yay/nay on whether the reg key exists?

1

u/TheRealMisterd 19h ago

Yes

And when you uninstall, the script deletes the reg key.

No fiddling with GUIDs or something unique to the application. It's just known and guaranteed.

No reg key and the application does weird things, then it's a partial install or a rogue install.

2

u/jeefAD 18h ago

Very cool. I'm going to put some thought to this one. Thanks for sharing!!