Install using MS Intune Endpoint Manager

Hi @trevor.farquharson,
Can you try this version, when you get a chance?

It should hopefully take care of the lingering folder in Program Files.

Hi @Tony
Installed 7050 then uninstalled. Folder is still there in C:\Program Files
also the ODrive and .odrive folders in the users profile are still there.
image

Hey @trevor.farquharson,
My apologies, I forgot to update you after this went through QA. We released an ā€œofficialā€ version that takes care of a couple of things since the build I gave you.

For the user-specific items, that is something that the uninstaller running at the system-level may not be able to clean-up, in some cases. This is because these items are created dynamically when the app is run/logged-in and those items are added within the user context. So, for example, folders created in the userā€™s profile directory and registry items added under HKCU. To hit these items, we have a script that will try to clean things up within the user context as part of the uninstall routine, but its effectiveness will depend on the context that the uninstaller is running in.

Here is what that script looks like, for your reference:
#Powershell script to remove all user-specific odrive content. Uninstaller code will handle everything else.

#Remove Current User registry entries (HKCU)
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\odrive*"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\odrive.*"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\.cloud*"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\.lockd*"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\.cloud*"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\.gdocx"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\.space"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\.gsheetx"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\.gformx"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\.gslidesx"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\.gdrawx"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\.gmapx"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\.onotex"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\CLSID\{102986AF-0728-447D-83B4-C3CD4F70F273}"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\Wow6432Node\CLSID\{102986AF-0728-447D-83B4-C3CD4F70F273}"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\CLSID\{4585263E-BEF5-4A39-A2E8-8F69E0054F0C}"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\CLSID\{679ADC87-66BB-43BF-9DC3-3DE2E4A32B8C}"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\CLSID\{E07BCA71-E88B-4A5E-BA46-69A52D6B9B20}"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\CLSID\{35B08E96-DA1F-4321-BF80-D6B53C20F3CF}"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\AppId\{4585263E-BEF5-4A39-A2E8-8F69E0054F0C}"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\AppId\{679ADC87-66BB-43BF-9DC3-3DE2E4A32B8C}"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\AppId\{E07BCA71-E88B-4A5E-BA46-69A52D6B9B20}"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Classes\AppId\{35B08E96-DA1F-4321-BF80-D6B53C20F3CF}"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{102986AF-0728-447D-83B4-C3CD4F70F273}"
rp -ErrorAction SilentlyContinue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" -Name "{102986AF-0728-447D-83B4-C3CD4F70F273}"

#Remove user-specific HKLM entries for the Win 10 sync root feature
rm -Recurse -ErrorAction SilentlyContinue -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SyncRootManager\odrive*"
rm -Recurse -ErrorAction SilentlyContinue -Path "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\SyncRootManager\odrive*"

#Kill odrive
kill -ErrorAction SilentlyContinue -n odriveapp
kill -ErrorAction SilentlyContinue -n odrive

#Restart Explorer here to release extensions
kill -ErrorAction SilentlyContinue -n explorer
sleep 5

#Remove the odrive Explorer shortcut
rm -Force -ErrorAction SilentlyContinue -Path "$HOME\Links\odrive.lnk"

#Rename the user's odrive folder to a "backup" name
mv -Force -ErrorAction SilentlyContinue -Path "$HOME\odrive" "$HOME\odrive_backup_$(get-date -f yyyy-MM-dd-hh-mm-ss)"

#Remove the .odrive folder from the user's home dir
rm -Recurse -Force -ErrorAction SilentlyContinue -Path "$HOME\.odrive"

Hi,

Iā€™ve just stumbled across this post because a customer needs to replace Procore Sync. We manage all their endpoints with InTune, is there any chance that this MSI can be officially released?

Thanks!

That would be great if they could do that.

Cheers Trev

Hi @evan1,

An MSI installer is available for Business Premium subscribers. Iā€™ll have someone from our sales team reach out to you over email to start a conversation.

(Anyone else interested in the MSI installer can get more information by contacting sales@odrive.com)

Best,
-Jeff

emoji_thumbs-down_thumb

This is a significant benefit of the Business Subscriptionā€¦ we otherwise wouldnā€™t be able to offer specialized installers or support automated deployments. You and your customer may find it useful to go over your customerā€™s specific needs with us; there are other capabilities besides MSI installers that your client may find valuable. As an IT consultant, you may even discover new things that you can offer to your other customers. And of course, anyone is free to decline after having talking to someone. Thereā€™s also an extended free trial available. Thanks.