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 Recommendations, however, if you drill down into the  
hierarchy of file, you see see that inside the .app bundle, the  
contents are still set to the local settings. If you Select All and  
do it, it correctly changes them to root/admin.


If you then build and run an installer, it creates:

/Application/AppFolder/AppFolder/myApp.app!

If you then remove the Destination field from the Folder (not the  
container) e.g. set it blank, then all works as expected!


So it looks like it does do the sensible thing. e.g. If the  
Destination Field is blank on an item in the Container, then it  
defaults to the Destination of the Container.


All the Best
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 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 support for it.


Seems crazy that you can't do this one simple thing with it, in  
every other installer I've ever used this would have been a 5  
min job, 2 days later using PackageMaker and still nothing. Oh  
well, such is life.


It would be crazy if it were true, but it's not.

I've just created a simple package maker project that installs to  
a sub directory of /Applications and it works absolutely fine.


Here's how I did it.

I created a directory in my home folder that mirrored the way I  
want the final installation to look i.e.


/Users/jeremyp/
-   /Applications
-   /ASubDir

I put the distribution application in ASubDir, so I have this  
directory structure:


/Users/jeremyp/
-   Applications/
-   ASubDir/
-   MyApp.app

In package maker, I added /Users/jeremyp/Applications as content.  
On the right hand pane


Install was /Users/jeremyp/Applications
Destination was /Applications (I had to change this from /)

After running the installer with the built package, I had a  
subdirectory within /Applications called ASubDir containing my  
application exactly as expected.




Please see my last post. Did you set the Destination on the  
Contained and the Folder within it?


I'm not quite sure what you mean.  It seems to me that what  
actually happens is that PM takes everything *in* the folder you  
specify in the Install field and copies it *into* the location in  
the destination field.


I think the reason it's like this and the destination field  
defaults to / is that a common use-case of PM is you want to  
install lots of components in different places e.g. an application  
in /Applications and a driver in /System/Library/Extensions.


It doesn't seem to work unless you do this. To me this seems odd,  
if left empty surely better behavior would be to use the  
Containing Item's Destination rather than / ? If you wanted it  
to go into /, you could just override by entering / in the  
folder Destination.


Also did you try it with files other than just the .app file? e.g.  
the .app file and (say) a .txt file.


Yes.  In fact, I just tried it with an empty directory in my  
package and the empty directory was created successfully. I had  
this structure:


$HOME/testpm/Applications/
subdir/
hosts (copied frome /etc/hosts)
emptydir/

I added $HOME/Applications as the content.  The install field was  
$HOME/Applications, the destination was /Applications


The subdir structure was created faithfully in /Applications  
including the emptydir.


Incidentally, this method preserved the folder icon I set for the  
subdir directory.





All the Best
Dave












___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 d...@looktowindward.com 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 of all mounted volumes
(including iPod's!). I can't seem to find a way to get rid of this, I
just want it be be installed in /Applications on the System Volume
and nowhere else. This is much more of a problem.


You can use a VolumeCheck script as described in the Apple developer
documentation for installer packages to restrict which volumes the  
package

can be installed to.



I did a search of the whole of ADC for Volume Check Script and only  
found one reference which just mentions it. It doesn't show you how  
to set up and I can' t even find anything that tell what kind of a  
Script it is I have to write (if indeed I have to write one at all!)  
- AppleScript, ShellScript or what???


If I were to be able to write one have have it do a Volume Check  
would the button still be displayed? If so and I clicked it what  
would show up? An empty list or a list with just the System Volume in  
it? All I really want it for the Change Install Location button to  
be disabled or better still to be hidden altogether.



In general, you'll have more luck with installer questions in
installer-...@lists.apple.com.


That's just not true at the moment anyway, there has been no activity  
on that list for over 24 hours.


All the Best
Dave


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 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 support for it.


Seems crazy that you can't do this one simple thing with it, in  
every other installer I've ever used this would have been a 5 min  
job, 2 days later using PackageMaker and still nothing. Oh well,  
such is life.


It would be crazy if it were true, but it's not.

I've just created a simple package maker project that installs to a  
sub directory of /Applications and it works absolutely fine.


Here's how I did it.

I created a directory in my home folder that mirrored the way I  
want the final installation to look i.e.


/Users/jeremyp/
-   /Applications
-   /ASubDir

I put the distribution application in ASubDir, so I have this  
directory structure:


/Users/jeremyp/
-   Applications/
-   ASubDir/
-   MyApp.app

In package maker, I added /Users/jeremyp/Applications as content.  
On the right hand pane


Install was /Users/jeremyp/Applications
Destination was /Applications (I had to change this from /)

After running the installer with the built package, I had a  
subdirectory within /Applications called ASubDir containing my  
application exactly as expected.




Please see my last post. Did you set the Destination on the  
Contained and the Folder within it?


I'm not quite sure what you mean.  It seems to me that what actually  
happens is that PM takes everything *in* the folder you specify in the  
Install field and copies it *into* the location in the destination  
field.


I think the reason it's like this and the destination field defaults  
to / is that a common use-case of PM is you want to install lots of  
components in different places e.g. an application in /Applications  
and a driver in /System/Library/Extensions.


It doesn't seem to work unless you do this. To me this seems odd, if  
left empty surely better behavior would be to use the Containing  
Item's Destination rather than / ? If you wanted it to go into  
/, you could just override by entering / in the folder  
Destination.


Also did you try it with files other than just the .app file? e.g.  
the .app file and (say) a .txt file.


Yes.  In fact, I just tried it with an empty directory in my package  
and the empty directory was created successfully. I had this structure:


$HOME/testpm/Applications/
subdir/
hosts (copied frome /etc/hosts)
emptydir/

I added $HOME/Applications as the content.  The install field was  
$HOME/Applications, the destination was /Applications


The subdir structure was created faithfully in /Applications including  
the emptydir.


Incidentally, this method preserved the folder icon I set for the  
subdir directory.





All the Best
Dave









___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 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 support for it.


Seems crazy that you can't do this one simple thing with it, in  
every other installer I've ever used this would have been a 5  
min job, 2 days later using PackageMaker and still nothing. Oh  
well, such is life.


It would be crazy if it were true, but it's not.

I've just created a simple package maker project that installs to  
a sub directory of /Applications and it works absolutely fine.


Here's how I did it.

I created a directory in my home folder that mirrored the way I  
want the final installation to look i.e.


/Users/jeremyp/
-   /Applications
-   /ASubDir

I put the distribution application in ASubDir, so I have this  
directory structure:


/Users/jeremyp/
-   Applications/
-   ASubDir/
-   MyApp.app

In package maker, I added /Users/jeremyp/Applications as content.  
On the right hand pane


Install was /Users/jeremyp/Applications
Destination was /Applications (I had to change this from /)

After running the installer with the built package, I had a  
subdirectory within /Applications called ASubDir containing my  
application exactly as expected.




Please see my last post. Did you set the Destination on the  
Contained and the Folder within it?


I'm not quite sure what you mean.  It seems to me that what  
actually happens is that PM takes everything *in* the folder you  
specify in the Install field and copies it *into* the location in  
the destination field.


I think the reason it's like this and the destination field  
defaults to / is that a common use-case of PM is you want to  
install lots of components in different places e.g. an application  
in /Applications and a driver in /System/Library/Extensions.


In the lower section of the left hand pane in PM, when you drag the  
folder to it, it creates a container, then inside that container  
(click on the disclose triangle) it show the folder and the files in  
it. It you click the container, it will show a Destination Field,  
just setting this field alone does nothing AFAICT, if you then click  
the folder it will show the contents pane, in here you have another  
Destination field, if you leave that blank, the it defaults to /. I  
can't see the point of having the destination field in the content  
item since you have to specify it for the folder anyway.




It doesn't seem to work unless you do this. To me this seems odd,  
if left empty surely better behavior would be to use the  
Containing Item's Destination rather than / ? If you wanted it  
to go into /, you could just override by entering / in the  
folder Destination.


Also did you try it with files other than just the .app file? e.g.  
the .app file and (say) a .txt file.


Yes.  In fact, I just tried it with an empty directory in my  
package and the empty directory was created successfully. I had  
this structure:


$HOME/testpm/Applications/
subdir/
hosts (copied frome /etc/hosts)
emptydir/

I added $HOME/Applications as the content.  The install field was  
$HOME/Applications, the destination was /Applications


The subdir structure was created faithfully in /Applications  
including the emptydir.


Incidentally, this method preserved the folder icon I set for the  
subdir directory.


You are right it does install empty folders which is good. The  
problem is that it doesn't install empty folders that are within  
the .app bundle (I should have said this), e.g. I have an empty  
folder: myApp.app/Contents/MacOS/Runtime/PlugIns (it just contains  
a .ds_store file). This does not get created when the installer is  
run. It's no big deal, just means that I will have to check if it  
exists in my app and create it if not. I don't want to do this now,  
since it will mean I'd have to re-submit the app to QA and we don't  
have the time right now.


Whatever I try I cannot get it to create the custom Icon, again no  
big deal.


Incidentally,  I have now updated the AppleScript Installer to remove  
the quarantine flags using xattr, this works well too.


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 user has opened the  
package and clicked a few buttons, it's going to be about a minute  
using PM I reckon, not a lot in it, but the AS version just flow  
better IMO.


Thanks a 

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 the latest and installed  
it, so I now have PM 3.0.3. Using this version I was able to re- 
create your experience!


--

Anyway, these problems went away with 3.0.3. I now have four  
remaining problems:


1.  The folder I drag into the PM window has a custom icon on it.  
This does not get copied correctly, when installed it is just a  
plain folder. I am guessing it's because the Icon hidden file it's  
copied over or re-created correctly. No big deal.


If you set /Application/AppFolder as destination, the AppFolder is  
created by the installer, and so, the Custom Icon Finder flag will not  
be set on it.




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 of all mounted volumes  
(including iPod's!). I can't seem to find a way to get rid of this,  
I just want it be be installed in /Applications on the System  
Volume and nowhere else. This is much more of a problem.




In the Distribution settings, there is a System Volume check box and  
a Volume Selected by user check box.


3.  Empty folders do not seem to be installed and I can't seem to  
find a way to enable the installation of empty folders. This a  
significant problem too.


4.  .DS_Store files are included in the install package unless you  
un-check them. No Big Deal.


I think the .DS_Stores files are filtered at build time (using the  
File Filters… settings).



Well at least I have something to show now!

Thanks again to all that helped.

All the Best
Dave

On 17 Dec 2008, at 11:49, Matt Gough wrote:



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 there doesn't  
seem to be any support for it.


Seems crazy that you can't do this one simple thing with it, in  
every other installer I've ever used this would have been a 5 min  
job, 2 days later using PackageMaker and still nothing. Oh well,  
such is life.


Dave, After 5 minutes in PackageMaker (having never used it before  
and not having read any instructions) I was perfectly able to  
install an app and other files within a Sub-folder of /Applications


This is with PM 3.0.3:

Assuming your folder with app and files is MyApp (and that it isn't  
already in /Applications):


1. Create a new Package.
2. Drop MyApp into the Contents section of the package
3. In Configuration  Destination enter /Applications/MyApp
4. If you always want to ensure the actual app ends up in that  
folder and does not update an existing installation elsewhere on  
the disk:

4a. In Components, turn off the Allow Relocation checkbox
5. Build and Run

That's it

My guess is that for Step 3, you just had /Applications. That's  
what I had the first time I tried it and everything did indeed get  
put directly in /Applications.


Hope that helps


Matt Gough


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 work and there doesn't  
seem to be any support for it.


Seems crazy that you can't do this one simple thing with it, in  
every other installer I've ever used this would have been a 5 min  
job, 2 days later using PackageMaker and still nothing. Oh well,  
such is life.


It would be crazy if it were true, but it's not.

I've just created a simple package maker project that installs to a  
sub directory of /Applications and it works absolutely fine.


Here's how I did it.

I created a directory in my home folder that mirrored the way I want  
the final installation to look i.e.


/Users/jeremyp/
-   /Applications
-   /ASubDir

I put the distribution application in ASubDir, so I have this  
directory structure:


/Users/jeremyp/
-   Applications/
-   ASubDir/
-   MyApp.app

In package maker, I added /Users/jeremyp/Applications as content. On  
the right hand pane


Install was /Users/jeremyp/Applications
Destination was /Applications (I had to change this from /)

After running the installer with the built package, I had a  
subdirectory within /Applications called ASubDir containing my  
application exactly as expected.







I will go back to using the AppleScript's and try using the xattr  
trick.


Thanks Again,
All the Best
Dave

On 17 Dec 2008, at 01:18, Mark Allan wrote:


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 much  
easier to work with than the current version.  You can download  
Xcode 2.5 DevTools from the ADC website and then opt to install it  
in a different directory from the current Dev Tools.  You won't be  
able to make use of 10.5 specific things like flat packages and  
signed packages etc. but if you're also targeting previous versions  
of OS X, then that's maybe not an issue anyway.


Mark




___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/adc%40jeremyp.net

This email sent to a...@jeremyp.net


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 version and  
offer to update itself. Anyway I downloaded the latest and  
installed it, so I now have PM 3.0.3. Using this version I was  
able to re-create your experience!


--

Anyway, these problems went away with 3.0.3. I now have four  
remaining problems:


1.  The folder I drag into the PM window has a custom icon on it.  
This does not get copied correctly, when installed it is just a  
plain folder. I am guessing it's because the Icon hidden file it's  
copied over or re-created correctly. No big deal.


If you set /Application/AppFolder as destination, the AppFolder is  
created by the installer, and so, the Custom Icon Finder flag will  
not be set on it.




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 of all mounted  
volumes (including iPod's!). I can't seem to find a way to get rid  
of this, I just want it be be installed in /Applications on the  
System Volume and nowhere else. This is much more of a problem.




In the Distribution settings, there is a System Volume check box  
and a Volume Selected by user check box.


Yes, I have this set on, but it still displays the button. I have:

Easy Install Only
Volume Selected by User Off
System volume   On
User Home Directory Off



3.  Empty folders do not seem to be installed and I can't seem to  
find a way to enable the installation of empty folders. This a  
significant problem too.


4.  .DS_Store files are included in the install package unless you  
un-check them. No Big Deal.


I think the .DS_Stores files are filtered at build time (using the  
File Filters… settings).


Ok, thanks, there was a check-box on version 2, I was looking for it  
on version 3, looks like it's gone to the great bit-bucket in the sky.


I have posted at the installer list, but no replies, in fact apart  
from my messages, there has only been one other message posted in  
over 24 hours! More of a ghost-list!


All the Best
Dave


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 have PM 3.0.3. Using this version I was able to re- 
create your experience!


AFAICT, there were at least three problems using 3.0.2 that caused  
confusion:


1.  After dragging the folder containing the files to the PM Window  
and then selecting /Applcations/AppFolder/ as the destination of  
the of the Container *and* the Folder within and saving the project,  
the folder Destination value is NOT saved. If close and re-load the  
project it the Destination field of AppFolder is empty!


2. The Permissions were not set incorrectly, e.g. the values in the  
Contents Tab were not stored.


3.  Empty Folders are not installed/created, this masked the problems  
in point 1 above.


--

Anyway, these problems went away with 3.0.3. I now have four  
remaining problems:


1.  The folder I drag into the PM window has a custom icon on it.  
This does not get copied correctly, when installed it is just a plain  
folder. I am guessing it's because the Icon hidden file it's copied  
over or re-created correctly. No big deal.


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 of all mounted volumes  
(including iPod's!). I can't seem to find a way to get rid of this, I  
just want it be be installed in /Applications on the System Volume  
and nowhere else. This is much more of a problem.


3.  Empty folders do not seem to be installed and I can't seem to  
find a way to enable the installation of empty folders. This a  
significant problem too.


4.  .DS_Store files are included in the install package unless you un- 
check them. No Big Deal.


Well at least I have something to show now!

Thanks again to all that helped.

All the Best
Dave

On 17 Dec 2008, at 11:49, Matt Gough wrote:



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 there doesn't  
seem to be any support for it.


Seems crazy that you can't do this one simple thing with it, in  
every other installer I've ever used this would have been a 5 min  
job, 2 days later using PackageMaker and still nothing. Oh well,  
such is life.


Dave, After 5 minutes in PackageMaker (having never used it before  
and not having read any instructions) I was perfectly able to  
install an app and other files within a Sub-folder of /Applications


This is with PM 3.0.3:

Assuming your folder with app and files is MyApp (and that it isn't  
already in /Applications):


1. Create a new Package.
2. Drop MyApp into the Contents section of the package
3. In Configuration  Destination enter /Applications/MyApp
4. If you always want to ensure the actual app ends up in that  
folder and does not update an existing installation elsewhere on  
the disk:

4a. In Components, turn off the Allow Relocation checkbox
5. Build and Run

That's it

My guess is that for Step 3, you just had /Applications. That's  
what I had the first time I tried it and everything did indeed get  
put directly in /Applications.


Hope that helps


Matt Gough



___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: More - Safari Download Security Alerts

2008-12-17 Thread Kyle Sluder
On Wed, Dec 17, 2008 at 1:18 PM, Dave d...@looktowindward.com 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 user has opened the package and clicked a few buttons, it's
 going to be about a minute using PM I reckon, not a lot in it, but the AS
 version just flow better IMO.

One of the best things about the Mac platform is that developers
typically care enough about their users to invest the time in making
decisions on their behalf in order to improve the user experience.
Windows developers, and Linux developers in particular, seem petrified
of making decisions, instead opting to make everything configurable.
I call this Gentoo syndrome because Gentoo is the Linux distro I
think is most plagued by this problem.

In other words, don't be afraid to decide.  As a sysadmin, by not
providing an Installer package, I can't incorporate your software into
a NetInstall image.  This means I won't install your software.  Now
that you have an Installer package, there's little reason to keep the
AppleScript version around.  Don't be afraid to make that decision.

--Kyle Sluder
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 support for it.


Seems crazy that you can't do this one simple thing with it, in every  
other installer I've ever used this would have been a 5 min job, 2  
days later using PackageMaker and still nothing. Oh well, such is life.


I will go back to using the AppleScript's and try using the xattr  
trick.


Thanks Again,
All the Best
Dave

On 17 Dec 2008, at 01:18, Mark Allan wrote:


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 much  
easier to work with than the current version.  You can download  
Xcode 2.5 DevTools from the ADC website and then opt to install it  
in a different directory from the current Dev Tools.  You won't be  
able to make use of 10.5 specific things like flat packages and  
signed packages etc. but if you're also targeting previous versions  
of OS X, then that's maybe not an issue anyway.


Mark




___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 there doesn't  
seem to be any support for it.


Seems crazy that you can't do this one simple thing with it, in  
every other installer I've ever used this would have been a 5 min  
job, 2 days later using PackageMaker and still nothing. Oh well,  
such is life.


Dave, After 5 minutes in PackageMaker (having never used it before and  
not having read any instructions) I was perfectly able to install an  
app and other files within a Sub-folder of /Applications


This is with PM 3.0.3:

Assuming your folder with app and files is MyApp (and that it isn't  
already in /Applications):


1. Create a new Package.
2. Drop MyApp into the Contents section of the package
3. In Configuration  Destination enter /Applications/MyApp
4. If you always want to ensure the actual app ends up in that folder  
and does not update an existing installation elsewhere on the disk:

4a. In Components, turn off the Allow Relocation checkbox
5. Build and Run

That's it

My guess is that for Step 3, you just had /Applications. That's what I  
had the first time I tried it and everything did indeed get put  
directly in /Applications.


Hope that helps


Matt Gough
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: More - Safari Download Security Alerts

2008-12-17 Thread Graham Lee
Hi Dave,

On 17/12/2008 15:19, Dave d...@looktowindward.com 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 of all mounted volumes
 (including iPod's!). I can't seem to find a way to get rid of this, I
 just want it be be installed in /Applications on the System Volume
 and nowhere else. This is much more of a problem.

You can use a VolumeCheck script as described in the Apple developer
documentation for installer packages to restrict which volumes the package
can be installed to.

In general, you'll have more luck with installer questions in
installer-...@lists.apple.com.

Cheers,
Graham.
--
Graham Lee
Senior Macintosh Software Engineer, Sophos Plc.
+44 1235 540266
http://www.sophos.com/

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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. I'm  
giving up on PackageMaker, it just doesn't work and there doesn't  
seem to be any support for it.


Seems crazy that you can't do this one simple thing with it, in  
every other installer I've ever used this would have been a 5 min  
job, 2 days later using PackageMaker and still nothing. Oh well,  
such is life.


It would be crazy if it were true, but it's not.

I've just created a simple package maker project that installs to a  
sub directory of /Applications and it works absolutely fine.


Here's how I did it.

I created a directory in my home folder that mirrored the way I  
want the final installation to look i.e.


/Users/jeremyp/
-   /Applications
-   /ASubDir

I put the distribution application in ASubDir, so I have this  
directory structure:


/Users/jeremyp/
-   Applications/
-   ASubDir/
-   MyApp.app

In package maker, I added /Users/jeremyp/Applications as content.  
On the right hand pane


Install was /Users/jeremyp/Applications
Destination was /Applications (I had to change this from /)

After running the installer with the built package, I had a  
subdirectory within /Applications called ASubDir containing my  
application exactly as expected.




Please see my last post. Did you set the Destination on the Contained  
and the Folder within it? It doesn't seem to work unless you do this.  
To me this seems odd, if left empty surely better behavior would be  
to use the Containing Item's Destination rather than / ? If you  
wanted it to go into /, you could just override by entering / in  
the folder Destination.


Also did you try it with files other than just the .app file? e.g.  
the .app file and (say) a .txt file.


All the Best
Dave







___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 d...@looktowindward.com 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 user has opened the package and clicked a few  
buttons, it's
going to be about a minute using PM I reckon, not a lot in it, but  
the AS

version just flow better IMO.


One of the best things about the Mac platform is that developers
typically care enough about their users to invest the time in making
decisions on their behalf in order to improve the user experience.
Windows developers, and Linux developers in particular, seem petrified
of making decisions, instead opting to make everything configurable.
I call this Gentoo syndrome because Gentoo is the Linux distro I
think is most plagued by this problem.


Not sure what you mean, I don't on Linux, just Mac and Windoze.



In other words, don't be afraid to decide.  As a sysadmin, by not
providing an Installer package, I can't incorporate your software into
a NetInstall image.  This means I won't install your software.  Now
that you have an Installer package, there's little reason to keep the
AppleScript version around.  Don't be afraid to make that decision.

--Kyle Sluder



Hi Kyle,

I have provided a installer package as well as making the AppleScript  
version work. It's not my decision to make which one is finally used,  
I'll do whatever the powers that be decide they want.


You probably wouldn't want this software as a Net Install anyway, I  
wish I could say more as to why, but I can't.


One of the things (for me as a developer) that makes me rather have  
the AppleScript version, is that I have automated the AppleScript and  
image file generation. Unfortunately I don't think I'd be able to do  
the same with PackageMaker. Also if I do an update of the base  
software (the components that are installed) PackageMaker doesn't  
seem to notice this. For instance, I make a .pkg file, then added a  
folder to the input files, when I re-opened the project, the new  
folder (and it's contents) were not visible in the PM content pane. I  
will look into this more tomorrow, I'm done for the day now after 13  
hours!


Thanks for your help, it is really appreciated.
All the Best
Dave


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 it would auto-magically detect a new version and  
offer to update itself. Anyway I downloaded the latest and  
installed it, so I now have PM 3.0.3. Using this version I was  
able to re-create your experience!


--

Anyway, these problems went away with 3.0.3. I now have four  
remaining problems:


1.  The folder I drag into the PM window has a custom icon on it.  
This does not get copied correctly, when installed it is just a  
plain folder. I am guessing it's because the Icon hidden file it's  
copied over or re-created correctly. No big deal.


If you set /Application/AppFolder as destination, the AppFolder is  
created by the installer, and so, the Custom Icon Finder flag will  
not be set on it.




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 of all mounted  
volumes (including iPod's!). I can't seem to find a way to get rid  
of this, I just want it be be installed in /Applications on the  
System Volume and nowhere else. This is much more of a problem.




In the Distribution settings, there is a System Volume check box  
and a Volume Selected by user check box.


Yes, I have this set on, but it still displays the button. I have:

Easy Install Only
Volume Selected by User Off
System volume   On
User Home Directory Off



3.  Empty folders do not seem to be installed and I can't seem to  
find a way to enable the installation of empty folders. This a  
significant problem too.


4.  .DS_Store files are included in the install package unless you  
un-check them. No Big Deal.


I think the .DS_Stores files are filtered at build time (using the  
File Filters… settings).


Ok, thanks, there was a check-box on version 2, I was looking for it  
on version 3, looks like it's gone to the great bit-bucket in the sky.




No it is at the bottom of the file list.

I have posted at the installer list, but no replies, in fact apart  
from my messages, there has only been one other message posted in  
over 24 hours! More of a ghost-list!


All the Best
Dave





___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 get it to  
install the myApp.app file.


So, my question is:

Is it possible to create an installer with package maker that does  
the same as the AppleScript, e.g. installs a folder in / 
Applications (or anywhere for that matter).


I am sure it is, but Cocoa-dev is not the best place to ask.

http://lists.apple.com/mailman/listinfo/installer-dev

seems more appropriate and more likely to solve your problem.

Good luck

Matt
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 that the user domain (/Users) is  
intended for files created by the user. With the exception of the  
~/Library directory, your application should never ***install***  
files into the user’s home directory. In particular, you should  
never install files into a user’s Documents directory or into the / 
Users/Shared directory. These directories should only be modified  
by the user.


They keyword here is ***install***.



OK, so if these files are really your apps 'documents' (ie the user- 
driven output of your app) then they should probably go into ~/ 
Documents/MyApp instead of ~/MyApp by default. If they are just  
settings/caches/other things then they belong somewhere in  ~/ 
Library. It is very uncommon for applications to write directly  
into ~/ on the Mac. (Looking on my own home folder, on a machine  
with multiple 3rd Party products in use for 2 years there are no  
(zero, zilch) non-standard folders/files that have been created by  
anything. By all means allow the user to define the default location.


Sorry, yes it does store them in the user's Documents/myApp Folder,  
not directly in the User's Home folder. I didn't take much care in  
writing that since it really didn't help to solve my problem. I was  
just pointing out that there were not stored in the User section, not  
the System Section.


Please note that the replies you got on this list may seem a bit  
snobby (Don't put that there, don't do that, why do you want  
to do that etc) if you are coming from another platform. Please  
understand that these are only intended as suggestions to help your  
app feel familiar to Mac users (i.e your potential customers). If  
you deviate too much from what they expect just to fit in with the  
way you do things on other platforms (which these customers have  
probably never used) then you will just confuse/frustrate them.


That's ok, I understand that people are trying to help and I am  
grateful for the discussion, if I do have anything non MacOS X (I  
don't think I do though) I will change it.


The thing is that none of this solves my problem! It really doesn't  
matter a fig if the app is installed /Applications, or on a USB  
stick or wherever (apart from (maybe) not being 100% MacOSX - that  
can be changed later if deemed necessary). I want it to be able to  
install a folder containing the app and some other files *somewhere*.  
Whether that *somewhere* is the right place or not is another issue  
and one that can be dealt with after I have got this application  
shipped for evaluation by my boss and others. They really don't care  
if the files are in the right place or not they just want it see the  
installer working on 10.5.x.


Thanks a lot for your help
All the Best
Dave


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 d...@looktowindward.com 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 ~/YourSubfolder.  See the section of the File System Overview
document entitled Don't Pollute User Space:
http://developer.apple.com/documentation/MacOSX/Conceptual/ 
BPFileSystem/Articles/WhereToPutFiles.html#//apple_ref/doc/uid/ 
TP40001411-111946


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 by the user. With the exception of the ~/ 
Library directory, your application should never ***install*** files  
into the user’s home directory. In particular, you should never  
install files into a user’s Documents directory or into the /Users/ 
Shared directory. These directories should only be modified by the  
user.


They keyword here is ***install***.


Only admin's are required to install the App.


Just because only admins need to install it doesn't imply that they
don't want to run it from elsewhere.


They can run the app from elsewhere, just not install it. This is the  
way we want it to work for a number of reasons far too long to go  
into now.



--Kyle Sluder


All the Best
Dave


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 d...@looktowindward.com 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 have thought of it and the best/only way to use this app is to  
have it installed in /Applications by an administrator and to be  
able to run it from any user.


See the HIG: http://developer.apple.com/documentation/ 
userexperience/Conceptual/AppleHIGuidelines/ 
XHIGInstallationsUpdates/chapter_10_section_3.html#//apple_ref/doc/ 
uid/TP40002722-CJACABIA


I couldn't find the page you mention above.


In other words, the default case is for applications to be able to run
from /Applications, ~/Applications, /Network/Applications, or even
/TheDepthsOfSpace.  If your app has no functionality that mandates it
run /Applications, then I should be able to put it on my USB Mass
Storage candy-cane and run it from there.


It wouldn't really make sense to be able to run it from anywhere  
other than /Applications on the system drive.


All the Best
Dave


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 by the user. With the exception of the ~/ 
Library directory, your application should never ***install*** files  
into the user’s home directory. In particular, you should never  
install files into a user’s Documents directory or into the /Users/ 
Shared directory. These directories should only be modified by the  
user.


They keyword here is ***install***.



OK, so if these files are really your apps 'documents' (ie the user- 
driven output of your app) then they should probably go into ~/ 
Documents/MyApp instead of ~/MyApp by default. If they are just  
settings/caches/other things then they belong somewhere in  ~/Library.  
It is very uncommon for applications to write directly into ~/ on the  
Mac. (Looking on my own home folder, on a machine with multiple 3rd  
Party products in use for 2 years there are no (zero, zilch) non- 
standard folders/files that have been created by anything. By all  
means allow the user to define the default location.


Please note that the replies you got on this list may seem a bit  
snobby (Don't put that there, don't do that, why do you want to  
do that etc) if you are coming from another platform. Please  
understand that these are only intended as suggestions to help your  
app feel familiar to Mac users (i.e your potential customers). If you  
deviate too much from what they expect just to fit in with the way you  
do things on other platforms (which these customers have probably  
never used) then you will just confuse/frustrate them.


Matt Gough___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: More - Safari Download Security Alerts

2008-12-16 Thread Kyle Sluder
On Tue, Dec 16, 2008 at 8:02 AM, Dave d...@looktowindward.com 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?

--Kyle Sluder
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: More - Safari Download Security Alerts

2008-12-16 Thread Geoff Beier
On Tue, Dec 16, 2008 at 9:25 AM, Dave d...@looktowindward.com 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, 2008 at 2:28 PM, Jim Puls j...@nondifferentiable.com wrote:
 Mike is right - don't roll your own installer - but for the record, if 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
 LaunchServices/LSQuarantine.h for what you can pass to
 LSSetItemAttribute() in LaunchServices.

I think it should work if you don't feel like PackageMaker works for
you. Did you try it? Did it work?

Geoff
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 d...@looktowindward.com 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:


Yes, I know and I took it! Caused more problems, please see all of  
the email you are copying from.



On Fri, Dec 12, 2008 at 2:28 PM, Jim Puls  
j...@nondifferentiable.com wrote:
Mike is right - don't roll your own installer - but for the  
record, if 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
LaunchServices/LSQuarantine.h for what you can pass to
LSSetItemAttribute() in LaunchServices.


I think it should work if you don't feel like PackageMaker works for
you. Did you try it? Did it work?


From the same email the above is from:


 We just want to suppress all but the first.

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 get it to  
install the myApp.app file.


So, my question is:

Is it possible to create an installer with package maker that does  
the same as the AppleScript, e.g. installs a folder in / 
Applications (or anywhere for that matter).


All the Best
Dave



___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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
 LaunchServices/LSQuarantine.h for what you can pass to
 LSSetItemAttribute() in LaunchServices.

 I think it should work if you don't feel like PackageMaker works for
 you. Did you try it? Did it work?


Did you try calling LSSetItemAttribute() on your cleanup bundle and on
your real application? (or shelling out to xattr if that's easier from
the context of your installer?) Did it fix your warnings? What
problems did it cause you? All I saw in your follow-up was discussion
about packagemaker. Did I miss where you talked about trying the
LaunchServices calls?

Regards,

Geoff
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 d...@looktowindward.com 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?


I can't explain fully because it's propriety and I really don't have  
the time! Basically it can be launched by other applications and we  
need to ensure as much as possible that it is available to be  
launched. If it's on a volume other than the System volume then there  
is less chance that it will be available. There is more to it than  
that, but I can't say much more for the above reasons.


All the Best
Dave
 


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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
LaunchServices/LSQuarantine.h for what you can pass to
LSSetItemAttribute() in LaunchServices.


I think it should work if you don't feel like PackageMaker works for
you. Did you try it? Did it work?




Did you try calling LSSetItemAttribute() on your cleanup bundle and on
your real application? (or shelling out to xattr if that's easier from
the context of your installer?) Did it fix your warnings? What
problems did it cause you? All I saw in your follow-up was discussion
about packagemaker. Did I miss where you talked about trying the
LaunchServices calls?


Sorry, I misunderstood. I haven't used any LaunchServices calls, it  
wouldn't really work anyway, since I'd get still get 2 or 3 security  
dialogs and I just want one (or none).


1.  Download .dmg file.
2.  Mount the Image (Security Dialog).
3.  Launch the Installer AppleScript (Security Dialog).
4.  Launch the CleanUp AppleScript Security Dialog).
5.  Launch the Real App, (Security Dialog after doing the  
LaunchServices magic).



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.


All the Best
Dave


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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  
Installer  copies the folder from the image to /Applications on the  
system volume.


2.  Once the folder had been copied, it launches another AppleScript  
App (called CleanUp.app). This ejects the image and launches the  
main application.


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.

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 get it to  
install the myApp.app file.


So, my question is:

Is it possible to create an installer with package maker that does  
the same as the AppleScript, e.g. installs a folder in / 
Applications (or anywhere for that matter).


Thanks a lot
All the Best
Dave


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 installer script (security dialog. no way around this one)
Then the installer:
a. creates your directory
b. copies your cleanup app, real app, etc. to your directory
c. uses either the launch servcies calls (actually xattr probably
makes more sense from an applescript) to clear the quarantine
attributes from the cleanup app and real app
4. cleanup app (no security dialog thanks to the above)
5. real app (ditto)

If that's a good enough workflow to get your demo out the door and buy
you some time to learn packagemaker, clearing those attributes ought
to be an easy addition to your install script.


HTH,

Geoff

On Tue, Dec 16, 2008 at 12:55 PM, Dave d...@looktowindward.com wrote:

 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
 LaunchServices/LSQuarantine.h for what you can pass to
 LSSetItemAttribute() in LaunchServices.

 I think it should work if you don't feel like PackageMaker works for
 you. Did you try it? Did it work?


 Did you try calling LSSetItemAttribute() on your cleanup bundle and on
 your real application? (or shelling out to xattr if that's easier from
 the context of your installer?) Did it fix your warnings? What
 problems did it cause you? All I saw in your follow-up was discussion
 about packagemaker. Did I miss where you talked about trying the
 LaunchServices calls?

 Sorry, I misunderstood. I haven't used any LaunchServices calls, it wouldn't
 really work anyway, since I'd get still get 2 or 3 security dialogs and I
 just want one (or none).

 1.  Download .dmg file.
 2.  Mount the Image (Security Dialog).
 3.  Launch the Installer AppleScript (Security Dialog).
 4.  Launch the CleanUp AppleScript Security Dialog).
 5.  Launch the Real App, (Security Dialog after doing the LaunchServices
 magic).


 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.

 All the Best
 Dave



___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: More - Safari Download Security Alerts

2008-12-16 Thread Kyle Sluder
On Mon, Dec 15, 2008 at 1:26 PM, Dave d...@looktowindward.com 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 ~/YourSubfolder.  See the section of the File System Overview
document entitled Don't Pollute User Space:
http://developer.apple.com/documentation/MacOSX/Conceptual/BPFileSystem/Articles/WhereToPutFiles.html#//apple_ref/doc/uid/TP40001411-111946

 Only admin's are required to install the App.

Just because only admins need to install it doesn't imply that they
don't want to run it from elsewhere.

--Kyle Sluder
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: More - Safari Download Security Alerts

2008-12-16 Thread Graham Lee
On 15/12/2008 17:41, Dave d...@looktowindward.com 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 (software license agreements, for
example)
to a disk image.

Hope that helps,
Graham.

--
Graham Lee
Senior Macintosh Software Engineer, Sophos Plc.
+44 1235 540266
http://www.sophos.com/


Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United 
Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: More - Safari Download Security Alerts

2008-12-16 Thread Kyle Sluder
On Mon, Dec 15, 2008 at 1:23 PM, Dave d...@looktowindward.com 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/userexperience/Conceptual/AppleHIGuidelines/XHIGInstallationsUpdates/chapter_10_section_3.html#//apple_ref/doc/uid/TP40002722-CJACABIA

In other words, the default case is for applications to be able to run
from /Applications, ~/Applications, /Network/Applications, or even
/TheDepthsOfSpace.  If your app has no functionality that mandates it
run /Applications, then I should be able to put it on my USB Mass
Storage candy-cane and run it from there.

--Kyle Sluder
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 need to remove the quarantine status of the file?


One other thing, is xattr guaranteed to be on the user's system? Oh,  
and will this work on Version of MacOS X  10.5 ?


Thanks a lot
All the Best
Dave

On 16 Dec 2008, at 18:23, Geoff Beier wrote:


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 installer script (security dialog. no way around this  
one)

Then the installer:
a. creates your directory
b. copies your cleanup app, real app, etc. to your directory
c. uses either the launch servcies calls (actually xattr probably
makes more sense from an applescript) to clear the quarantine
attributes from the cleanup app and real app
4. cleanup app (no security dialog thanks to the above)
5. real app (ditto)

If that's a good enough workflow to get your demo out the door and buy
you some time to learn packagemaker, clearing those attributes ought
to be an easy addition to your install script.


HTH,

Geoff

On Tue, Dec 16, 2008 at 12:55 PM, Dave d...@looktowindward.com  
wrote:


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
LaunchServices/LSQuarantine.h for what you can pass to
LSSetItemAttribute() in LaunchServices.


I think it should work if you don't feel like PackageMaker  
works for

you. Did you try it? Did it work?




Did you try calling LSSetItemAttribute() on your cleanup bundle  
and on
your real application? (or shelling out to xattr if that's easier  
from

the context of your installer?) Did it fix your warnings? What
problems did it cause you? All I saw in your follow-up was  
discussion

about packagemaker. Did I miss where you talked about trying the
LaunchServices calls?


Sorry, I misunderstood. I haven't used any LaunchServices calls,  
it wouldn't
really work anyway, since I'd get still get 2 or 3 security  
dialogs and I

just want one (or none).

1.  Download .dmg file.
2.  Mount the Image (Security Dialog).
3.  Launch the Installer AppleScript (Security Dialog).
4.  Launch the CleanUp AppleScript Security Dialog).
5.  Launch the Real App, (Security Dialog after doing the  
LaunchServices

magic).


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.

All the Best
Dave






___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 better still, what  
is the command I would need to remove the quarantine status of the  
file?




xattr -d com.apple.quarantine myFile

The problem is that the fact OS X uses an extended attribute to store  
this flag is an implementation details (and may change). That's why  
you should use Launch Services.


One other thing, is xattr guaranteed to be on the user's system? Oh,  
and will this work on Version of MacOS X  10.5 ?


Yes, it's garantee on Mac OS 10.5, and this attribute is not supported  
on previous versions, so you don't have to care (if xattr does not  
exists, just skip this step in your installer).




Thanks a lot
All the Best
Dave

On 16 Dec 2008, at 18:23, Geoff Beier wrote:


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 installer script (security dialog. no way around this  
one)

Then the installer:
a. creates your directory
b. copies your cleanup app, real app, etc. to your directory
c. uses either the launch servcies calls (actually xattr probably
makes more sense from an applescript) to clear the quarantine
attributes from the cleanup app and real app
4. cleanup app (no security dialog thanks to the above)
5. real app (ditto)

If that's a good enough workflow to get your demo out the door and  
buy

you some time to learn packagemaker, clearing those attributes ought
to be an easy addition to your install script.


HTH,

Geoff

On Tue, Dec 16, 2008 at 12:55 PM, Dave d...@looktowindward.com  
wrote:


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
LaunchServices/LSQuarantine.h for what you can pass to
LSSetItemAttribute() in LaunchServices.


I think it should work if you don't feel like PackageMaker  
works for

you. Did you try it? Did it work?




Did you try calling LSSetItemAttribute() on your cleanup bundle  
and on
your real application? (or shelling out to xattr if that's easier  
from

the context of your installer?) Did it fix your warnings? What
problems did it cause you? All I saw in your follow-up was  
discussion

about packagemaker. Did I miss where you talked about trying the
LaunchServices calls?


Sorry, I misunderstood. I haven't used any LaunchServices calls,  
it wouldn't
really work anyway, since I'd get still get 2 or 3 security  
dialogs and I

just want one (or none).

1.  Download .dmg file.
2.  Mount the Image (Security Dialog).
3.  Launch the Installer AppleScript (Security Dialog).
4.  Launch the CleanUp AppleScript Security Dialog).
5.  Launch the Real App, (Security Dialog after doing the  
LaunchServices

magic).


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.

All the Best
Dave






___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/devlists%40shadowlab.org

This email sent to devli...@shadowlab.org



___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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:
 udifrez [options] image
Attaches resources (software license agreements, for  
example)

to a disk image.

That is you invoke it something like this:
hdiutil udifrez options  diskimage

--
Home is not where you are born, but where your heart finds peace -
Tommy Nordgren, The dying old crone
tommy.nordg...@comhem.se


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 much  
easier to work with than the current version.  You can download Xcode  
2.5 DevTools from the ADC website and then opt to install it in a  
different directory from the current Dev Tools.  You won't be able to  
make use of 10.5 specific things like flat packages and signed  
packages etc. but if you're also targeting previous versions of OS X,  
then that's maybe not an issue anyway.


Mark

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 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 GuidesSecuritySecurity OverviewSecurity 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 /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?


Why doesn't drag and drop work?

Does your app *have* to be in /Applications?  If so, that means all  
the users with non-admin accounts won't be able to install the app  
(and if you require read/write to anything in that folder, they can't  
use it either-- nor can multiple users on one machine).


b.bum

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 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?


Why doesn't drag and drop work?


AFAIK it does work, but my boss wants to be able to display a TC  
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 folders/files.


Does your app *have* to be in /Applications?  If so, that means all  
the users with non-admin accounts won't be able to install the app  
(and if you require read/write to anything in that folder, they  
can't use it either-- nor can multiple users on one machine).


No, it doesn't have to be in /Applications, but this is the  
recommended place to put it if you want it to be accessible to all  
users on the machine, isn't it? If not where does it get stored?  
That's where every other app is stored and it's where it has been  
stored up until now (using the AppleScript Installer) and I haven't  
had any problems reported of people not being able to access it, or  
are you saying it won't be accessible using a PackageMaker installer?


Thanks a lot,
All the Best
Dave


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 when mounting the dmg.


Many apps come on a dmg with a background image showing the user that 
they should drag the .app or folder to /Applications to install.


Devon


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 /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?


Why doesn't drag and drop work?


AFAIK it does work, but my boss wants to be able to display a TC 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 
folders/files.


Does your app *have* to be in /Applications?  If so, that means all 
the users with non-admin accounts won't be able to install the app 
(and if you require read/write to anything in that folder, they can't 
use it either-- nor can multiple users on one machine).


No, it doesn't have to be in /Applications, but this is the 
recommended place to put it if you want it to be accessible to all users 
on the machine, isn't it? If not where does it get stored? That's where 
every other app is stored and it's where it has been stored up until now 
(using the AppleScript Installer) and I haven't had any problems 
reported of people not being able to access it, or are you saying it 
won't be accessible using a PackageMaker installer?


Thanks a lot,
All the Best
Dave


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/dferns%40devonferns.com

This email sent to dfe...@devonferns.com

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: More - Safari Download Security Alerts

2008-12-15 Thread Graham Lee
On 15/12/2008 17:06, Devon Ferns dfe...@devonferns.com 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.

Cheers,
Graham.
--
Graham Lee
Senior Macintosh Software Engineer, Sophos Plc.
+44 1235 540266
http://www.sophos.com/


Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United 
Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 dfe...@devonferns.com 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.

Cheers,
Graham.
--
Graham Lee
Senior Macintosh Software Engineer, Sophos Plc.
+44 1235 540266
http://www.sophos.com/


Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14  
3YP, United Kingdom.

Company Reg No 2096520. VAT Reg No GB 348 3873 20.
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/dave% 
40looktowindward.com


This email sent to d...@looktowindward.com



___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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.html
--
philippe___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 /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?


Why doesn't drag and drop work?


AFAIK it does work, but my boss wants to be able to display a TC  
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 folders/files.


Does your app *have* to be in /Applications?  If so, that means all  
the users with non-admin accounts won't be able to install the app  
(and if you require read/write to anything in that folder, they  
can't use it either-- nor can multiple users on one machine).


No, it doesn't have to be in /Applications, but this is the  
recommended place to put it if you want it to be accessible to all  
users on the machine, isn't it? If not where does it get stored?  
That's where every other app is stored and it's where it has been  
stored up until now (using the AppleScript Installer) and I haven't  
had any problems reported of people not being able to access it, or  
are you saying it won't be accessible using a PackageMaker installer?


But consider a user who ISN'T an administrator, or who wants to the  
run/install the application just for themselves, not all people.  
They'd want to place your application somewhere else. e.g. ~/ 
Applications/
Drag and drop gives them the freedom to choose. (On a personal note, I  
like to test applications from within the DMG before installing if  
possible too).


With a TC page, you could also make that part of your app and display  
it on the first launch.


Mike.
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 TC  
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 folders/files.


As others have indicated, a TC page on mounting of the DMG is likely  
easier.


Does your app *have* to be in /Applications?  If so, that means all  
the users with non-admin accounts won't be able to install the app  
(and if you require read/write to anything in that folder, they  
can't use it either-- nor can multiple users on one machine).


No, it doesn't have to be in /Applications, but this is the  
recommended place to put it if you want it to be accessible to all  
users on the machine, isn't it? If not where does it get stored?  
That's where every other app is stored and it's where it has been  
stored up until now (using the AppleScript Installer) and I haven't  
had any problems reported of people not being able to access it, or  
are you saying it won't be accessible using a PackageMaker installer?


(This is actually on topic for Cocoa...)

/Applications is fine if you want the application to be accessible to  
all users on the machine.  The issues are:


(1) Your application should not write any user-specific data anywhere  
within /Applications (including inside the .app wrapper obviously).
That is, /Applications should be treated as read-only beyond initial  
installation (many advanced users -- myself included -- run with their  
primary account not having administrator rights.)


(2) Non-administrative users would not be able to install your  
application, if it is required to be in /Applications (which it  
doesn't sound like it is).   Drag-n-drop is easier for non-admin users  
to deal with.


b.bum

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 TC  
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 folders/files.


As others have indicated, a TC page on mounting of the DMG is  
likely easier.




Just to give an pointer about this:

http://developer.apple.com/documentation/developertools/conceptual/SoftwareDistribution/Containers/chapter_3_section_4.html


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 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?


Why doesn't drag and drop work?


AFAIK it does work, but my boss wants to be able to display a  
TC 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 folders/files.


Does your app *have* to be in /Applications?  If so, that means  
all the users with non-admin accounts won't be able to install  
the app (and if you require read/write to anything in that  
folder, they can't use it either-- nor can multiple users on one  
machine).


No, it doesn't have to be in /Applications, but this is the  
recommended place to put it if you want it to be accessible to all  
users on the machine, isn't it? If not where does it get stored?  
That's where every other app is stored and it's where it has been  
stored up until now (using the AppleScript Installer) and I  
haven't had any problems reported of people not being able to  
access it, or are you saying it won't be accessible using a  
PackageMaker installer?


But consider a user who ISN'T an administrator, or who wants to the  
run/install the application just for themselves, not all people.  
They'd want to place your application somewhere else. e.g. ~/ 
Applications/
Drag and drop gives them the freedom to choose. (On a personal  
note, I like to test applications from within the DMG before  
installing if possible too).


With a TC page, you could also make that part of your app and  
display it on the first launch.


But that isn't the requirement, we just want it installed in / 
Applications and accessible to all users, that's it!


All the Best
Dave


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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  
TC 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 folders/files.


As others have indicated, a TC page on mounting of the DMG is  
likely easier.


Does your app *have* to be in /Applications?  If so, that means  
all the users with non-admin accounts won't be able to install  
the app (and if you require read/write to anything in that  
folder, they can't use it either-- nor can multiple users on one  
machine).


No, it doesn't have to be in /Applications, but this is the  
recommended place to put it if you want it to be accessible to all  
users on the machine, isn't it? If not where does it get stored?  
That's where every other app is stored and it's where it has been  
stored up until now (using the AppleScript Installer) and I  
haven't had any problems reported of people not being able to  
access it, or are you saying it won't be accessible using a  
PackageMaker installer?


(This is actually on topic for Cocoa...)

/Applications is fine if you want the application to be accessible  
to all users on the machine.  The issues are:


(1) Your application should not write any user-specific data  
anywhere within /Applications (including inside the .app wrapper  
obviously).   That is, /Applications should be treated as read-only  
beyond initial installation (many advanced users -- myself included  
-- run with their primary account not having administrator rights.)


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.




(2) Non-administrative users would not be able to install your  
application, if it is required to be in /Applications (which it  
doesn't sound like it is).   Drag-n-drop is easier for non-admin  
users to deal with.


Only admin's are required to install the App.

All the Best
Dave


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: More - Safari Download Security Alerts

2008-12-12 Thread Kyle Sluder
On Fri, Dec 12, 2008 at 6:25 AM, Dave d...@looktowindward.com 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 DMG.

The fact that items retain their quarantine status when extracted from
a quarantined volume is an important aspect of the security model.
Why do you want to remove it?

--Kyle Sluder
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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.


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 GuidesSecuritySecurity OverviewSecurity 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net

This email sent to cocoa...@mikeabdullah.net


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 can drag and drop  
it to their preferred destination.


Mike is right - don't roll your own installer - but for the record, if  
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 LaunchServices/LSQuarantine.h for what you can pass to  
LSSetItemAttribute() in LaunchServices.


- jp



smime.p7s
Description: S/MIME cryptographic signature
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com