Intune Win32 app for an agent the RMM already installed
Use file-based detection, not the MSI product code or display name, and match MSI filenames with spaces exactly.
Symptom
You package an agent as an Intune Win32 app, but on machines where your RMM already installed it, Intune reports not detected and tries to install it again (or reports a failure).
Cause
The RMM-installed client didn’t register under the display name or MSI product code the detection rule expected.
Fix
- Use file-based detection: check for the agent’s main executable (and optionally its version) in its install path.
- If the MSI filename contains spaces, it must match exactly in both the packaging step and the install command, with quotes:
msiexec /i "Agent Installer 2.1.msi" /qn
Verify
On a machine that already has the agent, the app shows as Installed in Intune without reinstalling it.
Seeing this in your environment?
We can check for this, and everything around it, as part of an audit.