Search Results for

    Show / Hide Table of Contents

    Uninstalling an ImageVault 4 instance

    This guide describes how you uninstall an ImageVault 4 instance.

    Core

    To uninstall the core instance you need to follow a few steps.

    Locate Core instance folder

    Each ImageVault Core service has it's own instance folder. It is normally located below the c:\imagevault\core folder and has the same name as the instance name.

    Example: In the example below we would like to remove the myimagevault instance

    c:\imagevault\core\myimagevault
    

    Uninstall service

    The service is uninstalled using the installutil.exe command. The installutil command is supplied with the .net 4 runtime files (c:\windows\microsoft.net\framework\v4.0.30319\InstallUtil.exe).

    To run this, you first need to start a command prompt in administrator mode, then place yourself inside the bin folder below the core instance folder. Then supply the following parameter to the installutil command.

    • /u parameter for uninstall
    • /name parameter with the instance name
    • /account with the account used on installation
    • the ImageVault.Core.Host.exe program.

    Example:

    C:\> cd imagevault\core\myimagevault\bin
    
    C:\imagevault\core\myimagevault\bin> c:\windows\microsoft.net\framework\v4.0.30319\InstallUtil.exe /u /name=myimagevault /account=networkservice ImageVault.Core.Host.exe
    

    Remove certificate registration

    Core has been using a certificate and this has been registered in the system. You need to know what port and ip that you have been using for the instance. If you look in the imagevault.core.host.exe file and look for the ServiceBaseUrl you will be able to identify the port. You can then determine the ip used by specifying the following command (change 9901 to your current port).

    c:\> netsh http show sslcert|finstr 9901
        IP:port                      : 0.0.0.0:9901
    

    When you have determined the correct ip and port you remove the ssl certificate registration to that port by using the following command.

    c:\> netsh http delete sslcert ipport=0.0.0.0:9901
    

    Close port in firewall

    When installing the core, you added a firewall rule that allowed traffic in to the computer on the specific port. This rule is named ImageVaultCore\instancename_. You can see the rule with the following command

    netsh advfirewall firewall show rule name=ImageVaultCore\_myimagevault
    

    And delete it using the following

    netsh advfirewall firewall delete rule name=ImageVaultCore\_myimagevault
    

    Remove instance folder

    If you would like to remove the instance completely you can remove the whole instance folder.

    Note

    If you performed an upgrade, you will need the datafolders intact.

    The datafolders are normally located below the instance folders App_Data folder. The datafolders are referenced in the imagevault.core.host.exe.config file. The disk storage folder (where all images stored by the DiskStorage plugin ist stored) is referenced by the DiskStorage_SavePath setting. The Upload folder (where all uploaded files are stored) is referenced by the UploadFolder setting. The download folder (where all downloaded zip archives are stored) is referenced by the ZipArchiveFolder

    You can of course move the datafolders to another location but be shure to update the configuration for the ImageVault using those folders to their new values.

    Uninstall ImageVault 4 UI

    To uninstall the UI instance you need to follow a few steps.

    Locate UI instance folder

    Each ImageVault UI has it's own instance folder. It is normally located below the c:\imagevault\ui folder and has the same name as the instance name.

    Example: In the example below we would like to remove the myimagevault instance

    c:\imagevault\ui\myimagevault
    

    Remove web application

    Locate the web application in the IIS manager (can be either a web site or a virtual application somewhere). Remove the site/application along with it's application pool.

    Remove instance folder

    The instance folder is no longer needed.

    In This Article
    Back to top (c) Meriworks 2002-2022