Pack MSRs machine services

Source: Internet
Author: User

Today, I learned how to package the compiled robot service. By using the service compiled by vs2005, it will be compiled to the bin of the MSRs installation directory. However, vs2005 cannot package these services, it only produces DLL files.

How can we package services scattered in Bin? Of course, you must use the dssdeploy.exe tool.

Syntax:

 
Dssdeploy/P/M: "samples \ config \ servicetutorial1.manifest. xml" servicetutorial1.exe

You must specify a manifese. XML file, because each service has a manifest. XML. Of course, you cannot pack each service. To pack these services into one package, you need a new manifest. XML, new manifest. the XML file combines all services, so that the DSS manifest editor 2008 express tool is used.

Open this tool:

Drag the service to be packaged to the manifest area on the left and set the partner relationship. As shown in, appdrive's partner is approbotbase. You only need to press and hold approbotbase and drag it to approbotservice.

Drag and Drop all services and set the partner relationship. Select deploy => Create deployment package, or press the shortcut key Ctrl + Shift + B.

Select the storage location of the installation package and prompt that the package is successful. Then, multiple services are packed into one package, which is very simple.

In addition, if you want the installation package to check whether MSRs is installed on the target machine, you can use a CV command line switch, as shown below:

Dssdeploy/P/cV +/S-/M: "samples \ config \ servicetutorial1.manifest. xml" servicetutorial1.exe

If you want to deploy it on. net cf, use the/CF switch. The following are all command parameters:

Option Short Name Description

/Archivecompany: <String>

/AC

Archive company, visible in file details, defaults to "Microsoft"

/Archivecopyright: <String>

/ACP

Archive copyright, visible in file details, defaults to "Copyright (c) Microsoft 2006"

/Archivetitle: <String>

/

Archive title, visible in file details, defaults to "dssdeploy self extractor"

/Archiveversion: <String>

/AV

Archive version, visible in file details, defaults to "1.0.0.0"

/Assembly:{< URI >|< path>}

/

Assemblies containing services to be added to archive.

/Contract:{< URI >|< path>}

/C

DSS contracts specifying services to be added to archive.

/Createforcf[+ |-]

/Cf

Build the package for the Compact framework.

/CurrentVersion[+ |-]

/CV

Only deploy to an existing Microsoft robotics developer studio installation with the same version as this one.

/Delaysign[+ |-]

/DS

Delay-sign the generated assembly.

/Dependencies: <String>

/D

Additional file references or folders with references, that shocould be explicitly encoded. Wildcards may be used.

/Deploydisplayname: <String>

/DDN

Display name of Microsoft robotics developer studio installation identified by deployversionguid.

/Deployversionguid: <String>

/Dvg

Only deploy to an existing Microsoft robotics developer studio installation with this installation guid.

/Descriptionfile:{< URI >|< path>}

/DF

Filename of the package description text file.

/Keyfile:{< URI >|< path>}

/K

Filename of the strong name key to use to sign the generated assembly.

/License:{< URI >|< path>}

/L

Filename of the license agreement to show before installation, this must be an RTF file.

/Manifest:{< URI >|< path>}

/M

DSS manifest files specifying services to be added to archive.

/Name: <String>

/N

Archive display name. This is not the file name of the archive.

/Pack[+ |-]

/P

Generates archive in the form of self-extracting executable for deployment extends SS nodes.

/Readme:{< URI >|< path>}

/R

Filename of the README file to show after installation, this shocould be an HTML file.

/Setacls[+ |-]

/S

Set ACLs on the deployed files.

/Subdirectories[+ |-]

/Sub

Search for additional dependencies in all matches and subdirectores thereof.

/Target:{< URI >|< path>}

/T

Used in unpack operation. Target path for unpacking archive. Current directory used if not specified

/Unpack[+ |-]

/U

Extracts files from specified archive file to the target layout path specified using the/Target command line argument.

/Verbosity: {Off | error | warning | info | verbose}

/V

Verbosity level.

@ <File>

 

Name of a text file containing arguments. multiple arguments per line are allowed. an unquoted Hash (#) comments out the remainder of a line. an argument file is processed by removing comments, leading and trailing spaces and tabs, processing quotation marks and escape sequences, and then processing the arguments as if they were on the command line.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.