Error executing service - Could not find installed GoogleDrive server

51 views
Skip to first unread message

datacom...@kingsalmon.co.nz

unread,
Sep 18, 2015, 9:21:03 PM9/18/15
to google-drive-shell-extension
Successfully built the NSIS installer that correctly installs the drive proxy and shell extensions to the following locations

C:\Program Files (x86)\Google\Google Drive Shell Extension
C:\Program Files\Google\Google Drive Shell Extension
C:\Program Files (x86)\<mycompany>\Drive Proxy Service

I have confirmed via the Drive Proxy Test project that API credentials are correct and can successfully browse files through this test harness.

But the only log file I can find at 

C:\Users\<me>\AppData\Roaming\Google\Drive Fusion\Logs

is repeatedly outputting the following when I attempt to access the shell extension drive in My Computer

Google Drive Shell Extension(1572) - Sat Sep 19 13:13:35 2015 - !!ERROR!! - Error executing service - Could not find installed GoogleDrive server
Google Drive Shell Extension(1572) - Sat Sep 19 13:13:35 2015 - !!ERROR!! - Could not find installed GoogleDrive server


Could you explain how the shell extension is referencing the drive proxy server exe? At least that might give me a head start looking at the code rather than trawling through the whole solution trying to find it. Or alternatively, what's the best point in the shell extension to set a break and attach a debugger so I can see what it's trying to do and why it's unable to locate the proxy?

Juan Garibotti

unread,
Sep 22, 2015, 10:54:32 AM9/22/15
to datacom...@kingsalmon.co.nz, google-drive-shell-extension
The problem is that the shell extension expects the proxy service to be installed in the same parent directory. "C:\Program Files\Google\Google Drive Shell Extension" should be "C:\Program Files\<mycompany>\Google Drive Shell Extension". The code looking for the service is in "google-drive-shell-extension/DriveFusion/Service.cpp" line 181, method Service::_GetGoogleDriveFilePath. It reads the dll location from the registry and replaces the end to get the service.

This is a defect in the installer project and ProjectConfig.txt. To fix for your use, open "google-drive-shell-extension/DriveFusion.Installer/Product.wxs" and in line 48, replace <Directory Id="Google" Name="Google"> with <Directory Id="<mycompany>" Name="<mycompany>">.

--
You received this message because you are subscribed to the Google Groups "google-drive-shell-extension" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-drive-shell-e...@googlegroups.com.
To post to this group, send email to google-drive-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-drive-shell-extension/01d1e772-734b-4f6f-9664-df627bab5056%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Juan Garibotti

unread,
Sep 22, 2015, 10:56:37 AM9/22/15
to datacom...@kingsalmon.co.nz, google-drive-shell-extension
You should also replace lines 102 and 115. Where it says Google, replace with <mycompany>.
Reply all
Reply to author
Forward
0 new messages