Detecting Dropbox install on Win and Macs

(imported topic written by sneufeld)

Hi,

I need some advice.

Has anyone tried to detect the Dropbox install. I have some folks here telling me the app is installed on a few PCs, but I can’t detect it.

Thanks in advance,

//Stephen

(imported comment written by SystemAdmin)

As a support professional in an Enterprise setting, I’ve come to despise DropBox.

It’s software that makes itself deliberately obtuse, and or hard to remove and encourages our users to violate Policies designed to prevent legal quandaries.

The reason you’re having trouble finding it, is that it does not install itself in the usual location. In an effort to allow “non-Administrators” to install the software, they don’t use

C:\program files

, rather it installs itself into the users Profile path. To find it, I examine the

HKEY_USERS

hive.

The following will tell you if it is installed on a particular computer …

if (exists values 
"InstallLocation" of keys 
"Software\Microsoft\Windows\CurrentVersion\Uninstall\Dropbox" of keys of key 
"HKEY_USERS" of registry) then (
"Installed") 

else 
"N/I"

The following will tell you which profiles it is installed under …

if (exists values 
"InstallLocation" of keys 
"Software\Microsoft\Windows\CurrentVersion\Uninstall\Dropbox" of keys of key 
"HKEY_USERS" of registry) then (values 
"InstallLocation" of keys 
"Software\Microsoft\Windows\CurrentVersion\Uninstall\Dropbox" of keys of key 
"HKEY_USERS" of registry as String) 

else 
"N/I"

(imported comment written by SystemAdmin)

I’ve not tested it on the Mac OS families yet. I’ll give it a try today.

Have I mentioned that I don’t like how DropBox behaves?

(imported comment written by SystemAdmin)

I downloaded Dropbox and performed a basic installation.

It seems to have installed itself under the /Applications folder as Dropbox.app

The clause

exists folder 
"/Applications/Dropbox.app/Contents"

returns TRUE when the application is there.

I’m not as deft with the Macintosh detectors yet as I’d like to be, but the following seems to work OK. I’m sure it can be made a little more efficient.

IF (name of operating system as lowercase starts with 
"win") THEN (exists values 
"InstallLocation" of keys 
"Software\Microsoft\Windows\CurrentVersion\Uninstall\Dropbox" of keys of key 
"HKEY_USERS" of registry) ELSE (IF (name of operating system as lowercase starts with 
"mac") THEN (exists folder 
"/Applications/Dropbox.app/Contents/") ELSE (False) )