Commands for unattended installation and licence deployment
2 posts
I am looking for info on commands for unattended installation and licence deployment of Network Scanner and Switch Port Mapper.
Thank you.
Both installers run unattended when started with /VERYSILENT in the command line (use /SILENT instead if you want to see a progress window). Run them as an administrator, or as SYSTEM from your deployment tool.
Network Scanner can take its licence for every user on a machine from one file. Create a text file called netscan.lic with this content, replacing the placeholder with your key:
<?xml version="1.0"?> <network-scanner-license> <license>YOUR LICENCE KEY</license> </network-scanner-license>
For the key, paste only the text between the KEY BEGIN and KEY END marker lines, without those marker lines themselves; line breaks inside the key are fine. Then copy the file to %ProgramData%\SoftPerfect Network Scanner\netscan.lic on each machine, making sure the Users group can read it. On startup, Network Scanner finds the file and accepts the key with no prompt. While that file is present, Network Scanner treats it as read-only, so the per-user preferences, such as the interface language, are not saved between sessions.
Switch Port Mapper keeps its licence per-user in %APPDATA%\SoftPerfect\Switch Port Mapper\NSMapGUI.lic. The easiest way is to enter the key once on one PC, then copy that file into the same folder for each user who will run it, using a logon script or a Group Policy file preference. If you also copy it into C:\Users\Default\AppData\Roaming\SoftPerfect\Switch Port Mapper\, Windows will give it to every new profile created on that machine.