Unzipping Mac executable files with revZip - revisited

Terry Judd tsj at unimelb.edu.au
Thu Jul 28 00:32:31 EDT 2011


OK - scratch that quey. It looks like using revZip to unzip Mac apps on a PC is ok after all. From what I can tell (following admittedly limited testing) any file without an extension that is unzipped on a PC ends up being recognised as a unix executable file on the Mac. Bottom line is that Mac apps unzipped on a PC using revZip still work on a Mac. Kinda ironic when Mac apps unzipped on a Mac using revZip don't.

Terry...


On 28/07/2011, at 01:46 PM, Terry Judd wrote:

> About 3 weeks ago I posted about an issue I had with certain Mac files (those that are recognised by the MacOS as 'unix executable files') losing their executable status when they are unpacked using revZip. A couple of solutions were offered and I'm currently using 'chmod +x [filepath]' to 'reset' these files.
> 
> However, I still have a problem in that I'm creating a cross-platform installer/updater that will be writing out (from a zip archive) both Win and Mac apps/externals/etc at the same time  - our software is delivered on a USB memory stick and includes cross-platform versions of a number of educational apps.
> 
> If the user installs/updates on a Mac then the chmod solution works perfectly. If however they are installing/updating under Windows then there doesn't seem to be any way for me to 'reset' any Mac executable files that have been updated so that they will function correctly the next time the user uses the software on a Mac (most of our users have PCs but most of our computer labs have Macs). Or is there a way that I'm unaware of (a Win equivalent of chmod)?
> 
> The only idea I have at the moment is to temporarily store a list of files that need to be reset when the user does their install/update on a PC and then use this (and clear it afterwards) to do some housekeeping the next time they start up the software on a Mac. Any other (better) suggestions out there?
> 
> Regards,
> 
> Terry...
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 






More information about the use-livecode mailing list