Uninstall the application
This section describes the Net iD Portal uninstall procedure.
Settings and dependencies
When uninstalling Net iD Portal, the current database together with some files and settings are still stored in the system, even if the application has been uninstalled.
The settings that still are stored in the system are:
-
[INTERNET INFORMATION SERVICE]\[Application Pools]\NiPAppPool
-
[INTERNET INFORMATION SERVICE]\[WebSite or VirtualDirectory]
-
[INTERNET INFORMATION SERVICE]\[WebSite or VirtualDirectory]EWS
The objects in Internet Information Service are stored in the system because of special settings in the IIS and will not be automatically removed to facilitate upgrading of Net iD Portal.
Upgrading
When upgrading Net iD Portal, the current version of the application must first be uninstalled.
Use the current installation package from Pointsharp AB:
-
Unzip the installation package file.
-
Stop the services
Net iD Portal Generic Service
andNet iD Portal TimerService
. -
Replace the files in the installation folder with the new files obtained from Pointsharp.
Do not replace the following files when upgrading:
<Installation Directory>\WebServiceApplication\Web.config
<Installation Directory>\WebServiceExternal\Web.config
<Installation Directory>\GenericService\SecMaker.NiP.GS.exe.config
<Installation Directory>\TimerService\SecMaker.NiP.TS.exe.config
-
Run
SecMaker.NiP.Commander.exe
and choose command [1] and [6].
Follow the instructions to upgrade the database.
Complete uninstallation
Do the following steps to make a complete uninstall of Net iD Portal. Note that all settings and information about the users in Net iD Portal will be erased!
-
Delete all files in the Net iD Portal directory.
-
Stop the windows services Net iD Portal Generic Service and Net iD Portal Timer Service.
-
Run powershell with administrative privilegies and type in the following command to uninstall the windows services:
##### $service1 = Get-WmiObject –Class Win32_Service –Filter "Name=’Net iD Portal Generic Service’" $service1.delete() $service2 = Get-WmiObject –Class Win32_Service –Filter "Name=’Net iD Portal Timer Service’" $service2.delete()
-
Delete the installation directory of Net iD Portal,
<Net iD Portal Installation Directory>\Net iD Portal\)
. -
Open Microsoft Internet Information Service.
-
Delete the installed WebSites or Virtual Directories, for example
nip
andnipEWS
. -
In Internet Information Service, go to Application Pools and delete the
NiPAppPool
object. -
Close Microsoft Internet Information Service.
-
Open Microsoft SQL Management Studio.
-
Delete the current system database and log database, for example
NiPDB
,NiPDB_log
, andNiPDB_logClient
. -
Expand
Security
tree and openLogins
directory. -
Delete the
NiPDBUser
service account. -
Close Microsoft SQL Management Studio.
The Net iD Portal structure is now uninstalled from the system.