cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We are making some updates so the Community might be down for a few hours on Monday the 11th of November. Apologies for the inconvenience and thank you for your patience. You can find out more here.

Apps and Installations

Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Missing Registry Key on latest version of Dropbox for Windows.

Missing Registry Key on latest version of Dropbox for Windows.

Kevin B.36
Collaborator | Level 8

In my code I check for the following Registry Key to verify Dropbox has been installed:

 

HKEY_LOCAL_MACHINE\Software\Classes\dropbox-install

 

One of the users testing the code returns an error (Now - not previously). I am told Dropbox is installed (version:  206.4.6506) and running, but the key does not exist.

 

I cannot recall why I check this key for Dropbox being installed, although at face value it seems obvious, but can anyone tell me whether it is no longer created on Dropbox install?

 

For the record, all of my Windows VMs running Dropbox V206.4.6506 have that Registry Key, although it is certainly possible it could have been left over from previous installs. On my side I will try and setup a clean Windows VM with no Dropbox Registry entries and install Dropbox and see if the key is actually created.

 

Thanks for any help.....

 

Kevin

3 Replies 3

Megan
Dropbox Staff

Hey @Kevin B.36, thanks for posting here! 

 

I just wanted to check in with you, and ask if you've tried the workaround you mentioned about a clean Windows VM.

 

Also, would you mind clarifying what you wish to achieve on your end, in order for me to have the full visual here, and guide you properly? 

 

Thanks a bunch! 


Megan
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!
:arrows_counterclockwise: Interested in Community Groups? Click here to join!

Kevin B.36
Collaborator | Level 8

Hi  Megan,

 

I have cleaned out a VM and doing a clean install of Dropbox per this (and manually deleting Dropbox references in the Registry):

 

How to run an advanced reinstall of Dropbox - Dropbox Help

 

What I'm trying to achieve is simply to let the app know Dropbox has been installed. I do not recall where I read this, but the advice was simply to check for the existence of this registry key. It has been working fine in the code for several years until one of the testers advised an error saying Dropbox was not installed. On inspection, that registry key did not exist on her Windows VM although Dropbox was installed.

 

The code is relatively trivial:

 

lReg.RootKey := HKEY_LOCAL_MACHINE;
DropboxInstalled := lReg.KeyExists('SOFTWARE\Classes\dropbox-install');
 
So I then did a completely clean install of Dropbox on a clean Parallels VM. I then searched for the key:
 
HKEY_LOCAL_MACHINE\Software\Classes\dropbox-install
 
For the record the values under the key are:
(Default)       RG_SZ     URL:dropbox-install protocol
URL Protocol    RG_SZ.    blank
 
I can confirm .....\dropbox-install does not exist.
 
So my question is: Is this a key that is no longer created in the latest version of Dropbox install or earlier (206.4.6506). It has likely NOT been noticed because upgrading Dropbox would NOT have deleted the key even though it is no longer created on a clean installed.
 
Thanks, 
Kevin

Kevin B.36
Collaborator | Level 8

So without keeping this thread going too long, I note ......./dropbox-client at the same point in the registry and with pretty much the same content. It's there on all current installed Dropbox.

 

I've fixed my code to simply check for ..../dropbox-install and if that fails check for ..../dropbox-client. If both fail I assume Dropbox is not installed.

 

Kevin

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Kevin B.36 Collaborator | Level 8
  • User avatar
    Megan Dropbox Staff
What do Dropbox user levels mean?