Scripted/Unattended Windows Installation/Uninstallation
This section describes how to perform unattended or scripted installations on Windows platforms. The following procedures are described:
>Installing the Luna HSM Client for the SafeNet Luna Network HSM
>Installing the Luna HSM Client for the SafeNet Luna PCIe HSM
>Installing the Luna HSM Client for the SafeNet Luna USB HSM
>Installing the Luna HSM Client for the SafeNet Luna Backup HSM
>Installing the Luna HSM Client for Remote PED
>Uninstalling the Luna HSM Client
If you want to perform an interactive installation, using the graphical, interactive installer, see Windows SafeNet Luna HSM Client Installation
NOTE Unattended installation stores the root certificate in the certificate store and marks the publisher (in this case, SafeNet, Inc.) as trusted for future installations. You are not prompted to trust SafeNet Inc. as a driver publisher during unattended installation.
Installing the Luna HSM Client for the SafeNet Luna Network HSM
Use the ADDLOCAL=SA flag to install the base client software for the SafeNet Luna Network HSM. Include the flags listed below to install any optional software components you desire. The base software must be installed first.
NOTE The setting /l install.log is optional and will save the installation logs to the file install.log. The install.log file is required only if troubleshooting an issue with Technical Support.
To install the Luna HSM Client for the SafeNet Luna Network HSM
From the location of LunaHSMClient.exe run one of the following commands:
> Install the base Luna HSM Client software for SafeNet Luna Network HSM
LunaHSMClient.exe /install /l install.log /quiet /norestart ADDLOCAL="SA"
>Install the base Luna HSM Client software and any of the following optional components for the SafeNet Luna Network HSM that you desire:
Product or component | Description |
---|---|
SA_CSP_KSP | CSP and KSP components for the SafeNet Luna Network HSM |
SA_JSP | JSP component for the SafeNet Luna Network HSM |
SA_SDK | SDK component for the SafeNet Luna Network HSM |
SA_JCProv | JCPROV component for the SafeNet Luna Network HSM |
For example, the following command installs the base software and all of the optional components:
LunaHSMClient.exe /install /l install.log /quiet /norestart ADDLOCAL="SA,SA_CSP_KSP,SA_JSP,SA_SDK,SA_JCProv"
If you wish to install only some of the components, just specify the ones you want after the product name (SA in this example).
Installing the Luna HSM Client for the SafeNet Luna PCIe HSM
Use the ADDLOCAL=PCI flag to install the base client software for the SafeNet Luna PCIe HSM. Include the flags listed below to install any optional software components you desire. The base software must be installed first.
NOTE The setting /l install.log is optional and will save the installation logs to the file install.log. The install.log file is required only if troubleshooting an issue with Technical Support.
To install the Luna HSM Client for the SafeNet Luna PCIe HSM
From the location of LunaHSMClient.exe run one of the following commands:
> Install the base Luna HSM Client software for SafeNet Luna PCIe HSM
LunaHSMClient.exe /install /l install.log /quiet /norestart ADDLOCAL="PCI"
>Install the base Luna HSM Client software and any of the following optional components for the SafeNet Luna PCIe HSM that you desire:
Product or component | Description |
---|---|
PCI_CSP_KSP | CSP and KSP components for the SafeNet Luna PCIe HSM |
PCI_JSP | JSP component for the SafeNet Luna PCIe HSM |
PCI_SDK | SDK component for the SafeNet Luna PCIe HSM |
PCI_JCProv | JCPROV component for the SafeNet Luna PCIe HSM |
PCI_SNMP | SNMP subagent component for the SafeNet Luna PCIe HSM |
For example, the following command installs the base software and all of the optional components:
LunaHSMClient.exe /install /l install.log /quiet /norestart ADDLOCAL="PCI,PCI_CSP_KSP,PCI_JSP,PCI_SDK,PCI_JCProv,PCI_SNMP"
If you wish to install only some of the components, just specify the ones you want after the product name (PCI in this example).
Installing the Luna HSM Client for the SafeNet Luna USB HSM
Use the ADDLOCAL=USB flag to install the base client software for the SafeNet Luna USB HSM. Include the flags listed below to install any optional software components you desire. The base software must be installed first.
NOTE The setting /l install.log is optional and will save the installation logs to the file install.log. The install.log file is required only if troubleshooting an issue with Technical Support.
To install the Luna HSM Client for the SafeNet Luna USB HSM
From the location of LunaHSMClient.exe run one of the following commands:
> Install for SafeNet Luna USB HSM
LunaHSMClient.exe /install /l install.log /quiet /norestart ADDLOCAL="G5"
>Install the base Luna HSM Client software and any of the following optional components for the SafeNet Luna USB HSM that you desire:
Product or component | Description |
---|---|
G5_CSP_KSP | CSP and KSP components for the SafeNet Luna USB HSM |
G5_JSP | JSP component for the SafeNet Luna USB HSM |
G5_SDK | SDK component for the SafeNet Luna USB HSM |
G5_JCProv | JCPROV component for the SafeNet Luna USB HSM |
G5_SNMP | SNMP subagent component for the SafeNet Luna USB HSM |
For example, the following command installs the base software and all of the optional components:
LunaHSMClient.exe /install /l install.log /quiet /norestart ADDLOCAL="G5,G5_CSP_KSP,G5_JSP,G5_SDK,G5_JCProv,G5_SNMP"
If you wish to install only some of the components, just specify the ones you want after the product name (G5 in this example).
Installing the Luna HSM Client for the SafeNet Luna Backup HSM
Use the ADDLOCAL=RB flag to install the base client software for the SafeNet Luna Backup HSM. Include the flags listed below to install any optional software components you desire. The base software must be installed first.
NOTE The setting /l install.log is optional and will save the installation logs to the file install.log. The install.log file is required only if troubleshooting an issue with Technical Support.
To install the Luna HSM Client for the SafeNet Luna Backup HSM
From the location of LunaHSMClient.exe run one of the following commands:
> Install the base Luna HSM Client software for SafeNet Luna Backup HSM
LunaHSMClient.exe /install /l install.log /quiet /norestart ADDLOCAL="RB"
>Install the base Luna HSM Client software and the following optional component for the SafeNet Luna USB HSM:
Product or component | Description |
---|---|
RB_SNMP | SNMP subagent component for the SafeNet Luna Backup HSM |
For example, the following command installs the base software and the optional component:
LunaHSMClient.exe /install /l install.log /quiet /norestart ADDLOCAL="RB,RB_SNMP"
Installing the Luna HSM Client for Remote PED
Use the ADDLOCAL=RP flag to install the client software for the SafeNet Luna Backup HSM.
NOTE The setting /l install.log is optional and will save the installation logs to the file install.log. The install.log file is required only if troubleshooting an issue with Technical Support.
To install the Luna HSM Client for the SafeNet Luna Backup HSM
From the location of LunaHSMClient.exe run the following command:
LunaHSMClient.exe /install /l install.log /quiet /norestart ADDLOCAL="RP"
Uninstalling the Luna HSM Client
You can also perform scripted/unattended uninstallation.
NOTE The setting /l uninstall.log is optional and will save the installation logs to the file uninstall.log. The uninstall.log file is required only if troubleshooting an issue with Technical Support.
To uninstall the Luna HSM Client
From the location of LunaHSMClient.exe run the following command:
LunaHSMClient.exe /uninstall /quiet /l uninstall.log