To update a file or dependency within an existing package, open the Package Builder solution file (.pbs file) and re-run discovery to review changes to the dependency hierarchy. You can then update the package contents.
The following table provides common scenarios for changing files within a package before you build.
|You want to add a new file to a package.||Navigate to the new file either in the Dependencies View or File System View of the Input pane and then drag the file to the Editor.|
|A top-level input item on disk has a new name or location within the package, and a yellow triangle appears next to it in the Inputs pane.||Right-click on the item and select Find Missing Input Item on disk. Browse to the file location and select the item. Package Builder will re-perform discovery and update the name of the input item.|
|A dependent item on disk that is already in a package has a new name, and it shows up in the Editor pane as a yellow triangle and is in the disconnected state.||You can either (1) drag the renamed file from the Input pane to the old filename in the Editor or (2) drag the file from the Editor to the new filename in the Input pane. This will reconnect the file.|
|You no longer want to distribute a file in the package.||Select the file in the Editor and delete it.|
|You want to deploy an existing file to a different location in the same package.||Drag the file to the new location.|
|You want to deploy an existing file to a different package.||Right-click on the file and select Cut, then open the destination package and navigate to the new file location. Right-click on the destination directory and paste the file in to add it to the package.|
Avoid changing the Package name property of a package which is already in use. This is a unique identifier, and changing the name will cause NI Package Manager to treat the package as an unrelated package and allow a side-by-side installation of the old and renamed packages. The Display name property of a package will appear in the NI Package Manager user interface but does not uniquely identify a package.