Quantcast
Channel: psappdeploytoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1769

New Post: Need the execute-process with runas...

$
0
0
I have an Application that runs pretty fine if i start PS as local administrator, but when i'm running it through SCCM2012, it fails.
Execute-Process -Path "Setup.exe" -Parameters "/s /v`"/qn INSTALLDIR=\`"$Env:ProgramFiles\Avid\iNEWS4\`"`"" -WindowStyle Hidden -IgnoreExitCodes '3010'
I know that this will work if i remove the "/s", and running through the installation wizar. The issue here, is that during the wizard i get this dialog Box that i needs to click "ok" during manually install, that might cause the problem when SCCM2012 tries to install it.
I do not get the dialogbox while running PS as local admin....

I have tried to use "-verb runas" into the commandline, With no Luck...

Viewing all articles
Browse latest Browse all 1769

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>