The GUI Extension installer does everything on the CMS to install and register a Tridion GUI Extension, saving you time and letting you try out new GUI Extensions easier and quicker. The idea was started at the Tridion MVP retreat and then I continued working on the installer after the retreat. Special thanks to Dominic Cronin for sharing some PowerShell secrets to help me get started.
Run the installer at the PowerShell command line like this:
InstallExtension.ps1 ExtensionName.zip
- Creates a Virtual Directory in IIS
- Copies the GUI Extension files to the correct folder on the CMS Server
- Updates the Tridion System.config with references to the GUI Extension
Try it out – a good sample extension to install is the Copy URI extension here: https://github.com/rcurlette/CopyUri Download the extension and you will have a CopyUri-master.zip file. Then open PowerShell and type:
InstallExtension.ps1 CopyUri-master.zip
The file structure is important and should follow this structure:
- /Editor/Configuration/editor.config
- /Model/Configuration/model.config
- /dlls
Have fun and please leave feedback!
Even if only for the ASCII art, but this rocks!!!
Great script and thanks for sharing.
BTW, if I am not mistaken, line 131 will never be true, since $hasModel is not initialized.
You can use $Env:TRIDION_HOME to figure out the location for Tridion (line 102).
But nevertheless, great work Robert!