Project Import and Export Commands

MSI Package Builder has commands that allow you to export and import projects to/from the project archive file. Using the project archive file, you can transfer a project to another computer or back up a project as a single file.

You can use the following command to export a project:

PackageBuilderCMD.exe -export-project <project-path> <project-archive>

Parameter

Optional

Description

<project-path>

No

The path to the project to export.

<project-archive>

No

The path to the destination project archive file *.pbproj.

Example:

PackageBuilderCMD.exe -export-project c:\Projects\AdobeReader c:\Projects\AdobeReader.pbproj

To import a project from the project archive file, you can run the following command:

PackageBuilderCMD.exe -import-project <project-archive> <project-location> [-n <project-name>]

Parameter

Optional

Description

<project-archive>

No

The path to the project archive file *.pbproj to import.

<project-location>

No

The path to the folder to import the project content to.

-n <project-name>

Yes

The name of the project to be created to store the imported data.

Example:

PackageBuilderCMD.exe -import-project c:\Projects\AdobeReader.pbproj c:\Projects\AdobeReader