Software:RemoteConvert

From SPCTools

(Difference between revisions)
Jump to: navigation, search
Revision as of 17:56, 4 March 2009
Zsun (Talk | contribs)
(Install RemoteConvert as service)
← Previous diff
Revision as of 17:58, 4 March 2009
Zsun (Talk | contribs)
(Instructions on install user defined service:)
Next diff →
Line 38: Line 38:
== Instructions on install user defined service: == == Instructions on install user defined service: ==
- Use perl2exe or other software to convert the perl program (server side) to exectuable. + 1.Use perl2exe or other software to convert the perl program (server side) to exectuable. Save your perl executable into C:\convert
- Suppose your perl executable is located in C:\convert+ 2.Download and install resource kit tool from Microsoft website according to which version of window machine you have.
- 1.Download and install resource kit tool from Microsoft website according to which version of window machine you have.+ Window server 2003:[ link]
- +
- Window server 2003:+
- +
-http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en+
Window 2000: Window 2000:

Revision as of 17:58, 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:[ link]
  
  Window 2000: 

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=3e89879d-6c0b-4f92-96c4-1016c187d429

  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”

  2.At a MS-DOS command prompt(running CMD.EXE), type the following  command:
  
  C:\reskit\INSTSRV.EXE RemoteConvert C:\reskit\SRVANY.EXE
  
  3.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.
  4: 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