Here is the application setup we've been using for Microsoft DRC Insight deployments in our SCCM districts.  Using information from the past couple MAEDS sessions and our real world experiences.


After the TSMs are setup and we have the ORG Unit IDs from the device toolkit, here is what we do.


We utilize the PowerShell App Deployment Toolkit to make the clean up of old DRC installs nice and easy.  Actually we use that for almost everything since it gives us tons of options if we ever need them.  


Here is the files layout. (Highlighted are the only things you need to copy in or edit)

As you can see from the picture we create a different installation for each TSM group (normally per building, this one if for a Middle School).  It's recommended to use 1 TSM per 150 concurrent testing devices.

blob1478192219045.png


Deploy-Application.ps1 - Here is the code you need to place in the # <Perform Installation tasks here> section.  

The Uninstall lines are important, DRC does not clean up after itself. 

## <Perform Installation tasks here>

        ##  Uninstall DRC Insight 5x
        Execute-MSI -Action 'Uninstall' -Path '{B444C4E0-AADE-434D-90A0-04A5E37A7C23}'

##  Uninstall DRC Insight 6x
Execute-MSI -Action 'Uninstall' -Path '{34113A6D-07AD-433C-9320-B5EE498FEA71}'

        ## Install DRC Insight 7x
        Execute-MSI -Action Uninstall -Path 'drc_insight_setup.msi'
Execute-MSI -Action Install -Path 'drc_insight_setup.msi' -Parameters '/qn HTTPS_PROXY="" OU_IDS="MI-DRC-OUID"'

  

 

Deploy-Application.ps1 - Here is the code you need to place in the # <Perform Uninstallation tasks here> section.

# <Perform Uninstallation tasks here>
Execute-MSI -Action Uninstall -Path 'drc_insight_setup.msi'

 

That's it, just replicate for your other TSM groups and deploy.  Hope this helps some people!