In MAC OS, how to remove a Dock icon during uninstallation? Previously, I used to run the following AppleScript during uninstallation do to that,
try tell application "System Events" set dockPlistFile to property list file "~/Library/Preferences/com.apple.dock.plist" tell dockPlistFile tell property list item "persistent-apps" set appTileItems to value of (every property list item whose value of property list item "tile-data"'s property list item "file-label" is not "dockappname") set its value to appTileItems end tell end tell end tell tell application "Dock" to quit end try
This worked in MAC OS Mountain Lion. But this not working on Mavericks and above. As explained in the answer in this link I know how to add a Dock icon. Is there a similar way in the new BitRock InstallBuilder version to remove it?
Please sign in to leave a comment.