Packages
A package is a set of instructions sent to devices for execution. Use the ThingWorx Software Content Management utility to create, search for, test, and publish packages.
Packages allow service technicians to upload log files, project developers to download revised project files or upgrades to devices, and administrators to run scripts to perform maintenance on remote assets.
With ThingWorx Software Content Management, you can create and publish the following types of packages:
File-based packages
* 
File-based packages are supported on the ThingWorx WebSocket-based Edge MicroServer (WS EMS) and C SDK.
These packages include a script file that contains installation and roll-back instructions. A Wait instruction allows you to set a time period during which certain conditions must be met before the instructions are executed. However, not all devices can process all of these instructions.
For these file-based packages, the Lua script file is supported. For more information about Lua scripts, see Lua script.
Instruction-based packages
* 
eMessage Connector has built in support for instruction-based packages.
Instruction-based packages include a defined set of instructions that can be delivered as a part of package metadata.
The following table provides information about the types of instructions that are supported for different agents:
Instruction
Description
Download
Downloads a file from the file repository to the edge.
Execute
Executes a script on the edge.
Restart
Restarts the edge device.
Set Property
Sets the specified property value on the remote edge device.
Upload
Uploads a file from the edge to any file repository.
* 
Not all edge devices support all these instructions.
* 
You can configure which package types you want to see on the Create Package page. For more information, see Configuration: Package Types.
Was this helpful?