Re: More - Safari Download Security Alerts
Re: More - Safari Download Security Alerts
- Subject: Re: More - Safari Download Security Alerts
- From: Dave <email@hidden>
- Date: Mon, 15 Dec 2008 15:29:29 +0000
Hi,
I've been trying to use PackageMaker to build an installer without
much luck, it seems very flakey. I following the instructions in the
manual and actually created one usable installer. When it worked it
created a .mpkg file. I then made some changes and built it again,
this time it said it couldn't create a .mpkg file but only a .pkg
file. So I said ok, it then builds ok, but when I run the installer I
get "The installer encountered an unknown error that failed the
install. Contact the software manufacturer for assistance".
So firstly, what is the difference between a .mpkg file and a .pkg
file, and how do I select .mpkg? (Since that seemed to work).
I've being experimenting since I wrote the above. My installation
consists of a folder that contains an application. I want the folder
to be created in "/Applications", however, it doesn't seem to let me
do this. I end up with just the .app file in "/Applications", not a
folder with the app inside it as I expected. So, how do I get it to
create a folder that contains my app file?
So I set everything up, an build an installer, and then save the
project to a .pmdoc file, all seems ok. If I then quit PackageMaker
and then open the .pmdoc file again and try to build an installer, I
find that the setting have reverted to before I changed then so I
have to go thru the whole process again. Is this expected or is it a
bug or what? For instance, when re-open the .pmdoc file and re-build
the installer, I get a warning saving that the destination was not
selected and it will be installed in "/". If I set again set it to
"Applications" it works again but when I save and re-open project
file, it setting has reverted back to empty. The same goes for the
permissions. When I first added the files to the project, I dragged
in the folder containing the application, I then set the permissions
to Owner: root, Group: admin as per the manual. Whenever I re-open
the pm.doc file, the permissions have reverted to back to Owner:
Dave, Group: admin.
All in all a terrible experience so far, especially since I already
had it working to everyones satisfaction using the AppleScript(s).
If anyone could shed some light on this I'd be really grateful. I
really need to get an application/installer out the door ASAP.
Thanks in Advance,
All the Best
Dave
On 12 Dec 2008, at 12:25, Mike Abdullah wrote:
Does your app actually require an installer? If so, use Apple's
built-in installer application; don't roll your own with
AppleScript. If an installer is not really needed, just provide the
application on its own inside the DMG file. Users can drag and drop
it to their preferred destination.
On 12 Dec 2008, at 11:25, Dave wrote:
Hi,
Thanks for this. I have a little more information in the problem:
The user downloads a ,dmg file, this image contains (among others)
the following files:
"Install.app" -- Installation AppleScript.
"Cleanup.app" -- AppleScript that is run after the installation
has completed, (ejects the image etc.)
"RealApp.app" -- The Application that is being Installed.
When the user attempts to mount the Image file, the OS displays
the "File downloaded from Internet" dialog, this is ok, however,
after that, when the user launches "Install.app" a similar dialog
appears, the same goes for "Cleanup.app" and for "RealApp.app", so
we get 4 dialogs in total. So my question now is:
Can I disable all but the warning when the disk image is opened?
Thanks a lot
All the Best
Dave
On 11 Dec 2008, at 13:52, Peter Blazejewicz wrote:
hi Dave,
that's not Safari unique feature. That's system-wide component.
In your Xcode documentation window type "file quarantine" or
navigate to Guides>Security>Security Overview>Security Services
#File Quarantine
regards,
Peter Blazejewicz
On Dec 11, 2008, at 11:53 AM, Dave wrote:
Hi All,
I have an application that is downloaded from the web by Safari.
When the user double-clicks on the .dmg file to open the a
Warning Dialog is displayed. My question is, is there anyway of
stopping the dialog from appearing? My boss doesn't like it and
wants me to look into ways of getting rid of it, but I'm not
sure where to start!
Thanks in Advance, All the Best Dave
Dave
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden