• 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: Change Readme text during execution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change Readme text during execution


  • Subject: Re: Change Readme text during execution
  • From: Pepijn Bruienne <email@hidden>
  • Date: Mon, 05 Aug 2013 18:13:59 -0400

Why not just put a link to your current Readme in the static text served by Installer? It's safe to assume that if the user is reading your Installer text they have access to a browser. Less work for you, no need to tinker.

Thanks,
Pepijn.

--
Pepijn Bruienne
email@hidden

On Aug 5, 2013, at 5:44 PM, Raphael Oliveira <email@hidden> wrote:

Tried here both html and a file placed in disk (/tmp folder), but didn't work.

I noticed that the Resources folder has the following structure:
-rw-r-xr-x  18:34 background
drwxr-xr-x 17:12 de.lproj
drwxr-xr-x 17:14 en.lproj

The readme files are inside de.lproj and en.lproj.
I also tried to copy these folder inside /tmp/ and change distribution to <readme file="/tmp/readme.rtf"/>. Not surprised it didn't work.




2013/8/5 Conor Schutzman <email@hidden>
That’s the same way I would have done it.  I’m surprised it didn’t work.
Try an html file?
Or maybe (semi-grasping at straws) play with replacing the local file with a symlink or weblink without modifying the distro file.



On Aug 5, 2013, at 2:13 PM, Raphael Oliveira <email@hidden> wrote:

I had the package created by Packages and used "pkgutil --expand" to extract the package, modified Distribution file and then used "pkgutil --flatten" to create the .pkg



2013/8/5 Raphael Oliveira <email@hidden>
I tried changing the readme tag this way:
from
<readme file="readme.rtf"/>
to
<readme file="http://localhost/install/osx/readme.rtf"/>

I can access the link when browsing, but what happened when executing the installer was that the read me section was not present.



2013/8/5 Conor Schutzman <email@hidden>
I’m pretty sure you can just edit the distribution file so that the entry for the read me points to a URL instead of a local file, than edit the remote file as needed (while this is my understanding, I’ve not actually done it, so certainly test first).
Though, be warned that this could create weirdness if the endpoint running the installer doesn’t have access to that site at install time (such as not having an internet connection).


On Aug 5, 2013, at 2:03 PM, Raphael Oliveira <email@hidden> wrote:

Hi Guys,

I want to do another strange thing.
Is it possible to change the read me text file (inside the Resources folder) during the installer execution?
I want to do that because people want to put each module (http referenced package) version in the read me, but this version can change after the distribution package creation.
This would be retrieved by a HTTP request.

I think it is not possible, but I'd like to confirm.


Thanks,
Raphael
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:


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: Change Readme text during execution
      • From: Raphael Oliveira <email@hidden>
References: 
 >Change Readme text during execution (From: Raphael Oliveira <email@hidden>)
 >Re: Change Readme text during execution (From: Conor Schutzman <email@hidden>)
 >Re: Change Readme text during execution (From: Raphael Oliveira <email@hidden>)
 >Re: Change Readme text during execution (From: Conor Schutzman <email@hidden>)
 >Re: Change Readme text during execution (From: Raphael Oliveira <email@hidden>)

  • Prev by Date: Re: Change Readme text during execution
  • Next by Date: Re: Change Readme text during execution
  • Previous by thread: Re: Change Readme text during execution
  • Next by thread: Re: Change Readme text during execution
  • Index(es):
    • Date
    • Thread