Hi,
The package type is not relevant in this case.
Any .DLL attached custom action will run depending on its execution condition. However, if a 64-bit DLL attached custom action is executed on a 32-bit machine, it will most probably fail.
Here's an article to help you with this.
All the best,
Mihai