Using Intune for Installations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
We have been running all of our software installs through intune and figured I would post incase anyone was looking to do so and may have any questions on it. I know I know its officially supported but it works great.
For us we have found it works best to get the web downloads and unzip the folders and basically create a package the size of the unzip install. We then use power shell to move/copy the folder into the C:\Autodesk Location and run the install, here is an example of Desktop Connector:
Powershell:
Copy-Item -Path "Autodesk\*" -Destination "C:\Autodesk\" -Recurse -force
taskkill /im DesktopConnector.Applications.Tray.exe /f
cmd.exe /c ""C:\Autodesk\Autodesk_Desktop_Connector_16_7_1_2164_Win_64bit\Setup.exe" -i install --silent"
In intune your installation line will look like:
powershell.exe -ExecutionPolicy Bypass -File .\DesktopConnector16712164install.ps1
Depending on the app, update, or add-in you are installing, the detection method that works best seems to be the registry key under uninstall keys.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
You can also usually find your uninstall command in this location to set in Intune. If you're installing the latest Desktop Connector, you'll need the specific key below:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{481EB775-4538-4EF3-9044-11E6CA88092E}
We have put out Full installs, all patches, and updates through this the key is understanding the quiet variable for each install type. Using the Company Portal App on Desktops lets users run installs as they need it and does not require an admins intervention.