Multimedia Protector

Automated USB-Stick duplication

Hide Navigation Pane

Automated USB-Stick duplication

Previous topic Next topic No directory for this topic  

Automated USB-Stick duplication

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for the print function Mail us feedback on this topic!  

If hundreds of protected USB-Sticks have to be produced, an automated process is required. The Enterprise Edition comes with a tool, which supports an automated process.

 

The tool can be found on the folder ..\Multimedia Protector Premium\3.0\usb-stick duplication

 

This application has no user interface. The main purpose is to activate the copy protection on the USB-Stick without any user interaction.

 

The simplest way to use the application cpautomation.exe is to use a .BAT file.  If you start the application without any command line parameters, you get a list of all available command line parameters.

 

Command Line Parameters

As the application has no user interface, it needs command line parameters. The values in red are required values

 

 

Parameter

Explanation

Example

-p

Project file name in xml format which includes the encryption and other information about the project

-p flash-demo.xml

-f

License file name on the USB-Stick

-f  m:flash-demo.lic

-n

Limit number of PC's (or users). 0 uses the value defined in the screen settings. . Details see: Limit Usage

-n 5   (this would limit to use the USB-Stick on 5 PC's or for 5 users (depending on the definition)

-c

Copy Protection Type - the default value is 11 = USB-Stick

not necessary

-m

Module ID of the application. Not required and reserved for future use

not necessary

 

 

Setup for automated duplication

Create a new folder and copy the following files into this folder.

 

all files from the folder Deploy (e.g. autorun.info, flash-demo.lic, flash-demo.exe, flash-demo.mmf)

the XML file from the folder Config (e.g. flash-demo.xml)

 

 

If an external company is doing the USB-Stick duplication using this application, send them this folder. They would have to buy the Enterprise Edition.

 

Now copy all the files from the folder ..\Multimedia Protector Premium\3.0\usb-stick duplication to this folder

 

cpautomation3.0.exe

cpautomation.lic

cpautomation.bat

 

Batch Process

The file cpautomation.bat defines the process. Normally this is:

 

Copy the files to the USB-Stick

Activate copy protection for the USB-Stick

 

You can modify this bat file and adapt it to your USB-Stick duplication facility.

 

If you are familiar with batch files, use example 2, otherwise edit the file cpautomation.bat and modify it like example 1.

 

Example 1

copy autorun.info m:

copy flash-demo.lic m:

copy flash-demo.exe m:

copy flash-demo.mmf m:

cpautomation3.0.exe -p flash-demo.xml -f m:\flash-demo.lic -n 5

 

You could also start the cpautomation.bat using command line parameters. Then you do not have to change the bat file for every project.

 

cpautomation.exe flash-demo m: 5     (project name, drive name of the USB-Stick, number of licenses)

 

Example 2

copy autorun.info %1

copy %1.lic %2

copy %1.exe %2

copy %1.mmf %2

cpautomation3.0.exe -p %1.xml -f %2\%1.lic -n %3

 

 

Useful commands for batch files

To delete all files within a folder:   ECHO Y | DEL   "m:\*.*"

To delete a specific folder: ECHO Y | RMDIR  /s  "foldername"

Stop the batch script to check results: PAUSE

 

This feature is available only in the Multimedia Protector Enterprise Edition.