Set TransactionOption=Required at the package level and configure all tasks to TransactionOption=Supported (supported by default) . All of them will join the transaction, and if a failure occurs, the transaction will be rejected. Note. First, make sure that MSDTC (MS-coordinated distributed transaction coordinator) is enabled in the Control Panel--->Admin tool-->Services.
source share