Home >

Installation Guide > SafeNet Client Software Installation > Scripted / Unattended Installation on Windows

Scripted / Unattended Installation on Windows

The Windows software installation section describes interactive installation on Windows systems, using the graphical, interactive installer. This section describes how to perform unattended or scripted installations on Windows platforms.

Installing the SafeNet Client For All SafeNet Products

From the location of LunaClient.msi, run the following command:

LunaClient.exe /l lunaclient_wininstall.log /quiet addlocal=all /qn

The setting /l lunaclient_wininstall.log is optional and will place the installation logs into the file lunaclient_wininstall.log.

Windows security popup on each SafeNet product driver install

The windows security notice (below) appears because “SafeNet, Inc.” is not among the trusted publishers on your computer:

If you check the Always trust software from... checkbox and then click on the Install button the dialog will not appear on future installations, on that computer.

If you do not check the Always trust software from... checkbox then you might see the dialog three times, once for each of the three SafeNet products (SafeNet PCIe HSM, SafeNet USB HSM and SafeNet Remote Backup HSM) that install a driver on your computer.

This is a Windows security requirement, introduced with Windows 2008, and is not under our control. Installing marks the publisher (in this case, SafeNet, Inc.) as trusted for future installations.

Installing the SafeNet Client For SafeNet Network HSM

From the location of LunaClient.exe run the following commands:

1. Install default SafeNet Client components for SafeNet Network HSM

LunaClient.exe /l lunaclient_wininstall.log /quiet addlocal=SA /qn

2.Install all SafeNet Client components for SafeNet Network HSM

LunaClient.exe /l lunaclient_wininstall.log /quiet addlocal=SA, SA_CSP_KSP, SA_JSP, SA_SDK, SA_JCProv, SA_LDPC /qn

 

Product or component    Description     
SA_CSP_KSP    Install SafeNet CSP and KSP components   
SA_JSP    Install SafeNet JSP component   
SA_SDK    Install SafeNet SDK component   
SA_JCProv    Install SafeNet JCPROV component

Note:  If you wish to install only some of the components, just specify the ones you want after the product name (SA in this example).

Note:  The Windows security warning mentioned in section 1 (above) does not appear when only SafeNet Network HSM is installed, because no driver is require. It appears only if you also install SafeNet PCIe HSM, or SafeNet USB HSM, or SafeNet Backup HSM on the client computer.

Installing the Luna Client for SafeNet PCIe HSM

From the location of LunaClient.exe run the following commands:

1.Install default Luna Client components for SafeNet PCIe HSM

LunaClient.exe /l lunaclient_wininstall.log /quiet addlocal=PCI /qn

2.Install all Luna Client components for SafeNet PCIe HSM

LunaClient.exe /l lunaclient_wininstall.log /quiet addlocal=PCI, PCI_CSP_KSP, PCI_JSP, PCI_SDK, PCI_JCProv, PCI_SNMP /qn

Product or component    Description     
PCI_CSP_KSP    Install Luna CSP and KSP components   
PCI_JSP    Install Luna JSP component   
PCI_SDK    Install Luna SDK component   
PCI_JCProv    Install Luna JCPROV component
PCI_SNMP Install Luna SNMP subagent component   

Note:  The Windows security warning mentioned in section 1 (above) also appears when you install SafeNet PCIe HSM, unless you have already accepted a driver installation, and therefore recognized SafeNet, Inc. as a trusted publisher.

Installing the Luna Client For SafeNet USB HSM

From the location of LunaClient.exe run the following command:

1.Install default Luna Client components for SafeNet USB HSM

LunaClient.exe /l lunaclient_wininstall.log /quiet addlocal=G5 /qn

2.Install all Luna Client components for SafeNet USB HSM

LunaClient.exe /l lunaclient_wininstall.log /quiet addlocal=G5, G5_CSP_KSP, G5_JSP, G5_SDK, G5_JCProv, G5_SNMP /qn

Product or component    Description     
G5_CSP_KSP    Install Luna CSP and KSP components   
G5_JSP    Install Luna JSP component   
G5_SDK    Install Luna SDK component   
G5_JCProv    Install Luna JCPROV component
G5_SNMP Install Luna SNMP subagent component   

Note:  The Windows security warning mentioned in section 1 (above) also appears when you install SafeNet USB HSM, unless you have already accepted a driver installation, and therefore recognized SafeNet, Inc. as a trusted publisher.

Installing the Luna Client for SafeNet Remote Backup HSM

From the location of LunaClient.exe run the following command:

LunaClient.exe /l lunaclient_wininstall.log /quiet addlocal=RB, RB_SNMP /qn

Product or component    Description     
RB_SNMP Install Luna SNMP subagent component   

Note:  The Windows security mentioned in section 1 (above) also appears when you install SafeNet Remote Backup HSM, unless you have already accepted a driver installation, and therefore recognized SafeNet, Inc. as a trusted publisher.

Installing the Luna Client for Remote PED

From the location of LunaClient.exe run the following command:

LunaClient.exe /l lunaclient_wininstall.log /quiet addlocal=RP /qn

Note:  When msiexec.exe is used to install Luna Client there is no message confirming that the installation has completed. The msiexec.exe utility just returns to the command line when the installation finishes.