Calling a local exe and making it run a local dll file

I’m trying to create a psadt app for Intuit Profile 2023. In the past we have use bat files to accomplish this with using a iss file. I would like to move away from the old clunky bat file method and convert this install to PSADT. I’ve got everything working upto calling a local exe and calling a local dll file. Can anyone give me a hand with this?

Here is the command from the bat file:
"%ProgramFiles(x86)%\Profile\RegAsmIntuit.exe" -s "%ProgramFiles(x86)%\Profile\CloudBridgeProxy.dll

So far I have this:
Execute-process -Path "$EnvProgramFilesx86\Profile\RegAsmIntuit.exe
I get stuck after this.

Any help would be appreciated.

Try this

Execute-process -Path "$EnvProgramFilesx86\Profile\RegAsmIntuit.exe" -Parameters "$EnvProgramFilesx86\Profile\CloudBridgeProxy.dll"

You can get more info on Execute-process here.

I will give that a try in the morning. Thank you so much for the reply.