I’m needing some help on deploying an .exe with some parameters. Below is the code I’m trying to use:
Execute-Process -Path “Setup.exe" -Parameters ‘-f silent.ini’
The install starts but is not running with the attached parameters.
Here is the command line that works:
Setup.exe -f silent.ini
Did you handle the internal quotes inside of the quotes?
You need to use the tick character, the one above the tilda ~ before each double quote that goes inside another set of double quotes. That is an escape character
If mine or Buster’s suggestions done work, please copy your script here, also the log file you’re seeing.
The default log location is c:\windows\logs\software.
Just do a copy and paste into the window.