Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

[MBS] MBS Frameworks and Installers on Mac (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] movie.SetMovieApertureModeMBS - is there a Getter?
Next thread: [MBS] Black


Re: [MBS] MBS Real Studio Audio Plugin crash   -   Garth Hjelte
  [MBS] MBS Frameworks and Installers on Mac   -   Lee Badham
   Re: [MBS] MBS Frameworks and Installers on Mac   -   Lee Badham
   Re: [MBS] MBS Frameworks and Installers on Mac   -   Christian Schmitz
   Re: [MBS] MBS Frameworks and Installers on Mac   -   Lee Badham
   Re: [MBS] MBS Frameworks and Installers on Mac   -   Christian Schmitz

[MBS] MBS Frameworks and Installers on Mac
Date: 20.01.11 10:49 (Thu, 20 Jan 2011 09:49:27 +0000)
From: Lee Badham
Hi,

On launching the compiled app

>>> Location:/ Volumes/RBUS/REALbasic/REALbasic
>>> Xcode/../../Common/plugin/cpp:7502
>>> Failure Ccondition:pluginEntryTable.GetEntry
>>> (entrypointName,Out)
>>> Failure Message: can’t find p;ugin method
>>> CTDictionaryMBS.Dictionary as Dictionary

Other errors we have seen are to do with saying that there are different plugin versions uses (10.3 vs 10.5)

Firstly this is not to to with Local Caches, or different plugin versions. (I spent a lot of time checking)

What is actually causing the problem seems to be that I am using an installer (Iceberg) to install the app and when performing an upgrade from an existing installation, it is trying to merge the old and new installation. That's fine if the libraries are the same, but on a plugin version change, the filenames can be different (why are there so many anyways). This causes the Frameworks folder to have incompatible versions and causes the error.

If I open up the .app/Frameworks folder and manually delete the old plugins (easy to check by date) the app then launches.

Presumably I need to add an post-upgrade script to remove the old versions. How would I reference the installed app folder/Frameworks? Or is there another way?

Has anyone else come across this problem?

Lee

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] MBS Frameworks and Installers on Mac
Date: 20.01.11 16:40 (Thu, 20 Jan 2011 15:40:53 +0000)
From: Lee Badham
Hi,

Any Reasons I dan't use this as a 'preupgrade' script in Packagemaker?

Seems to work fine. It deletes the .app file before installing the new one.

#!/usr/bin/env bash
APPLOC="$2/pressSIGN 4/pressSIGN 4.app/"
echo " Removing old installation -${APPLOC}-"
rm -r "${APPLOC}"
exit 0

Admin rights are required to install.

Lee

On 20 Jan 2011, at 12:01, Christian Schmitz wrote:

>
> Am 20.01.2011 um 11:36 schrieb Lee Badham:
>
>> Argh...
>>
>> Any ideas how to get around it? Is using a post-upgrade script the way?
>
> Delete other dylibs.
>
> Greetings
> Christian
>
> --
> See you in Atlanta (USA) at the REAL Studio Summit 2011
>
> Registration and details here:
> http://arbpmembers.org/real-studio-summit-2011/
>
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> <email address removed>
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info



Lee Badham

t: 01923 220 530
www.bodoni.co.uk | www.presssign.com
Bodoni Systems Ltd
Unit 19
Orbital 25 Business Park
Dwight Road
Watford
WD18 9DA

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] MBS Frameworks and Installers on Mac
Date: 20.01.11 13:01 (Thu, 20 Jan 2011 13:01:57 +0100)
From: Christian Schmitz

Am 20.01.2011 um 11:36 schrieb Lee Badham:

> Argh...
>
> Any ideas how to get around it? Is using a post-upgrade script the way?

Delete other dylibs.

Greetings
Christian

Re: [MBS] MBS Frameworks and Installers on Mac
Date: 20.01.11 11:36 (Thu, 20 Jan 2011 10:36:29 +0000)
From: Lee Badham
Argh...

Any ideas how to get around it? Is using a post-upgrade script the way?

Lee

On 20 Jan 2011, at 09:58, Christian Schmitz wrote:

>
> Am 20.01.2011 um 10:49 schrieb Lee Badham:
>
>> Hi,
>>
>> What is actually causing the problem seems to be that I am using an installer (Iceberg) to install the app and when performing an upgrade from an existing installation, it is trying to merge the old and new installation. That's fine if the libraries are the same, but on a plugin version change, the filenames can be different (why are there so many anyways). This causes the Frameworks folder to have incompatible versions and causes the error.
>
> Long ago I asked REAL Software to check plugins and load only those with the right names. Not just every file there. Which is by the way an security hole.
>
> see
> feedback://showreport?report_id 89
>
> If RS runtime would not load every plugin, the old plugin files would simply be ignored.
>
> Greetings
> Christian
>
> --
> See you in Atlanta (USA) at the REAL Studio Summit 2011
>
> Registration and details here:
> http://arbpmembers.org/real-studio-summit-2011/
>
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> <email address removed>
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] MBS Frameworks and Installers on Mac
Date: 20.01.11 10:58 (Thu, 20 Jan 2011 10:58:56 +0100)
From: Christian Schmitz

Am 20.01.2011 um 10:49 schrieb Lee Badham:

> Hi,
>
> What is actually causing the problem seems to be that I am using an installer (Iceberg) to install the app and when performing an upgrade from an existing installation, it is trying to merge the old and new installation. That's fine if the libraries are the same, but on a plugin version change, the filenames can be different (why are there so many anyways). This causes the Frameworks folder to have incompatible versions and causes the error.

Long ago I asked REAL Software to check plugins and load only those with the right names. Not just every file there. Which is by the way an security hole.

see
feedback://showreport?report_id 89

If RS runtime would not load every plugin, the old plugin files would simply be ignored.

Greetings
Christian