i try to run a execute-process With
Execute-Process -verb runas -Path "Setup.exe" -Parameters "/s /v`"/qn INSTALLDIR=\`"$Env:ProgramFiles\Avid\iNEWS4\`"`"" -WindowStyle Hidden -IgnoreExitCodes '3010'
The installer command line:
"Deploy-Application.EXE" Install -DeployMode "Silent"
But it failsall the time.
I know that, if i run this script as local admin on a computer, it will install the Application the way i want it to, but since i'm running through SCCM 2012 i get an error exit code -3.
During mannuall installation With sccm2012(removing /s from command line), i get a dialogbox during installation that i need to click ok to continue, and i beleive that this dialogbox stops SCCM installing the Application...
Thats why i need the -verb runas command to work(or other solution), so the installation will runas administrator...