Ok, so it seems that preupgrade
and postupgrade scripts are not supported in flat packages.
Is there a way for the pre/post
install scripts to know if the package is doing an upgrade? Environment
variable perhaps? Or is checking the receipt database the way forward?
Cheers,
Dave
From:
installer-dev-bounces+david.glover=email@hidden
[mailto:installer-dev-bounces+david.glover=email@hidden]
On Behalf Of Glover,David
Sent: 21 May 2010 10:29
To: email@hidden
Subject: Pre/Post upgrade scripts in flat packages
Hi,
Apologies is this is a daft question, being a newcomer to
flat package land, but it seems that preupgrade and postupgrade scripts cannot
be added into a package using PackageMaker... what happened to upgrade scripts
in flat packages? Are they not supported anymore?
Cheers,
Dave
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.
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.
|