The host after completion of the component will not be in my control.

to install a plugin...
the component will need to have a table - with a blob. In the blob will need to 
be the plugin.

upon initialization of the component I can:
check to see if the plugin is already installed
if not
 blob to document into the plugins folder for the host (creating the plugins 
folder for the host if needed)
 then create a shortcut/alias to the newly installed plugin inside the 
component's plugin folder (which I will have to create as it will not be there 
in a compiled/built component)
then force a restart of the host so the plugin is loaded -- users will love 
that...


- how do I find the component database (to create the shortcut/alias)
- I do not have a language reference at hand - is there a command to create an 
alias/shortcut?

> the plugins folder of a component is never loaded.
> the component's plugins folder can be empty,
> since the plugin is always called in the host's context.
> 
> so you have two options:
> 
> 1
> 
> install the plugin for both the host and component, during development.
> use the application build dialog to create a compiled component,
> which will automatically exclude the plugins folder.
 
> 2
> 
> install the plugin for the host only.
> create an alias/shortcut/symlink to the hosts plugin inside the 
> component's plugins folder.
> whether the alias is transportable or not depends on the type of 
> alias you create.


> -
> 
> you can also install the plugin inside the application, but that 
> would break the app signature on mac.
> besides, in client/server. a plugin installed inside the server app 
> is not transmitted to the client.
cant do that as I don't have control over the host, or host environment.

 
> http://doc.4d.com/4Dv16R4/4D/16-R4/Developing-and-installing-4D-components.200-3330168.en.html
> 
>> Do I need to copy the plugin from the component's plugin folder to 
>> the怀host's?
> 
> 
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************
------------
Hell is other people 
     Jean-Paul Sartre
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to