Plugin installer issues

First, let me say that the idea of the plugin installer is great. It is definitely going to make it much easier to deploy plugins on OpenExchange.

But I'm having some issues with it, specifically the maxversion attribute referred to here: http://romuluscrisan.com/sdl%20studio/2015/05/05/Studio%20plugin%20versioning.html#product-versioning


The problem is that I am unable to get the maxversion to be recognized in the plugin installer. Every time it only recognizes the minversion and allows clicking versions higher than the max (e.g. if I set maxversion to 10.9, it still lets me click the options to install to Studio 2014 and 2015).

Also, as a side note, when I add the maxversion to the manifest in my plugin project, it never contains this attribute in manifest packaged in the .sdlplugin file. I have to manually add the attribute to the manifest using 7-zip.

But even when I manually add it, the installer still doesn't recognize it.

I've even cloned the installer from GitHub and stepped through the code with a test plugin whose manifest contains the maxversion, but the PluginPackage.PackageManifest.MaxRequiredProductVersion is always null (although the minversion is correctly set).

screenshots:

Parents Reply
  • I'll have a look at the PackageSupport library and I will raise this with the development team. Until this is fixed I guess we need to rely on implementing that ourselves by looking directly at the xml manifest file.

    The features we have in mind to add is the ability to do a full management of the plugins. At the moment the application walks you through the install steps but we would like to have the ability to see all the plugins installed and eventually remove them or install them for other Studio versions available on the machine. They way I see this working is a separate exe that will be part of the same installer.

    I would like to have Sdl.Core.PluginFramework.Build.Tasks as open source but this is part of the core components for Studio and is used in other products too so for the time being open sourcing this library is not possible  

    Romulus Crisan | Translation Productivity Development Manager | SDL | (twitter) @cromica_82 | (blog) http://www.romuluscrisan.com/

Children
No Data