Install one EXE and MSI, and then make Registry changes

Is anyone able to give an example of the code to perform these in order:

  1. Install EXE
  2. Install MSI
  3. Make Registry changes

I can tinker around with the install parameters myself

Execute-Process -FilePath "$dirFiles\folder\executable.exe" -Arguments "/S"
Execute-MSI -Action Install -Path "$dirfiles\folder\msifile.msi" -Parameters '/q'
reg.exe import $dirfiles\folder\file.reg
1 Like

Thank you. I will play around with this. I appreciate you taking the time to reply

1 Like