Intune: Manage Complex & Custom Apps
Intune
Jan 24, 2026 12:29 PM

Intune: Manage Complex & Custom Apps

by HubSite 365 about Dean Ellerby [MVP]

Microsoft MVP (Enterprise Mobility, Security) - MCT

Microsoft Intune Robopack Win thirty two packaging, testing, updates, and Microsoft three sixty five automation tips

Key insights

  • Robopack, a fast packager for Win32 apps, builds Intune-ready installers for Microsoft 365 device fleets.
    It streamlines packaging so IT teams deliver reliable, repeatable deployments.
  • Create a custom package by defining the source files, install/uninstall commands, and detection rules.
    Clear detection rules ensure Intune knows when an app is present or needs repair.
  • Follow Intune Win32 best practices: set precise requirements, handle proper return codes, and choose user vs system install contexts.
    Correct settings reduce failed installs and support requests.
  • Plan updates with supersedence rules and robust uninstall logic to avoid conflicts.
    Well-planned supersedence keeps devices on the right app versions and simplifies rollbacks.
  • Use clear versioning and add automation for repeatable builds in Microsoft 365 environments.
    Automated packaging and signing fit easily into CI/CD to speed releases.
  • Test locally before uploading, then upload and assign the package in Intune.
    You can now upload a PowerShell script as the installer to handle custom or scripted setups, improving flexibility and control.

In a recent YouTube walkthrough, Dean Ellerby [MVP] demonstrates how organizations can streamline deployment of complex Windows applications using Robopack to build ready-to-deploy Win32 packages for Microsoft Intune. The video focuses on creating reliable Intune-ready packages quickly, and it covers source setup, install and uninstall commands, detection rules, testing, and clean uploads to Intune. Consequently, IT teams managing Microsoft 365 device fleets can gain practical techniques for packaging, versioning, and automating distribution while learning to avoid common pitfalls. Overall, the presentation balances practical steps with broader guidance on maintaining consistent deployments across enterprise environments.

Video overview and core steps

First, Dean Ellerby [MVP] walks viewers through the core steps to create a custom package in Robopack, including defining source files, crafting install and uninstall commands, and setting detection rules. He demonstrates how these elements fit together so that packages behave predictably once pushed to Intune, which reduces deployment surprises. Additionally, he highlights why clear detection logic and correct return codes matter for automated remediation and reporting. Therefore, the video frames packaging as both a technical and operational activity that needs repeatable patterns.

Next, the presenter explains best practices for preparing a package for enterprise distribution, such as enforcing consistent versioning and capturing exit codes that Intune can interpret. He points out that using a structured approach simplifies later updates and supersedence scenarios. As a result, administrators can plan automated pipelines that reduce manual intervention and improve reliability across large device populations. Thus, following these foundational steps helps teams scale packaging work with confidence.

Robopack walkthrough: building reliable Win32 packages

In the hands-on portion, Dean Ellerby [MVP] shows how Robopack templates help standardize packaging tasks so that teams spend less time debugging installer scripts. He demonstrates creating a package, specifying install and uninstall commands, and adding robust detection rules that check file presence, registry keys, or product versions. By doing so, the video emphasizes making detection rules strict enough to avoid false positives but flexible enough to handle minor environmental differences. Consequently, the approach reduces failed installs and unnecessary reboots during deployment.

Moreover, the walkthrough covers practical choices such as whether to run installers in user context versus system context and how return codes should be mapped to Intune success or retry behavior. These decisions involve tradeoffs: running in system context provides broader privileges but can affect user-level configuration, while user context respects profiles but may fail when elevated permissions are required. Thus, the demonstrator stresses evaluating application requirements and security policies before choosing execution context. In this way, the video helps administrators weigh immediate convenience against long-term manageability.

Intune best practices, updates, and supersedence

The video also outlines Intune best practices, including handling updates, supersedence, and uninstall logic in a managed catalog. Dean Ellerby [MVP] recommends defining clear versioning rules so that new packages can replace old ones cleanly, and he shows how supersedence relationships in Intune can automate that process. However, he notes that improper supersedence settings can inadvertently remove required versions or create gaps during staged rollouts. Therefore, testing supersedence behavior in a controlled environment is essential before broad deployment.

He further examines how to design uninstall commands that are safe to run remotely, particularly when multiple product components or shared libraries exist. The tradeoff here involves creating uninstall logic that is comprehensive without risking the removal of components used by other applications. Consequently, the video encourages conservative uninstall rules, accompanied by robust detection checks to confirm state changes. In short, careful planning around updates and uninstall logic reduces service interruptions for end users.

Testing locally and deploying at scale

Before uploading to Intune, the presenter emphasizes local testing to validate install behavior, detection rules, and return codes. He demonstrates running installers and uninstalls on test machines, observing logs, and refining scripts until behavior matches expectations. This step saves time by catching edge cases early, which is particularly important when managing hundreds or thousands of devices. Thus, local validation forms a key part of a reliable deployment pipeline.

After local verification, the video shows the clean push to Intune, including packaging, upload, assignment, and staged rollout strategies. Dean Ellerby [MVP] suggests using phased deployments to limit blast radius and to monitor telemetry for failures or unexpected side effects. Yet, administrators must balance speed and caution: fast rollouts increase efficiency but raise the risk of widespread issues if packaging mistakes slip through. Therefore, phased testing and rollback plans help teams manage that tradeoff while keeping end-user impact low.

Challenges, automation, and final takeaways

Finally, the presentation addresses automation and continuous improvement, noting that packaging processes benefit from version control, CI pipelines, and repeatable templates. Automating drives consistency and reduces manual errors, but it requires investment in tooling and test coverage to avoid automating the wrong steps. For many organizations, the challenge lies in balancing the upfront cost of automation with long-term operational gains.

In conclusion, the YouTube walkthrough by Dean Ellerby [MVP] offers practical, step-by-step guidance for creating Intune-ready Win32 packages with Robopack, while honestly addressing tradeoffs and risks. By focusing on detection rules, return codes, execution context, testing, and phased rollouts, the video equips IT teams to manage complex apps more reliably. Consequently, administrators who adopt these practices can improve deployment success rates and reduce user disruption across Microsoft 365 device fleets.

Intune - Intune: Manage Complex & Custom Apps

Keywords

Microsoft Intune app management, custom app deployment Intune, Win32 app deployment Intune, MSIX deployment Intune, line-of-business apps Intune, Intune app configuration policies, Intune app protection policies, Intune app troubleshooting