Here is some code from MX but it shouldn't be too different. I'm using the BuddyAPI. This is for Windows. I can add the Mac code if you want as well. I hope this helps.
-- Create folder
if baFolderExists(installFolder) = 0 then
baCreateFolder(installFolder)
end if
-- Copy files to folder
baCopyFile(the moviePath & "Start.exe", installFolder & "Start.exe", "IfNewer")
-- Create shortcut on desktop
baMakeShortcut(installFolder & "Start.exe", baSysFolder("desktop"), "Connecting Math")
end if
-- Create shortcut in start menu
baMakeShortcut(installFolder & "Start.exe", baSysFolder("groups"), "Connecting Math")