DrewSE
Level 3

Shortcut not added to Mac OSX Dock

When I select the Mac OSX Dock as the target for my alias, the alias never appears in the dock. I've repeated this behavior with a SSCCE which is attached ().

I believe this is item IOA-000081101 from the InstallAnywhere 2013 Known Issues list, but is not reported on the InstallAnywhere 2014 Known Issues list

1. Is this a known issue in InstallAnywhere 2014?
2. Is there a workaround?

Thanks,
Drew
Labels (1)
0 Kudos
3 Replies
DrewSE
Level 3

Upon rebooting my Mac for an unrelated issue, aliases for my test product appeared in the Dock.

I've been able to reproduce this behavior, but not deterministically. It seems to be related to some combination of:
1) Installing over an existing install
2) Rebooting the machine

My attempts to reproduce the solution using `killall Dock`, `killall Finder`, and logoff-logon cycles don't seem to work.

Even with this work arounds, I don't want to have to tell my users to restart their machines just to get the alias to appear in the Dock. A real solution would be appreciated.
0 Kudos
marroyo
Level 3

Try to run this first:

defaults write com.apple.dock workspaces-auto-swoosh - boolean YES (any "defaults write com.apple.dock" command)

and then:

killall Dock

Marroyo
0 Kudos
marroyo
Level 3

In:

Sequence – Post-Install

Add the Action: Execute Script/Batch file: Show Icon in the Dock

With the Script:

#!/bin/sh
defaults write com.apple.dock workspaces-auto-swoosh -boolean YES
killall Dock

And the Rule:

Check Platform: ….Perform On:…“Mac OS X”

Marroyo
0 Kudos