Re: Creation of symbolic link fails by installer
Re: Creation of symbolic link fails by installer
- Subject: Re: Creation of symbolic link fails by installer
- From: kushal ghosh <email@hidden>
- Date: Wed, 30 Jun 2010 22:43:10 +0530
Hi,
"Are you using the same symbolic link path in both packages?"
I am creating two links say /tmp/folder1->application and /tmp/folder2->application. Both points to same location. But they are different links. But 'application' is same in both case. Could it be possible that simultaneous installation (or upgrade) to same location ('application' in this case) is not possible?
Message: 2
Date: Tue, 29 Jun 2010 14:25:16 +0530
From: kushal ghosh <email@hidden>
Subject: Creation of symbolic link fails by installer
To: email@hidden
Message-ID:
<email@hidden">email@hidden>
Content-Type: text/plain; charset="utf-8"
Hi,
I am running two different installers through command line by sudo installer
-pkg <pkgname> -target /.
Both the installers has a temporary location (say /tmp/temppath) as
destination from where a symbolic link is created to required
installation path such that actual installation takes place after creation
of link. The symbolic link is made by methods provided by NSFileManager. The
installers run and install fine when run singly. But simultaneously when
both are run one always fails and other one succeeds.
The log says "The file <temppath> couldn’t be saved in the folder /tmp".
This log is obtained from NSError descriptions.
Is it because of the fact that we cannot create 2 links to same path at a
time? Or is it something to do with the installer? What is the substitute ?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/pipermail/installer-dev/attachments/20100629/ef88855d/attachment.html
------------------------------
Message: 3
Date: Tue, 29 Jun 2010 22:45:48 +0200
From: Iceberg-Dev <email@hidden>
Subject: Re: Creation of symbolic link fails by installer
To: Installer-Dev mailing-list <email@hidden>
Message-ID: <email@hidden">email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
On Jun 29, 2010, at 10:55 AM, kushal ghosh wrote:
> [...]
> Is it because of the fact that we cannot create 2 links to same
> path at a time?
Are you using the same symbolic link path in both packages?
> Or is it something to do with the installer? What is the substitute ?
Using 2 different symbolic link paths?
_______________________________________________
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