vMix Forums
»
General
»
General Discussion
»
vMix silent install via Powershell
Rank: Newbie
Groups: Registered
Joined: 8/14/2020(UTC) Posts: 3 Location: New York
|
Is it possible to install vMix silently via Powershell?
e.g. something like that
$installFile = "vmix23.exe" Start-Process $installFile -ArgumentList "--silent" -Wait -NoNewWindow
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 9/10/2020(UTC) Posts: 3 Location: Rosario
|
Have you find the way to do it? I need to do exactly the same
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 9/10/2020(UTC) Posts: 3 Location: Rosario
|
Because I need to install vmix by using powershell, with no user-interaction
Commonly that's achieved by the proper non-interactive/silent flag
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 8/14/2020(UTC) Posts: 3 Location: New York
|
No, I did not figure it out yet. I am not a Windows person, so having been trying different Powershell options. My goals is to pre-bake AWS AMIs with Vmix pre-installed via Packer
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 9/10/2020(UTC) Posts: 3 Location: Rosario
|
Originally Posted by: vitbyst No, I did not figure it out yet. I am not a Windows person, so having been trying different Powershell options. My goals is to pre-bake AWS AMIs with Vmix pre-installed via Packer
So ignore my previous answer. This works: Start-Process -FilePath $installer -ArgumentList "/VERYSILENT" -Wait
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 8/14/2020(UTC) Posts: 3 Location: New York
|
yes, I think it worked. Testing it now. e.g.
########################## variables ########################################### $region = "us-east-1" $bucket = "s3://my-packer-s3-bucket-fakename" $downloadFolder = "vmix" $tempFolder = "C:\cfn\downloads" $region = "us-east-1" $installFile = "vmix23.exe" ################ function Get-TimeStamp {
return "[{0:MM/dd/yy} {0:HH:mm:ss}]" -f (Get-Date)
} ########################## download package ####################################
if (!(test-Path -Path $tempFolder)) {mkdir $tempFolder} aws s3 sync $bucket/$downloadFolder $tempFolder\$downloadFolder Write-Output "$(Get-TimeStamp) $installFile has been downloaded into $tempFolder\$downloadFolder" ########################## install package ###################################### Start-Process $tempFolder\$downloadFolder\$installFile -ArgumentList "/VERYSILENT" -Wait -NoNewWindow Write-Output "$(Get-TimeStamp) $installFile has been installed"
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
vMix silent install via Powershell
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close