• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Installer-dev Digest, Vol 94, Issue 29
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installer-dev Digest, Vol 94, Issue 29


  • Subject: Re: Installer-dev Digest, Vol 94, Issue 29
  • From: Stephane Sudre <email@hidden>
  • Date: Wed, 27 Jun 2012 13:55:30 +0200

2 solutions:

- manually: you can edit the .dist file with any text file editor (even vi).

- automatically:

  . either you write a script to look for the "no" string and replace
it with "yes" or you edit the .dist XML file with some command line
tools (which I don't know) that lets you parse/modify a XML file.


On Wed, Jun 27, 2012 at 1:20 PM, vishnu kulkarni <email@hidden> wrote:
> What's the best way to modify the distribution.dist file inorder to
> allow the external scripts to run?
>
> Thanks,
>
> Vishnu
>
> On Wed, Jun 27, 2012 at 1:20 AM, Stephane Sudre <email@hidden> wrote:
>> On Tue, Jun 26, 2012 at 12:23 PM, vishnu kulkarni <email@hidden> wrote:
>>> Hi Stephane,
>>>
>>> Thanks for explanation. But if i include only memory requirement, it
>>> does not create any dist file. When I add Disk space requirement and
>>> include a preflight script along with the package it fails while
>>> installing. If I do not include the script it works fine or vice
>>> versa, If i include script and removed disk space requirement it
>>> works. I think it's something to do with the dist file. I have pasted
>>> just a line from the dist file, I tried changing it though. But i
>>> guess you might help me out .
>>>
>>> options customize="never" allow-external-scripts="no" ( Script fails
>>> because of this ? ) Do i need to  allow external scripts to run?
>>>> rootVolumeOnly="true"/>
>>>>    <installation-check script="pm_install_check();"/>
>>>>    <volume-check script="pm_volume_check();"/>
>>
>> If you're calling an external shell script from the installation- or
>> volume-check scripts, yes you need to allow external scripts. Even if
>> the shell script ends up being embedded in the distribution.
>
>
>
> --
> vishnu

 _______________________________________________
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


  • Follow-Ups:
    • Re: Installer-dev Digest, Vol 94, Issue 29
      • From: Per Olofsson <email@hidden>
References: 
 >Re: Installer-dev Digest, Vol 94, Issue 29 (From: vishnu kulkarni <email@hidden>)
 >Re: Installer-dev Digest, Vol 94, Issue 29 (From: vishnu kulkarni <email@hidden>)

  • Prev by Date: Re: Installer-dev Digest, Vol 94, Issue 29
  • Next by Date: Re: Installer-dev Digest, Vol 94, Issue 29
  • Previous by thread: Re: Installer-dev Digest, Vol 94, Issue 29
  • Next by thread: Re: Installer-dev Digest, Vol 94, Issue 29
  • Index(es):
    • Date
    • Thread