PSIsafe Discreet Installation via MSI installer
Our installer uses a bootstrapper to handle the prerequisites and then kick off the main MSI installer. This page explains the command line parameters available for the bootstrapper and ones that can be passed to the MSI.
Discreet Installations (No UI)
PSIsafe.Client.Install.12.1.2.1004.exe /extract "C:\PSIsetup"
cd "C:\PSIsetup"
msiexec /a "PSIsafeWindowsClient.msi" /qn /l*v c:\silent.log.
This will use the default directory in which the MSI resides.
OR Specify a specific installation directory instead:
msiexec /a "PSIsafeWindowsClient.msi" APPLICATIONFOLDER="C:\Program Files (x86)\PSIsafe\" /qn /l*v c:\silent.log.
NOTE: The silent MSI install doesn't set an internal APPDIR value and defaults to C:\, so it's important to use the above method to specify an installation directory. For example, by calling msiexec as follows, we can perform a silent installation of PSIsafe 12.1.2.1007:
msiexec.exe /i "PSIsafe.Client.Install.12.1.2.1007.msi APPDIR="C:\Program Files (x86)\CNG\CNG-SAFE\" /qn
Variables include PSIsafe Client version and APPDIR parameters.
Additional commands/parameters may be necessary to account for permissions and other elements of your unique environment. This process should be completed by your internal IT department.
Learn more about MSI Command line parameters and setup here:
https://www.advancedinstaller.com/user-guide/msiexec.html
Please note: there are two methods of installing an MSI discreetly, the command parameter /i after msiexec installs the application normally as the current user, whereas the parameter /a installs an an Administrator and can be done over a network. This may be an important consideration for your unique environment.
Discreet Uninstallations (No UI)
There are two commonly used methods for uninstalling PSIsafe discreetly. The first mirrors the above example and employs MSI Command line parameters, substituting the /i or /a installation parameter with the /x uninstallation parameter:
msiexec /x "PSIsafeWindowsClient.msi" /qn /l*v c:\silent.log.
The extraction and location of the original EXE used for the installation, as mentioned in the previous section, are necessary. Specify this with the same parameter, unless you have already used the cd command line entry to specify a working directory:
msiexec /x "PSIsafeWindowsClient.msi" APPLICATIONFOLDER="C:\Program Files (x86)\PSIsafe\" /qn /l*v c:\silent.log.
Discreet Uninstallations via Windows Management Instrumentation
Windows Management Instrumentation allows for the uninstallation of applications via a reference name. An example of a discreet uninstallation command line using Windows Management Instrumentation would be:
wmic product where name="SAFE" call uninstall /nointeractive
Comments
Article is closed for comments.