I am trying to build an installer that deploys a driver using dpinst. My driver package is signed and contains the following files:
dpinst_x86.exe
dpinst_x64.exe
driver.inf
driver.cat
amd64\driver.dll
amd64\driver.sys
x86\driver.dll
x86\driver.sys
Can I add these files to my installer as temporary files and then have two custom actions (one that calls dpinst_x86.exe for 32-bit platforms and one that calls dpinst_x64.exe for 64-bit platforms) to deploy the driver?