D.3 Additional Scenarios

Perform the tasks listed in the following table to understand the subsequent behavior of the Install action set on Device A and Device B. When you begin, Device A has an Install action set with version 1 (see Step 4) and Device B has an Install action set with version 4 (see Step 6) in Section D.2, Sample Scenario.

Task

Device A

Device B

Modify the Install action set of the latest published version to create a sandbox and then publish the sandbox.

Starting value of the local version identifier: 4

New value of the local version identifier: 5

The actions in the Install action set of the latest published version of the bundle, which has the local version identifier set to 5, are executed on the device.

The actions in the Install action set of the latest published version of the bundle, which has the local version identifier set to 5, are executed on the device.

Modify a property of bundle other than the Install action set of the latest published version to create a sandbox and then publish the sandbox.

Starting value of the local version identifier: 4

New value of the local version identifier: 4

The actions in the Install action set of the latest published version of the bundle, which has the local version identifier set to 4, are executed on the device.

Because the version of the previously run Install action set on the device is the same as the value of the local version identifier, the Install action set does not run on the device.

Create a sandbox from an older version of the bundle, modify the Install action set to create a sandbox, and then publish the sandbox.

Starting value of the local version identifier: 4

New value of the local version identifier: 5

The actions in the Install action set of the latest published version of the bundle, which has local version identifier set to 5, are executed on the device.

The actions in the Install action set of the latest published version of the bundle, which has local version identifier set as 5, are executed on the device.

Create a sandbox from an older version of the bundle, modify a property of the bundle other than the Install action set to create a sandbox, and then publish the sandbox.

Starting value of the local version identifier: 4

New value of the local version identifier: 4

Because the version of the previously run Install action set on the device is the same as the value of the local version identifier, the Install action set does not run on the device.

The actions in the Install action set of the latest published version of the bundle, which has the local version identifier set to 1, are executed on the device.

If a sandbox version of a bundle is assigned to a test device or user, the execution of the Install action set depends on whether the action set is modified or not. Even though there is no change in the bundle version, the action set runs on the device if it has been modified.

NOTE:When you have a bundle that references a file on a share and if the file in the share location has changed, you need to modify the action set in which you are referring the file, if you want the bundle to be reinstalled with the new file.