Mac Packages failing

(imported topic written by pdentremont91)

Hi Guys,

I need some help. I’ve uploaded some folders and the sha1 is right but it says it’s corrupt when attempting to extract. So i copied the folder to windows and tried again. I finally decided to put them in a DMG and that is failing. I got the following message:

Invalid action content: the action script contains a syntax error.

This action has been applied 1 time and will not be applied again.

So i commented out the if statement.

Then I got the following message.

The action failed.

This action has been applied 1 time and will not be applied again.

Status Failed

Start Time 9/1/2011 10:06:29 AM

End Time 9/1/2011 10:06:44 AM

Action Script Execution Detail

Completed download http://our server.domain.com:52311/Uploads/3c8ebddce08ccfd6ac5da11b000282fabfb7bda4/Outlook%20Setupdmg.tmp

Failed continue if {(size of it = 338606020 AND sha1 of it = “3c8ebddce08ccfd6ac5da11b000282fabfb7bda4”) of file “Outlook Setupdmg.tmp” of folder “__Download”}

extract Outlook%20Setupdmg.tmp

wait sh -c “rm ‘/tmp/Outlook Setup.dmg’”

move “{posix path of file “Outlook Setup.dmg” of folder “__Download” of client folder of current site}” “/tmp/Outlook Setup.dmg”

wait hdiutil attach -quiet -private -mountpoint “/tmp/BESMNTPT6966006032771238” “/tmp/Outlook Setup.dmg”

// if {exists folder whose (name of it is “Documents”) of folder ("/tmp/" & “BESMNTPT6966006032771238”)}

wait cp -Rfp “{pathname of folder whose (name of it is “Documents”) of folder (”/tmp/" & “BESMNTPT6966006032771238”)}" “/Applications”

wait cp -Rfp “{pathname of folder whose (name of it is “Library”) of folder (”/tmp/" & “BESMNTPT6966006032771238”)}" “/Applications”

// else

// wait cp -Rpn /tmp/BESMNTPT6966006032771238/* /Applications

// endif

wait /bin/sh -c "hdiutil detach -force mount | grep /tmp/BESMNTPT6966006032771238 | cut -f 1 -d \ | cut -f 3 -d / | head -1"

wait sh -c “rm ‘/tmp/Outlook Setup.dmg’”

Applications isn’t going to be the final destination for these folders but I was using that location to start with.

Any Ideas?

Thanks,

Peter d’Entremont

(imported comment written by NoahSalzman)

Just a guess, but I would try changing the file name so it doesn’t have the space in it. That, or just visually inspect the __Download folder as it’s being downloaded and see if it is being named correctly.