The assembly component is used to install assemblies (*.dll) into the main \bin folder of the installation.
Like all components which inherit from the file component
, the Assembly component includes the ability to list files which have common elements.
Please note that an assembly will only be copied/installed if:
a/ it is not already installed, or
b/ a new version is specified
Elements and attributes
- path: the folder where the file will be copied. Usually will be \bin or \bin\providers in case of provider dll
- name: the name of the file
- version: specifies the version of the dll in the format major.minor.build.revision. If a version is not specified it will take the version of the package which can lead to unexpected errors since the package version can be different than the dll version. So it is recommended to always specify the appropriate version for each dll.
- Action="Unregister": including this option will cause the file to be deleted and the assembly to be unregistered from the system. The is not taken into consideration when unregistering, just the file name.