I’m sure this isn’t the right spot for this, but any help and/or links to information would be appreciated.
I’m building an installer using packagemaker and got it working to my satisfaction.
However, my application requires acrobat reader to be installed… Is there any way (preferably with applescript… I’m not a mac developer by trade, but do know some applescript) to check for acrobat reader, and ask if they would like to install it?
set ddb to ""
try
tell application "Finder" to application file id "CARO"
on error
set ddb to button returned of (display dialog "Adobe Reader could not be found. Do you wish to install it?" buttons ¬
{"No", "YES"} default button 2)
end try
if ddb is "No" then
-- do not install
else
if ddb is "Yes" then
-- proceed with install
end if
end if