Re: Installer Restrictions Question
Re: Installer Restrictions Question
- Subject: Re: Installer Restrictions Question
- From: Stephane Sudre <email@hidden>
- Date: Mon, 05 Nov 2012 09:13:23 +0100
This would work and not require admin authorization.
But you mentioned installing both in /Applications and ~/
"
[…]
The package installed an app to /Applications and then to a directory
in the users home:
userhome/mydir/dir1/file1
[…]"
I don't see how you achieve this by selecting the User Home directory domain.
On Mon, Nov 5, 2012 at 3:15 AM, koko <email@hidden> wrote:
> I am not using any scripts.
>
> In PackageMaker in the Distribution Panel I specify User Home Directory
>
> In the Contents Section,Package Panel, Configuration Tab I specify Destination as /MYDIR/DIR/
>
> The Contents is a Folder of Files.
>
> My expectation is that I would end up with:
>
> /userhome/mydir/dir1/folder of files/
>
>
> -koko
>
> On Nov 4, 2012, at 3:40 PM, Stephane Sudre wrote:
>
>> Assuming you use a post-installation script to move the files to the
>> user's folder (since with domains, you "can't" install both in / and
>> in ˜), have you checked whether the installation "works" when you
>> remove those scripts?
>>
>> On Sat, Nov 3, 2012 at 3:33 PM, koko <email@hidden> wrote:
>>> I require admin authentication
>>> The package is signed
>>> I am installing from an admin account
>>>
>>>
>>> On Nov 3, 2012, at 1:02 PM, Andrew Keller wrote:
>>>
>>> On Nov 3, 2012, at 2:29 PM, koko wrote:
>>>
>>> On Nov 3, 2012, at 2:34 AM, Stephane Sudre wrote:
>>>
>>> Which authorization do you require?
>>>
>>>
>>> I do not understand the question.
>>>
>>>
>>> What type of authentication does your installer package prompt the user for?
>>>
>>> If you're installing anything outside of the current user's home directory,
>>> I suspect you would need elevated privileges - especially on newer versions
>>> of OS X.
>>>
>>> I would like to install files to the users home directory. So whatever
>>> authorization is required to make that possible.
>>>
>>>
>>> Installing into the current user's home directory does not require any
>>> additional permissions. If you desire to place files anywhere else,
>>> however, then you need elevated permissions.
>>>
>>> When we test our installer packages, we test them in both admin and
>>> non-admin accounts. Non-admin accounts have a habit of bringing to light
>>> permission problems.
>>>
>>> If you run your installer in a non-admin account, does the error message
>>> change?
>>>
>>> ~ Andrew Keller
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Installer-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>>
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Installer-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>>
>>
>>
>>
>> --
>> Packaging Resources - http://s.sudre.free.fr/Packaging.html
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Installer-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
--
Packaging Resources - http://s.sudre.free.fr/Packaging.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden