Quang,

I suggest you try running the installation as a user with Administrative 
privileges.  You may also find you need to temporarily disable UAC 
prompting for Administrative users only, which on Server 2012 R2 can be 
achieved by modifying

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"ConsentPromptBehaviorAdmin"=dword:00000000

To re-enable UAC prompting for Administrative users, set
"ConsentPromptBehaviorAdmin"=dword:00000005

Hope this helps,

Jon

On Wednesday, 24 February 2016 09:50:29 UTC, Stavros wrote:
>
> I'm using the following code for installing msi's, e.g.:
>
> $msi = @('D:\Temp\Pscx-3.2.0.msi', 'D:\Temp\notep.msi')
> foreach ($msifile in $msi)
> {
>     Start-Process -FilePath "$env:systemroot\system32\msiexec.exe" 
> -ArgumentList "/i `"$msifile`" /qn /passive" -Wait
> }
>
> Stavros
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/14d2178e-ffc2-48e7-8dca-fef6806b3545%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to