|
Post by Csaba on Nov 14, 2018 12:19:49 GMT
Hi Hervé,
I'm using portable Google Earth from portableapps.com. When I click on a KML file in Windows it is correctly opened in portable GE, so the file association is there. Unfortunately, when I open Tiny Flight Viewer I get the message that either GE is not installed or the file association does not exist. Do you have a suggestion what to do? I'm not afraid of editing the registry, so if you tell me how/where TFV tries to find GE or the file association I could add it. Alternatively, if you could add an ”Export flight as KML” button to TFV, that would be awesome!
Thanks for all your wonderful software and website!
Csaba
|
|
|
Post by Herve Sors on Nov 14, 2018 14:44:34 GMT
Hello Csaba
TFV is only looking at the main Windows registry for kml GE association here HKLM/Software/Classes/.kml Usually this key contains 2 subkeys (Default) - Type: REG_SZ - Data: GoogleEarth.kmlfile Content Type - Type: REG_SZ - Data: application/vnd.google-earth.kml+xml If this association (key) doesn't exist at this place, the program considers a kml file cannot be opened directly in GE Would be interesting to know where Windows stores its association for GE portable (there is one somewhere of course since it opens when you click a kml file) Noted your suggestion Let me know
Regards
Hervé
|
|
|
Post by Csaba on Nov 14, 2018 15:28:25 GMT
Hi Hervé,
Thanks for the very fast response!
I added the following minimal information to the registry and the ”Earth View” button now works!
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.kml]
@="GoogleEarth.kmlfile" When I click ”Earth View” button I still get the pop-up to select an application to open KML files. This might be because portable Google Earth is beta and unsupported. But nevertheless it works fine for me.
I use Windows 10 64-bit. I searched the registry and I found the following place which contains the file association. It contains a lot of other associations, as well, so it might be a new place where Win 10 stores file associations. Also, the same info (the FileExts folder) cannot be found in HKLM, so it seems to be a per-user setting. Probably it is like that because I have not installed portable GE and only added the association manually, using Windows Explorer.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.kml]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.kml\OpenWithList]
"a"="GoogleEarthProPortable.exe"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.kml\OpenWithProgids]
"GoogleEarth.kml"=hex(0):
"GoogleEarth.kmlfile"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.kml\UserChoice]
"Hash"="ShiI3l+MhXE="
"ProgId"="GoogleEarth.kml"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.kmz]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.kmz\OpenWithList]
"a"="googleearth.exe"
"MRUList"="ba"
"b"="GoogleEarthProPortable.exe"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.kmz\OpenWithProgids]
"GoogleEarth.kmz"=hex(0):
|
|
|
Post by Herve Sors on Nov 14, 2018 16:33:59 GMT
Ok fine, probably a bit complicated to implement another search key since I don't know whick one I must use
>>When I click ”Earth View” button I still get the pop-up to select an application to open KML files<< Can't you define your GE portable as the default so as to avoid this pop-up? This button only performs a ShellExecute on the created kml file
Will implement the export to kml in a next version
Regards
Hervé
|
|