Læs mere her, eller kontakt os på info (at) alfasoft.com.
Sigmaplot 14.5 Silent Mode Installation/Uninstallation
There are two approaches for silent mode installation with the command line.
- Silent Install Tool (recommended)
- MSI Installer
The same approach used for installation should be followed for uninstallation as well. Please note that the silent uninstallation will only work if SigmaPlot has been installed in silent mode. If SigmaPlot was installed thru UI mode or a regular product installer, you need to use the same approach for uninstallation.
1. Silent Install Tool
The Silent Install Tool can be used for 3 types of activities:
1A. INSTALL – For Installation
1B. UNINSTALL – For Uninstallation
1C. SHOW (UN) INSTALLCMD, – Just to display the command, which can be used to execute MSI.
The Silent Install Tool package can be downloaded from this address:
www.systat.de/Transfer/SPW_14_5_SilentInstaller.zip.
The downloaded ZIP package contains two files: SPW_14_5_SilentInstaller.exe and SilentInstaller.bat.
The MSI file is included in the SPW14_5_Net.zip file which can be downloaded from the https://systatsoftware.com/networkusers/ page.) All three files should go into the same folder. This utility (SPW_14_5_SilentInstaller.exe) must be executed in a command window opened in administrator mode (Right-click > Run as administrator).
The SilentInstaller.bat batch file should not be executed directly:
SPW_14_5_SilentInstaller.exe will execute the batch file with the required parameters.
Note: Syntax guideline information will be displayed by using the keywords /? or HELP
Example
- SPW_14_5_SilentInstaller.exe /?
- SPW_14_5_SilentInstaller.exe /HELP
1A. INSTALL – Used to install SigmaPlot 14.5
General syntax
- SPW_14_5_SilentInstaller.exe CMDLINE="TYPE=INSTALL USERNAME=xxxxxx SERIALNUMBER=775yyyyyy"
- SPW_14_5_SilentInstaller.exe CMDLINE="TYPE=INSTALL USERNAME=xxxxxx SERIALNUMBER=775yyyyyy INSTALLPATH=zzzzzz LOG=ssssss"
Examples
- SPW_14_5_SilentInstaller.exe CMDLINE="TYPE=INSTALL USERNAME=SIGMAUSER SERIALNUMBER=775111111"
- SPW_14_5_SilentInstaller.exe CMDLINE="TYPE=INSTALL USERNAME=SIGMAUSER SERIALNUMBER=775111111 INSTALLPATH=C:\SigmaPlot LOG=C:\Sigma.log"
Parameters in the above syntax
- Providing TYPE, USERNAME and SERIALNUMBER values are mandatory.
- INSTALLPATH and LOG are optional parameters.
- If INSTALLPATH is not mentioned installation will be done on the default path (c:\progra~2\SigmaPlot\SPW14_5).
- If LOG is not mentioned, by default it creates installer log and utility log in the current utility running folder.
- Note: The path with progra~2 installs to the x86 folder of a 64-bit Windows. For 32-bit Windows, please use progra~1.
1B. UNINSTALL – Used to uninstall SigmaPlot 14.5
General syntax
SPW_14_5_SilentInstaller.exe CMDLINE="TYPE = UNINSTALL"
Note: Silent uninstallation will only work if SigmaPlot has been installed in silent mode.
1C. SHOWINSTALLCMD, SHOWUNINSTALLCMD - Used to display the MSI command
SHOWINSTALLCMD – Install Command
General syntax
- SPW_14_5_SilentInstaller.exe CMDLINE="TYPE=SHOWINSTALLCMD USERNAME=xxxxxx SERIALNUMBER=775yyyyyy"
- SPW_14_5_SilentInstaller.exe CMDLINE="TYPE=SHOWINSTALLCMD USERNAME=xxxxxx SERIALNUMBER=775yyyyyy INSTALLPATH=zzzzzz LOG=ssssss"
Examples
- SPW_14_5_SilentInstaller.exe CMDLINE="TYPE=SHOWINSTALLCMD USERNAME=SIGMAUSER SERIALNUMBER=775111111"
- SPW_14_5_SilentInstaller.exe CMDLINE="TYPE=SHOWINSTALLCMD USERNAME=SIGMAUSER SERIALNUMBER=775111111 INSTALLPATH=C:\SigmaPlot LOG=C:\Sigma.log"
SHOWUNINSTALLCMD – UnInstall Command
- SPW_14_5_SilentInstaller.exe CMDLINE="TYPE=SHOWUNINSTALLCMD"
Parameters in the above syntax
- xxxxxx - Replace this with username value (Ex.SIGMAUSER)
- 775yyyyyy - Replace this with a serial number value where the first three digits of the serial number should start with 775 and the serial number should be a nine-digit value (Ex. 775111111).
- zzzzzz - Replace this with physical folder location for the installation path
- ssssss - Replace this with the physical location of the log file in local machine (Ex: C:\TestLog\Sigma.log)
2. MSI Installer
You can run the SigmaplotInstaller.msi directly from a command line window opened in administrator mode (Right-click > Run as...).
The MSI file is part of the Silent Install Tool package download (SPW14_5_Net.zip) at:
https://systatsoftware.com/networkusers/
2A. Install
msiexec /i SigmaplotInstaller.msi CMDLINE="SILENT=TRUE ALLUSERS=TRUE USERNAME=ADMIN SERIALNUMBER=775251111 INSTALLPATH=C:\ABCDE" /qn
2B. Uninstall
msiexec /x c:\SigmaPlot\SigmaplotInstaller.msi CMDLINE="SILENT=TRUE ALLUSERS=TRUE USERNAME=ADMIN SERIALNUMBER=775251111 INSTALLPATH=$PROGRAMFILES$Sigmaplot\SPW14_5" /qn
Note
- Please note that all the fields are mandatory for MSI install/uninstall.
- MSI based Silent uninstallation will only work if SigmaPlot has been installed in silent mode thru MSI.
2C. Activation
To activate SigmaPlot 14.5 from a command line, there is a separate license utility tool similar to the license utility displayed in Sigmaplot.
Name of the Tool: SPW_14_5_LicenseUtility_cmd.exe, available in the SPW14_5 program directory.
It needs cpprest120_xp_2_9.dll, hasp_windows_107466.dll, and haspds_windows.dll (in the same directory). So this tool must be executed from the SPW14_5 program directory.
Command lines
- SPW_14_5_LicenseUtility_cmd.exe CMDLINE="LICENSETYPE=PRODUCTKEY KEY=xxxx LOGFOLDERPATH=zzzz"
- SPW_14_5_LicenseUtility_cmd.exe CMDLINE="LICENSETYPE=V2CFILE FILE=yyyy LOGFOLDERPATH=zzzz"
Parameters in the above syntax
- /? Displays expected license apply syntax. This is the same as not typing any options.
- CMDLINE: This is a mandatory beginning keyword followed by valid license arguments.
- LICENSETYPE: This refers to an applying license type either by product key or v2c file.
- PRODUCTKEY: This keyword for LICENSETYPE mentions that the applying license type is product key.
- V2CFILE: This keyword for LICENSETYPE mentions that the applying license type is v2c file.
- KEY: This is a keyword followed by the supplied product key.
- FILE: This is a keyword followed by the supplied v2c file path location.
- LOGFOLDERPATH: This is a keyword followed by a log file path which will be generated during the applicable license process.
- xxxx: This variable refers to the provided license product key.
- yyyy: This variable refers to the physical location of the given v2c file in the license applying machine.
- zzzzz: This variable refers to the physical location of the log file directory path in the license applying machine.
Examples
- SPW_14_5_LicenseUtility_cmd.exe CMDLINE="LICENSETYPE=PRODUCTKEY KEY=XXXXX-XXXXXX-XXXXXX-XXXXX-XXXXX LOGFOLDERPATH=C:\TEST"
- SPW_14_5_LicenseUtility_cmd.exe CMDLINE="LICENSETYPE=V2CFILE FILE=E:\Sigmaplot\SPW_MI_SA_P.v2c LOGFOLDERPATH=C:\TEST"
Appendix (A)
License Manager Silent Installation
A separate document with complete details on License manager installation is available separately. This document mentions a short procedure to support the silent installation of the license manager. Please refer to the detailed document to manage the license manager.
Sigmaplot 14.5 license manager can be installed thru SigmaPlot license utility (Recommended) and direct command-line installation tool (Haspdinst.exe).
License manager can be installed silently by opening a command-line window with administrative rights on the License Manager machine (Right-click > Run as Administrator).
The License Manager installation files are included in the SPW14_5_Net.zip file which can be downloaded from the https://systatsoftware.com/networkusers/ page. The command-line installation file called haspdinst.exe is part of the package.
There is also a copy of the file in the program directory of the SigmaPlot 14.5 installed folder. Please copy it to a directory on the License Manager machine.
General Syntax
- haspdinst.exe/i - to install Sigmaplot License Manager.
- haspdinst.exe/r - to remove Sigmaplot License Manager.
Note
- SigmaPlot 14.5 license manager can be administered using the link http://localhost:1947 after installing the license manager on the server machine.
- The Network license for Sigmaplot needs to be activated on the license manager for the client to access the license.
- Network license can be activated in silent mode thru the same activation tool, follow the same procedure. Alternatively, the network license can be activated thru License Utility UI.