Installer - STARIONGROUP/COMET-IME-Community-Edition GitHub Wiki

Installer

As of new version > 6.0.1 the Community Edition IME desktop application's installer is capable of upgrading existing installations. A few extra steps are necessary during development and especially during the creation of a new Release.

Specific upgrade changes in the installer:

Newly added, or changed features, assemblies and files are handled the way we are used to. We can add Plugins as Features (Product.wxs) and add assemblies and files as Wix Components. When a feature, assembly, or file has to be removed then extra steps are necessary.

Removed Features

If a feature is removed from the application, we need to change the Product.wxs file and delete features that have to be removed from the installer. Just remove the Feature tag completely. The runtime installer is capable of noticing that, compared to the current installation, a component is not present anymore and removes it after installation.

Removed Assemblies/Files

Assemblies and files are added to an installation by using ComponentGroups in multiple .wxs files. When a file has to be removed we need to add a RemoveFile element for that specific file. Under the File element in the Component add RemoveFile element with all required attributes.

Fortunately wildcards can be used for this in the Name attribute. To remove an old DevExpress version you could use this example: <RemoveFile Id="DevExpress15" Name="DevExpress*15*.dll" On="both"/>.