How to add license key via command line

Started by Tomas

Tomas

How to add license key via command line   07 November 2018, 15:27

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 command line. Is there an option to do that? We are attempting to create a fully scriptable version of RAM Disk setup.

Thanks!
SoftPerfect Support forum - Ann avatar image
Ann

Re: How to add license key via command line   07 November 2018, 15:43

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>
    INSERT LICENCE KEY HERE WITHOUT BOUNDARY MARKERS
    </license>
    <alloweject>true</alloweject>
  </config>
  <mount/>
  <autorun/>
</ramdisk>

Reply to this topic

Sometimes you can get the answer faster if you try the forum search and/or have a look at the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 **    **  ********  **     **  **     **  ******** 
 ***   **     **     **     **   **   **   **    ** 
 ****  **     **     **     **    ** **        **   
 ** ** **     **     *********     ***        **    
 **  ****     **     **     **    ** **      **     
 **   ***     **     **     **   **   **     **     
 **    **     **     **     **  **     **    **     

Message: