I'm testing the same templates and I ran into the same problem. Add the action of Partition and set the action type to Mount partition. Then set Disk = 0, Partition id = 2, and Logical disk = D (without a semicolon). Set this up before the Inject script action.
↧