ないことには~ない vs てからでないと

ないことには~ない

てからでないと

Can anyone tell me the difference between these two? Both are basically:

Unless A is done, B can’t happen.

And I keep getting them wrong because it’s asking for the other one. Especially when it’s verbs since they both work with verbs.