Software:RemoteConvert

From SPCTools

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:07, 4 March 2009
Zsun (Talk | contribs)
(Instructions on install user defined service:)
← Previous diff
Revision as of 18:07, 4 March 2009
Zsun (Talk | contribs)
('''This software is included in the current TPP distribution.''')
Next diff →
Line 77: Line 77:
-= '''This software is included in the current [[Software:TPP|TPP]] distribution.''' =+'''This software is included in the current [[Software:TPP|TPP]] distribution.'''

Revision as of 18:07, 4 March 2009

RemoteConvert: TConvert the raw file remotely.

Contents

Description

Because several conversion programs depend on Windows-only vendor libraries from different manufacture, this software will enable you converting your raw files in you local machine without logging in to remote window machine.

Requirements

The following is a list of software need to be installed in window machine before you can convert each type of the raw file.

How to use it

Suppose the remote window machine is named R machine. The local linux machine is named L machine.

On R machine:

mkdir C:\convert Download converter executable and save into C:\convert

Download RemoteConvertServer.pl and lib dir, and save into C:\convert

Download 7-zip, unzip and save it into C:\convert\7-zip

cd C:\convert

perl RemoteConvertServer.pl

On L machine:

Download remoteconvert.pl and save into some dir.

./ remoteconvert.pl : show some examples command to run the software.

./ remoteconvert.pl –showoptions: show all options available for each converter

Install RemoteConvert as service

The service will stop if the user session is time out or the window machine is restarted. I complied the perl code into a executable using triall version of perl2exe, and installed it as service on a window 2000 and a window server 2003 sucessfully, thus the service will keep running without user log in and restart by itself after the computer restarts.

Instructions on install user defined service:

  1.Use perl2exe or other software to convert the perl program
   (server side) to exectuable. Save your perl executable into
   C:\convert
  2.Download and install resource kit tool from Microsoft 
    website according to which version of window machine 
    you have.
    Window server 2003:[1]   
    Window 2000:[2]
    Alternatively if you can get INSTSRV.EXE and SRVANY.EXE somewhere, you don’t need to install the whole resource kit.
    Suppose these two executable is located in “C:\reskit”
  4.At a MS-DOS command prompt(running CMD.EXE), type the 
    following  command:
    C:\reskit\INSTSRV.EXE RemoteConvert C:\reskit\SRVANY.EXE
  5.Run Registry Editor (start|run|regedit) and locate the following subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteConvert 
    a. From the Edit menu, click New Key. Type the following
       and click OK:
       Key Name: Parameters
       Class : <leave blank> 
    b. Select the Parameters key. 
       From the Edit menu, click New Value. Type the following
       and click OK:
       Value Name: Application
       Data Type: REG_SZ
       String: C:\convert\RemoteConvertServer.exe
    c. Select the Parameters key
       From the Edit menu, click New Value. Type the following
       and click OK:
       Value Name: AppDirectory
       Data Type: REG_SZ
       String: C:\convert
    d. Close Registry Editor.
  6: start the service
    control panel -> administrative tool -> component service
    Find the "RemoteConvert" 
    Click it
    on popup window, click start


This software is included in the current TPP distribution.


Additional methods for obtaining the software are:

  • Download from SourceForge Sashimi project file release: []
  • Browse sourcecode from on Sashimi project SVN[].
Personal tools