Posted on 10-12-2012 07:17 AM
I am really confused on this one. I have deployed 5 apps from the Mac App store. All are free. I used composer snapshots to package all of them. But only 2 of them work properly. The other three fail to launch, instead bringing up the "sign in with your Apple ID" dialog. Since they are all free apps, and they were all packaged the same way, I can't figure out why this is happening. Can anyone shed some light on this issue?
Posted on 10-12-2012 08:52 AM
Did you open the 3 that don't work prior to packaging them?
I read somewhere that if you do, then you'd need the account that opened them to authenticate. Or maybe it's the reverse. Sorry for being so vague.
Posted on 10-12-2012 10:07 AM
Only first party Apple apps can be packaged. All third party apps, including free ones will have this issue regardless of how it is packaged, pushed, or opened/not opened prior to packaging.
I hope someone can prove me wrong on this though :-)
Posted on 10-12-2012 01:51 PM
We download/package/push stuff from the Apple App Store all the time. You should only get prompted when it's time to update the apps. I could be wrong, if there are any App Store third party apps that do call in on first launch, but I'd think they're not following Apple guidelines?
Posted on 10-12-2012 02:41 PM
Don,
Even with third party apps you're able to package/push without issue? Our big sticking point is AutoCAD LT.
Posted on 10-12-2012 04:34 PM
Yep, all the drag-install style stuff, including Apple App Store applications from Apple or third parties.
We are packaging with PackageMaker (sorry JAMF but until you provide us with an easy way to add HW/SW checks...well...), we add logic to check HW/SW requirements (proceed if met, else exit), find/kill the process if it's running, then install and exit. Works like a charm. :)
Users get prompted if an update is released, if what you're pushing isn't the current version, users would get prompted. I can't guarantee every app would work, who knows what these third party vendors do, but we haven't had any problems...that is, unless we push an application that isn't current...
Don
Posted on 10-15-2012 06:23 AM
I can confirm that 2 of the apps work fine, and they are 3rd party, and all the apps are current.
Posted on 10-15-2012 01:31 PM
Dammit!!! I've been jinxed!!!
Lookie here...I recently upgraded to a rMBP and just today I saw the first instance of this issue:
I wonder if the developer(s) might have the option to do this kind of enforcement?
Don
Posted on 10-15-2012 01:51 PM
Last week I tried using the same method that has always worked for Apple apps. I downloaded from the App Store, then dragged/dropped in Composer and deployed via Casper Remote for the 3rd party apps "7toX for Final Cut Pro" and "Xto7 for Final Cut Pro". Those two apps are prompting for the Apple ID and password on end user systems.
(When time permits, I'll try again on another device with a clean OS with the primary IT Apple ID to re-download the apps.)
This is to confirm that I am seeing this issue too!
Posted on 10-16-2012 04:08 AM
We distribute directly from the App Store downloaded installer, which is a bit complicated. This may be vast overkill but we haven't had any trouble with it. Note that you can only redistribute apps from the App Store that don't check their receipt, which is most free apps.
Start and pause the download immediately.
With Terminal, find the temporary com.apple.appstore directory under /var/folders. Something like "find /var/folders -name com.apple.appstore 2>/dev/null" - if you're not root you'll get some permission errors here so redirect stderr to null.
Under that you'll find a directory with some large number, and a few files inside that - flyingIcon, mzm.junk.pkg, preflight.pfpkg, and receipt. the mzm.junk.pkg is the actual app. Now if you resume downloading it will get deleted after installation, but if you make a hardlink to the file, the hardlink will stay around. For example, ln /var/folders/1v/6c9xr5zn6nz92c_vnj3jv17m0000gn/C/com.apple.appstore/12345678/mzm.exgoawfi.pkg ~/Desktop/
Resume the download and let it finish.
It would seem like you can use this linked mzm pkg directly, but it won't work. Instead, we expand it to get to the pkg inside, and then flatten that.
pkgutil --expand mzm.exgoawfi.pkg appstore.pkg pkgutil --flatten appstore.pkg/whatever.pkg whatever.pkg
- You can now use the whatever.pkg with makepkginfo. We sometimes unpack the Payload file from inside the expanded pkg (e.g. appstore.pkg/whatever.pkg/Payload) using pax, and then feed that as -f's to makepkginfo.
Found this online in the macenterpise google group, could try to get your apps this way and deploy the package... been working for me
Posted on 10-16-2012 08:21 AM
or
http://www.youtube.com/watch?v=mTgp642FB6c
Posted on 12-05-2012 10:22 AM
Does anyone happen to have any new input on this issue? I just let it be for a while because it was starting to get under my skin, but I do need to figure it out eventually.
Posted on 12-05-2012 10:59 AM
@nextyoyoma Doubtful you're going to be able to get around the issue where updates to the application will require the credentials for the Apple ID used when the application was downloaded from the Apple App Store.
PS, Snapshots is not the right method...
Don
Posted on 12-05-2012 11:48 AM
Been hoping it would be possible to package free and paid apps. As soon as our users get 10.8+ they are going to want it working.
For now my excuse is "app system requirements is 10.74...sorry"
For 10.6.8 users that's enough to fob them off for now.
Apples commitment for the enterprise on this one needs to improve.
It IS possible to hack them, (see previous post) but that is completly against the license agreement.
This really is a pain in the arse, especially as we have management pushing for keynote and we have to source and buy iwork09 boxed copies off Amazon!
Posted on 12-05-2012 12:05 PM
@tkimpton Yea I'm opposed to hacking the app (going into it and deleting anything). Following Apple guidelines and using Self Service, along with using PackageMaker to add the proper logic to the PKG is working fine for us on the Apple App Store side.
PS, I would LOVE to see Composer mature, so we can get logic menus (HW/SW check, etc.).
Don
Posted on 12-05-2012 01:02 PM
@donmontalvo
Have yoy got any urls, guides to how you are doing them at the moment with package maker?
Don't get me wron, I'm sure Macenterprise method works, just my boss isn't going to be too chuffed when it comes to training colleagues that are... Erm... Not that familiar with terminal ;)
Posted on 12-05-2012 01:16 PM
@tkimpton Check your email. :)
Posted on 12-09-2012 01:34 PM
@rpotvin do you have the link? I can't see this on macenterprise
Posted on 12-14-2012 12:48 PM
any clarity on step 6?
looking at this it doesn't make sense to me :(
Posted on 01-31-2013 02:48 AM
Old post, bring this up... @Don can you send me the mail you send to @tkimpton as well?
Thanks,
Maik
Posted on 03-14-2013 01:09 PM
Any updates on how we push out apps without blasted apple id prompts. I dont quite get the macenterprise method
Posted on 05-21-2013 09:52 AM
Anyone got any news on this?
Posted on 05-21-2013 10:30 AM
If the third-party vendor is checking the _MASReceipt to make sure his/her app is not being pirated, your best/only approach is to contact the vendor for direct volume purchases of his/her app.
This is not an Apple problem.
Posted on 05-21-2013 10:43 AM
And if its Apples Keynote?
Ive tried contacting them and reason with them to no avail.
Im interested in the approach highlighted on the macenterprise list, i just cant follow the instructions.
Posted on 05-21-2013 10:52 AM
For Keynote, you need to be using the DVD version, or this: http://www.apple.com/mac/volume-licensing/
The discussion you are referring to was talking about ways of capturing the App Store installation package for use with Munki. If you ignore the Munki part, you might be able to do the same thing to capture the package for use with Casper. I'm not at all convinced this will fix your issue, however.
Posted on 05-21-2013 11:00 AM
Thanks greg i will check it out :)
Posted on 05-21-2013 11:11 AM
At the moment I'm having to buy boxed copies off Amazon. The Apple business store still requires the end user to sign in and enter a redemption code.
This is a no go for me as none of our users have admin rights what so ever and it really screws up app deployment and productivity.
Posted on 05-21-2013 11:25 AM
@rpotvin
Please can you explain step 6. This doesn't make sense to me and I really need to do this now.
You mentioned it worked for you. Please can you explain in your words how we are to do this.
Thanks
Posted on 05-21-2013 11:45 AM
@tkimpton
Hey mate, okay for step 6....
when its done you get a pkg file and its not flattened. Sometimes (I know that skitch didn't work, had to install via that package file) you can go into that pkg file and with archive utility uncompress the pax file (can also open it with Pacifist) and then you have an .app ready to go, you then can drag that to applications DO NOT OPEN IT and then use composer or what ever you want to package it up and then deploy that.
Posted on 05-21-2013 12:02 PM
Thanks very much that makes sense :)
Posted on 05-22-2013 03:06 AM
i tried it with memory cleaner app but there isnt a pax file in there. If i use pacifist on the payload file i can see Memory Cleaner.app.
I tried extracting it to the desktop and ran it but nothing happens.
Posted on 05-22-2013 07:33 AM
@tkimpton
If you got that then I think that you missed a step. You have to flatten that pkg... once flatten then you can open it up in pacifist and see the .app
pkgutil --flatten appstore.pkg/whatever.pkg whatever.pkg
once I flattened it, I then opened it up in Pacifist
I then extracted the app and it works fine.
external image link Extracted from Pacifist
Posted on 05-22-2013 08:22 AM
@tkimpton
Let me know if you have any more problems
Posted on 05-22-2013 09:49 PM
I tried that but it didn't work for me, possibly my machine being weird so I'm going to rebuild a dev box and try it on.