You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Kevin B.36's avatar
Kevin B.36
Collaborator | Level 8
3 months ago

Missing Registry Key on latest version of Dropbox for Windows.

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

  • Megan's avatar
    Megan
    Icon for Dropbox Staff rankDropbox 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! 

    • Kevin B.36's avatar
      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's avatar
        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

About 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.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!