Re: Installer JavaScript development question.
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=PbwGAtRtSHgxjTRn4DSOiHJL0vqHTWaGELyVaSqbKJ0=; b=oiL4cFUpW8FlEl1RS87SaikGZpYpJchys6LEOSKFpMCigawrSP3YWrstbR+phw4VDB wtJIrZbPVs67wb68uPubczK4l2b/hTqjVuZaxpXgpMwAGY0lpNJ29XArl8jNZ2a0llfE y7lYlim814INn/wVC95cjFr9XqTjcQXE+wYpg= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jn6rEMPb1hhrnQ/HVQdD8DepYwGTVktXM80ZWCEyaHeJRRyn2bWYv7s88V1IkJp0kf P3Vkot2SAAav2TTwhHALktOmXxQeuaWALuRWOOz19pZtV8HqUIyOFo6qkTI1yL54ELPf FYQ0deOJw6lX/sPOLFAFF24sWFW7Cb1Q+x2uA= On Wed, Sep 29, 2010 at 8:55 PM, Alexander Klyuev <klax@musiclab.com> wrote:
Hi Bill,
I need to fix "execute" permission for my requirement scripts before Installer runs them. For some specific reason I cannot use flat package type or .dmg shield for my installation package and scripts may lose "execute" permission during deployment steps. This makes inst package broken and I've not found any documented ways to check/repair permissions.
I would tent to believe there's none because when a package is broken, it's broken. That being said, I don't see how only a JavaScript script would be able to fix the permissions : - there is no API for that. - would you be using an external script you provide to do that, this external script may be suffering from the same issue. In the history of stupid ideas, I have one that is claiming for the top spot: Provide the script as a zip archive. Unzip it from the JavaScript script by calling a system tool. This should preserve the permissions. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre