• 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: updaters again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: updaters again


  • Subject: RE: updaters again
  • From: "Glover,David" <email@hidden>
  • Date: Tue, 31 Mar 2009 14:14:08 +0100
  • Thread-topic: updaters again

Hi,

Perhaps you could turn off 'Allow Custom Location', and install x to a
temporary location (eg /tmp/temporaryxfolder1.1), and then look for the
previous version of x through its receipt package (/Library/Receipts)
using a postinstall/postupgrade script.

Info.plist in the receipt has a key called IFPkgRelocatedPath, so your
script can read that value and copy x to there from its temp location.
Or if the value is ./ (I think) then it hasn't been relocated and will
reside in the default location.

Regards
Dave

-----Original Message-----
From:
installer-dev-bounces+david.glover=email@hidden
[mailto:installer-dev-bounces+david.glover=email@hidden
le.com] On Behalf Of Piotr Rychlik
Sent: 27 March 2009 12:55
To: email@hidden
Subject: updaters again

Hi,

Some time ago I asked how to create packages that are able to update
previously installed files.
Now, I am returning to the above subject, because none of the answers
helped me to resolve my problem.

The task is very simple. Suppose we have a file, say x, installed
using the installer package created by PackageMaker.
During the installation of x, user had freedom to choose the location
for x. He also had to authenticate himself as administrator in order
to proceed with the installation. Suppose that a new version of x is
available. What I need is to create the installer package that will
replace the old version of x with the new one. This updater should
only ask the user to authenticate as administrator and should not ask
for the destination (which should be exactly the same as the location
of the old version of x).

My application checks if its new version is available on the server.
If it finds the one, it downloads and then calls the updater and quits.

Could someone send me a simple example of such updater?

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

This email sent to email@hidden

Promethean Limited is a company registered in England and Wales with company number 1308938 and VAT number GB 572 2599 18
______________________________________________

Promethean Ltd and or associated and or subsidiary companies :

The views expressed in this communication may not necessarily be
the views held by Promethean Ltd and or associated and or subsidiary companies.

This e-mail is for the exclusive use of the addressee(s). Unauthorised
disclosure, copying or distribution is prohibited.

This e-mail message has been swept for the presence of computer viruses.

Promethean Ltd and or associated and or subsidiary companies accepts no liability for any loss resulting from this email transmission.

Promethean, Promethean House, Lower Philips Road, Blackburn, Lancashire, BB1 5TH, UK. Please update your records accordingly. Thank you!



*****************************************************************
This email has been checked by the e-Sweeper Service
*****************************************************************

 _______________________________________________
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

References: 
 >updaters again (From: Piotr Rychlik <email@hidden>)

  • Prev by Date: Making Installer display an alert
  • Next by Date: Re: Making Installer display an alert
  • Previous by thread: updaters again
  • Next by thread: Making Installer display an alert
  • Index(es):
    • Date
    • Thread