How can you uninstall a Custom Module in version 8 of Decisions?

charlesjohnson
edited May 10 in Modules

I have a custom module installed within a version 8 Decisions instance. Is there a way I can uninstall this custom module and remove it completely from my Decisions instance?

Comments

  • Cody_Decisions
    edited May 13

    Hi there,


    The steps for uninstalling a Custom Module in version 8 of Decisions is as follows.

    1.Stop the Decisions Services. If you are self-hosted, stop the Decisions Services from Windows Services and if IIS-hosted, run the command iisreset /stop as an administrator from the Command Prompt or in Powershell.

    If Self-Hosted, Right-click the Decisions Server and click Stop.


    If IIS-Hosted, enter the below command with administrator privileges:

    iisreset /stop


    2.Delete the custom module .zip folder from the C:\Program Files\Decisions\Decisions Server\CustomModules folder if present.


    3.Delete the directory and .zip files for the module in C:\Program Files\Decisions\Decisions Server\modules if present.


    4.Run the following query in your Database Manager/Query Editor:

    SELECT * FROM module_installation. 


    Take note of the extension_id of the module.



    5.*NOTE* Before performing this step, we highly suggest taking a database backup as the following queries make changes to your database. With the extension_id from step 4, run the following queries in your Database Manager/Query Editor:


    DELETE FROM module_installation WHERE extension_id = [the_extension_id]


    DELETE FROM entity_folder WHERE extension_id = [the_extension_id]


    6.Start the Decisions Services. If self-hosted, start the Decisions Services from Windows Services and if IIS-hosted, run iisreset /start as an administrator in either the Command Prompt or Powershell.


    If Self-Hosted, Right-click the Decisions Server and click Start.


    If IIS-Hosted, enter the below command with administrator privileges:

    iisreset /start


    Upon following these steps, the custom module should be completely removed from the Decisions instance.


    Hope this helps!

Sign In or Register to comment.