Periodically, I get a script alert that says "sh: :No such file or directory." When I click Edit on the alert, it says:
* An AppleScript application to run the Google Earth installer package.
This is an app instead of a simple AppleScript (or shell script for that matter)
because we need to use the built-in system authentication dialog to elevate to
root safely. If this were a simple script, the application name reported in the
dialog would be wrong (probably "osascript"), so it must be a full-fledged app. *)
And in continues on. I finally realized by clicking a button in the Script Editor, I could reveal the Bundle Info and then right click on the file to get to Reveal in Finder. This shows the "location" of a Google Earth Pro installer at the same level as if I had clicked on my iMac in Finder (where is shows Macintosh HD, Network, etc.) If I click on the iMac though directly in Finder, the installer does not appear.
What I've tried:
Before I found the installer location, I deleted Google Earth Pro (it was the version with auto update) and I hit Delete immediately in Trash. I downloaded and installed the manual update version. This did not work. I still received the original alert periodically.
After I found the location of the installer, I ejected it. This did not work. It did eject, but eventually I started getting the original alert that once again pointed back to an installer.
Question: Any ideas on how to get rid of this thing so I stop getting the alert? What process is leading to the installer coming back after I have ejected it? Thanks.
* An AppleScript application to run the Google Earth installer package.
This is an app instead of a simple AppleScript (or shell script for that matter)
because we need to use the built-in system authentication dialog to elevate to
root safely. If this were a simple script, the application name reported in the
dialog would be wrong (probably "osascript"), so it must be a full-fledged app. *)
And in continues on. I finally realized by clicking a button in the Script Editor, I could reveal the Bundle Info and then right click on the file to get to Reveal in Finder. This shows the "location" of a Google Earth Pro installer at the same level as if I had clicked on my iMac in Finder (where is shows Macintosh HD, Network, etc.) If I click on the iMac though directly in Finder, the installer does not appear.
What I've tried:
Before I found the installer location, I deleted Google Earth Pro (it was the version with auto update) and I hit Delete immediately in Trash. I downloaded and installed the manual update version. This did not work. I still received the original alert periodically.
After I found the location of the installer, I ejected it. This did not work. It did eject, but eventually I started getting the original alert that once again pointed back to an installer.
Question: Any ideas on how to get rid of this thing so I stop getting the alert? What process is leading to the installer coming back after I have ejected it? Thanks.