MacAppStoreRedist icon indicating copy to clipboard operation
MacAppStoreRedist copied to clipboard

no files created in ~/appstorerepkg

Open kholis opened this issue 7 years ago • 3 comments

Hello, I install ServiceInstall.sh then download app from AppStore but no files created in ~/appstorerepkg dir.

I'm using Sierra 10.12.6. Thank you

kholis avatar Nov 23 '17 10:11 kholis

Which user did you run the ServiceInstall.sh as? - It should be run as a regular user. is it running? What is the result of "launchctl list | grep com.watch.manifest.appstore.apple"?

Installing and running as a regular user to install iBooks Author works for 10.12.6 on my test.

MacsInSpace avatar Nov 23 '17 12:11 MacsInSpace

I should add that the script will only pick up Apple apps. You can comment out lines 66, 67, 76,77 and 78 of repkg.sh to make it run for any app author. However, it's not tested and you may find the pkg for many apps will not redistribute or will not install or run due to a licensing at load.

MacsInSpace avatar Nov 23 '17 12:11 MacsInSpace

Hi, I installed ServiceInstall.sh as regular user.

Here is output of the command: $ launchctl list | grep com.watch.manifest.appstore.apple - 0 com.watch.manifest.appstore.apple

After comment out lines 66, 67, 76,77 and 78, only created ".txt" file but not ".pkg" file.

Yes I want to save installer for non-Apple packages. Thank you.

kholis avatar Nov 23 '17 22:11 kholis