Supply license via command line during installation

2 posts · Closed

Tomas Guest
7 Nov 2018

Hi, we are automating the installation of SoftPerfect RAM Disk on our web servers.

We are able to create and configure the drive OK, but can't find a way to supply the license from the command line. Is there an option to do that? We are attempting to create a fully scriptable version of RAM Disk setup.

Thanks!

Ann SoftPerfect
7 Nov 2018

Yes, there is a way to install the licence automatically as a part of the configuration:

  1. Download this zip archive with a config template.
  2. Extract the CONFIG.XML file, open it in any text editor like Notepad, and insert your licence key where indicated.
  3. Place ramdisk_setup.exe and CONFIG.XML in the same folder, and launch it with this command
    ramdisk_setup.exe /SILENT /CONFIG=CONFIG.XML

I recommend trying these steps in a test environment first, to make sure everything works well.

Just in case, here is the CONFIG.XML file contents:

<?xml version="1.0" encoding="utf-8"?>
<ramdisk>
  <config>
    <useraccess>true</useraccess>
    <locallinks>false</locallinks>
    <trayicon>true</trayicon>
    <license>
    [b]INSERT LICENCE KEY HERE WITHOUT BOUNDARY MARKERS[/b]
    </license>
    <alloweject>true</alloweject>
  </config>
  <mount/>
  <autorun/>
</ramdisk>
This topic is closed. It has had no new posts for over a year, so the software versions it talks about may be out of date. Start a new topic in RAM Disk if you have a similar question.