Re: More - Safari Download Security Alerts

2008-12-18 Thread Dave
Hi, I've been digging and delving and have found out why this is flakey! When I Drag in the folder in PM, it sets the privileges to the same as the local copy. I then override then in the content pane, so then become owner: root, group: admin. This seems to work ok when you press "Apply Re

Re: More - Safari Download Security Alerts

2008-12-17 Thread Dave
On 17 Dec 2008, at 20:17, Kyle Sluder wrote: On Wed, Dec 17, 2008 at 1:18 PM, Dave wrote: So I can now ship both and let them decide which they want. I reckon they will go for the AppleScript version, it's so much easier and quicker. I just timed it, from opening the Script to the app laun

Re: More - Safari Download Security Alerts

2008-12-17 Thread Kyle Sluder
On Wed, Dec 17, 2008 at 1:18 PM, Dave wrote: > So I can now ship both and let them decide which they want. I reckon they > will go for the AppleScript version, it's so much easier and quicker. I just > timed it, from opening the Script to the app launching is about 10 seconds. > By the time the us

Re: More - Safari Download Security Alerts

2008-12-17 Thread Dave
On 17 Dec 2008, at 17:00, Jeremy Pereira wrote: On 17 Dec 2008, at 15:27, Dave wrote: On 17 Dec 2008, at 12:03, Jeremy Pereira wrote: On 17 Dec 2008, at 11:28, Dave wrote: Hi Mark, Thanks a lot, it certainly is a lot easier to use and a lot less flakey, but it still doesn't work. It

Re: More - Safari Download Security Alerts

2008-12-17 Thread Jeremy Pereira
On 17 Dec 2008, at 15:27, Dave wrote: On 17 Dec 2008, at 12:03, Jeremy Pereira wrote: On 17 Dec 2008, at 11:28, Dave wrote: Hi Mark, Thanks a lot, it certainly is a lot easier to use and a lot less flakey, but it still doesn't work. It does not create a folder in "/Applications" it j

Re: More - Safari Download Security Alerts

2008-12-17 Thread Dave
On 17 Dec 2008, at 15:25, Graham Lee wrote: Hi Dave, On 17/12/2008 15:19, "Dave" wrote: 2. When I run the Install Package after the Initial Screen and clicking "Continue", I get to the Screen where is says - Standard Install on "VolumeName", there is a button that says "Change Install Loc

Re: More - Safari Download Security Alerts

2008-12-17 Thread Jean-Daniel Dupas
Le 17 déc. 08 à 16:40, Dave a écrit : On 17 Dec 2008, at 15:29, Jean-Daniel Dupas wrote: Le 17 déc. 08 à 16:19, Dave a écrit : Hi Matt, Thanks so much for this. I was using PM version 3.0.2, I hadn't realized that there was a new version of XCode available, for some reason I thought

Re: More - Safari Download Security Alerts

2008-12-17 Thread Dave
On 17 Dec 2008, at 15:29, Jean-Daniel Dupas wrote: Le 17 déc. 08 à 16:19, Dave a écrit : Hi Matt, Thanks so much for this. I was using PM version 3.0.2, I hadn't realized that there was a new version of XCode available, for some reason I thought it would auto-magically detect a new vers

Re: More - Safari Download Security Alerts

2008-12-17 Thread Jean-Daniel Dupas
Le 17 déc. 08 à 16:19, Dave a écrit : Hi Matt, Thanks so much for this. I was using PM version 3.0.2, I hadn't realized that there was a new version of XCode available, for some reason I thought it would auto-magically detect a new version and offer to update itself. Anyway I downloaded

Re: More - Safari Download Security Alerts

2008-12-17 Thread Dave
On 17 Dec 2008, at 12:03, Jeremy Pereira wrote: On 17 Dec 2008, at 11:28, Dave wrote: Hi Mark, Thanks a lot, it certainly is a lot easier to use and a lot less flakey, but it still doesn't work. It does not create a folder in "/Applications" it just installs the raw files there instead.

Re: More - Safari Download Security Alerts

2008-12-17 Thread Graham Lee
Hi Dave, On 17/12/2008 15:19, "Dave" wrote: > > 2. When I run the Install Package after the Initial Screen and > clicking "Continue", I get to the Screen where is says - Standard > Install on "VolumeName", there is a button that says "Change Install > Location", if I press it brings up a list o

Re: More - Safari Download Security Alerts

2008-12-17 Thread Dave
Hi Matt, Thanks so much for this. I was using PM version 3.0.2, I hadn't realized that there was a new version of XCode available, for some reason I thought it would auto-magically detect a new version and offer to update itself. Anyway I downloaded the latest and installed it, so I now h

Re: More - Safari Download Security Alerts

2008-12-17 Thread Jeremy Pereira
On 17 Dec 2008, at 11:28, Dave wrote: Hi Mark, Thanks a lot, it certainly is a lot easier to use and a lot less flakey, but it still doesn't work. It does not create a folder in "/ Applications" it just installs the raw files there instead. I'm giving up on PackageMaker, it just doesn't w

Re: More - Safari Download Security Alerts

2008-12-17 Thread Matt Gough
On 17 Dec 2008, at 12:28, Dave wrote: Thanks a lot, it certainly is a lot easier to use and a lot less flakey, but it still doesn't work. It does not create a folder in "/ Applications" it just installs the raw files there instead. I'm giving up on PackageMaker, it just doesn't work and the

Re: More - Safari Download Security Alerts

2008-12-17 Thread Dave
Hi Mark, Thanks a lot, it certainly is a lot easier to use and a lot less flakey, but it still doesn't work. It does not create a folder in "/ Applications" it just installs the raw files there instead. I'm giving up on PackageMaker, it just doesn't work and there doesn't seem to be any su

Re: More - Safari Download Security Alerts

2008-12-16 Thread Mark Allan
On 16 Dec 2008, at 17:55, Dave wrote: All I have done is to create an Installer with PackageMaker, but I can't get it to installer a folder with the files in it. Have you tried using the version of PackageMaker which comes with Xcode 2.5? I'm probably in the minority here, but I find it muc

Re: More - Safari Download Security Alerts

2008-12-16 Thread Tommy Nordgren
On Dec 15, 2008, at 6:41 PM, Dave wrote: Hi, I looked at the Man page below, I can't see anything that says "udifrez". Is this meant for me? I'm not sure what I am supposed to do with it. All the Best Dave I also looked at the hdiutil manpage: For the verb udifrez it states:

Re: More - Safari Download Security Alerts

2008-12-16 Thread Jean-Daniel Dupas
Le 16 déc. 08 à 20:02, Dave a écrit : Hi, I looked at xattr but can't find a man page and couldn't seem to find much about it anywhere. I did a xattr -l CleanUp.App, and it produced a dump of the data and resource forks. I can't see any attribute names. Is there any docs on xattr? Or bet

Re: More - Safari Download Security Alerts

2008-12-16 Thread Dave
Hi, I looked at xattr but can't find a man page and couldn't seem to find much about it anywhere. I did a xattr -l CleanUp.App, and it produced a dump of the data and resource forks. I can't see any attribute names. Is there any docs on xattr? Or better still, what is the command I would

Re: More - Safari Download Security Alerts

2008-12-16 Thread Geoff Beier
I see. I didn't catch the dialog on the disk image itself. While diving into package maker is the right thing to do, you should be able to fix your installer so that your workflow looks like: 1. Download the .dmg file. 2. Mount the image. (security dialog? i don't think i get these) 3. Launch the

Re: More - Safari Download Security Alerts

2008-12-16 Thread Dave
On 16 Dec 2008, at 17:46, Geoff Beier wrote: Sorry. I was pointing to a different part of the advice: you want to bypass the warning for your real app after the user has accepted the warning in for your installer, look at the keys and constants in for what you can pass to LSSetItemAttribu

Re: More - Safari Download Security Alerts

2008-12-16 Thread Geoff Beier
Sorry. I was pointing to a different part of the advice: >>> you >>> want to bypass the warning for your real app after the user has accepted >>> the >>> warning in for your installer, look at the keys and constants in >>> for what you can pass to >>> LSSetItemAttribute() in LaunchServices. >> >>

Re: More - Safari Download Security Alerts

2008-12-16 Thread Dave
On 16 Dec 2008, at 17:17, Geoff Beier wrote: On Tue, Dec 16, 2008 at 9:25 AM, Dave wrote: This has worked wonderfully since MacOS X 10.3.x. There 10.5.x was released and the above still works BUT, we get 4 or 5 security dialogs. We just want to suppress all but the first. You were gi

Re: More - Safari Download Security Alerts

2008-12-16 Thread Geoff Beier
On Tue, Dec 16, 2008 at 9:25 AM, Dave wrote: > > This has worked wonderfully since MacOS X 10.3.x. > > There 10.5.x was released and the above still works BUT, we get 4 or 5 > security dialogs. > > We just want to suppress all but the first. > You were given this advice last week: On Fri, Dec 12

Re: More - Safari Download Security Alerts

2008-12-16 Thread Matt Gough
On 16 Dec 2008, at 15:25, Dave wrote: In response to this I was advised to use PackageMaker in order to create an Installer, which would in turn suppress the Security dialogs. So I built an installer but I can't get it to install the folder containing file, so far I have only managed to ge

Re: More - Safari Download Security Alerts

2008-12-16 Thread Dave
Hi All, This thread seems have to have wondered about a bit. This is an attempt to simplify what I am trying to achieve. Before 10.5.x we had the following: 1. A .dmg file containing an Installer AppleScript Application (called "Double Click to Install & Launch".app) and a Folder. The

Re: More - Safari Download Security Alerts

2008-12-16 Thread Dave
Hi, On 16 Dec 2008, at 13:17, Kyle Sluder wrote: On Tue, Dec 16, 2008 at 8:02 AM, Dave wrote: It wouldn't really make sense to be able to run it from anywhere other than "/Applications" on the system drive. I'm sorry but I find this hard to believe. What is your application doing that it

Re: More - Safari Download Security Alerts

2008-12-16 Thread Dave
Hi, On 16 Dec 2008, at 13:14, matt.go...@agfa.com wrote: On 16 Dec 2008, at 13:54, Dave wrote: I don't install files into that folder, my application writes files to that location (by default, the user can change it) once installed. From the above document: "It is important to remember th

Re: More - Safari Download Security Alerts

2008-12-16 Thread Kyle Sluder
On Tue, Dec 16, 2008 at 8:02 AM, Dave wrote: > It wouldn't really make sense to be able to run it from anywhere other than > "/Applications" on the system drive. I'm sorry but I find this hard to believe. What is your application doing that it's installation location is relevant to its operation

Re: More - Safari Download Security Alerts

2008-12-16 Thread matt . gough
On 16 Dec 2008, at 13:54, Dave wrote: I don't install files into that folder, my application writes files to that location (by default, the user can change it) once installed. From the above document: "It is important to remember that the user domain (/Users) is intended for files created

Re: More - Safari Download Security Alerts

2008-12-16 Thread Dave
On 16 Dec 2008, at 11:37, Kyle Sluder wrote: On Mon, Dec 15, 2008 at 1:23 PM, Dave wrote: But that isn't the requirement, we just want it installed in "/ Applications" and accessible to all users, that's it! By which do you mean "it's not a requirement that we have thought of?" No, we ha

Re: More - Safari Download Security Alerts

2008-12-16 Thread Dave
Hi, On 16 Dec 2008, at 11:41, Kyle Sluder wrote: On Mon, Dec 15, 2008 at 1:26 PM, Dave wrote: It doesn't write any user specific data within "/Applications", any files it does create and in the current users "home" folder, in a folder for the Application. Your files belong in ~/Library/

Re: More - Safari Download Security Alerts

2008-12-16 Thread Kyle Sluder
On Mon, Dec 15, 2008 at 1:26 PM, Dave wrote: > It doesn't write any user specific data within "/Applications", any files it > does create and in the current users "home" folder, in a folder for the > Application. Your files belong in ~/Library/Application Support/YourSubfolder, not in ~/YourSubfo

Re: More - Safari Download Security Alerts

2008-12-16 Thread Kyle Sluder
On Mon, Dec 15, 2008 at 1:23 PM, Dave wrote: > But that isn't the requirement, we just want it installed in "/Applications" > and accessible to all users, that's it! By which do you mean "it's not a requirement that we have thought of?" See the HIG: http://developer.apple.com/documentation/user

Re: More - Safari Download Security Alerts

2008-12-16 Thread Graham Lee
On 15/12/2008 17:41, "Dave" wrote: > Hi, > > I looked at the Man page below, I can't see anything that says > "udifrez". Is this meant for me? I'm not sure what I am supposed to > do with it. > Hi Dave, on my system (10.5.6): udifrez [options] image Attaches resources (soft

Re: More - Safari Download Security Alerts

2008-12-15 Thread Dave
On 15 Dec 2008, at 18:04, Bill Bumgarner wrote: On Dec 15, 2008, at 8:53 AM, Dave wrote: Why doesn't drag and drop work? AFAIK it does work, but my boss wants to be able to display a "T&C" page etc. and he wants an installer. Also it isn't a straight forward .app file, it's an App file t

Re: More - Safari Download Security Alerts

2008-12-15 Thread Dave
On 15 Dec 2008, at 17:59, Mike Abdullah wrote: On 15 Dec 2008, at 16:53, Dave wrote: On 15 Dec 2008, at 16:31, Bill Bumgarner wrote: On Dec 15, 2008, at 7:29 AM, Dave wrote: I've being experimenting since I wrote the above. My installation consists of a folder that contains an applicati

Re: More - Safari Download Security Alerts

2008-12-15 Thread Jean-Daniel Dupas
Le 15 déc. 08 à 19:04, Bill Bumgarner a écrit : On Dec 15, 2008, at 8:53 AM, Dave wrote: Why doesn't drag and drop work? AFAIK it does work, but my boss wants to be able to display a "T&C" page etc. and he wants an installer. Also it isn't a straight forward .app file, it's an App file t

Re: More - Safari Download Security Alerts

2008-12-15 Thread Bill Bumgarner
On Dec 15, 2008, at 8:53 AM, Dave wrote: Why doesn't drag and drop work? AFAIK it does work, but my boss wants to be able to display a "T&C" page etc. and he wants an installer. Also it isn't a straight forward .app file, it's an App file that is in a folder that also also contains other

Re: More - Safari Download Security Alerts

2008-12-15 Thread Mike Abdullah
On 15 Dec 2008, at 16:53, Dave wrote: On 15 Dec 2008, at 16:31, Bill Bumgarner wrote: On Dec 15, 2008, at 7:29 AM, Dave wrote: 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 "/Applica

Re: More - Safari Download Security Alerts

2008-12-15 Thread Philippe Devallois
On 15 déc. 08, at 18:41, Dave wrote: Hi, I looked at the Man page below, I can't see anything that says "udifrez". Is this meant for me? I'm not sure what I am supposed to do with it. All the Best Dave http://developer.apple.com/DOCUMENTATION/Darwin/Reference/ManPages/man1/hdiutil.1.htm

Re: More - Safari Download Security Alerts

2008-12-15 Thread Dave
Hi, I looked at the Man page below, I can't see anything that says "udifrez". Is this meant for me? I'm not sure what I am supposed to do with it. All the Best Dave On 15 Dec 2008, at 17:14, Graham Lee wrote: On 15/12/2008 17:06, "Devon Ferns" wrote: This is OT for the Cocoa list now,

Re: More - Safari Download Security Alerts

2008-12-15 Thread Graham Lee
On 15/12/2008 17:06, "Devon Ferns" wrote: > This is OT for the Cocoa list now, but you can set an EULA to be > displayed when mounting a dmg. I don't know how since I've never cared > to check but many apps do it so it's possible. > x-man-page://1/hdiutil Particularly the 'udifrez' command. C

Re: More - Safari Download Security Alerts

2008-12-15 Thread Devon Ferns
This is OT for the Cocoa list now, but you can set an EULA to be displayed when mounting a dmg. I don't know how since I've never cared to check but many apps do it so it's possible. You could just have the user drag the whole folder to the installation directory with an EULA being displayed

Re: More - Safari Download Security Alerts

2008-12-15 Thread Dave
On 15 Dec 2008, at 16:31, Bill Bumgarner wrote: On Dec 15, 2008, at 7:29 AM, Dave wrote: 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

Re: More - Safari Download Security Alerts

2008-12-15 Thread Bill Bumgarner
On Dec 15, 2008, at 7:29 AM, Dave wrote: 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 "/

Re: More - Safari Download Security Alerts

2008-12-15 Thread Dave
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

Re: More - Safari Download Security Alerts

2008-12-12 Thread Jim Puls
On Dec 12, 2008, at 4:25 AM, 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 ca

Re: More - Safari Download Security Alerts

2008-12-12 Thread Mike Abdullah
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.

Re: More - Safari Download Security Alerts

2008-12-12 Thread Kyle Sluder
On Fri, Dec 12, 2008 at 6:25 AM, Dave wrote: > Can I disable all but the warning when the disk image is opened? You're asking to disable a critical security feature. Note that on Internet-enabled DMGs containing a single .app, Safari will automatically extract the application and throw away the

More - Safari Download Security Alerts

2008-12-12 Thread Dave
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, (

Re: Safari Download Security Alerts

2008-12-11 Thread Peter Blazejewicz
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,

Re: Safari Download Security Alerts

2008-12-11 Thread Dave
Hi , I did that already! I 99% suspected this would be the answer but had to make the effort to find out. Thanks a lot, All the Best Dave On 11 Dec 2008, at 12:08, Jeremy Pereira wrote: On 11 Dec 2008, at 10:53, Dave wrote: Hi All, I have an application that is downloaded from the web

Re: Safari Download Security Alerts

2008-12-11 Thread Jeremy Pereira
On 11 Dec 2008, at 10:53, 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 l

Re: Safari Download Security Alerts

2008-12-11 Thread Andrew Farmer
On 11 Dec 08, at 02:53, Dave wrote: 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 want

Re: Safari Download Security Alerts

2008-12-11 Thread rajesh
As far as I know, even the "Apple" supplied applications prompts user and annoy him with the warning It's more of a security check from OS end. Would be great to know if it can be bypassed... On Dec 11, 2008, at 11:53 AM, Dave wrote: Hi All, I have an application that is downloade

Safari Download Security Alerts

2008-12-11 Thread Dave
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