logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
vitbyst  
#1 Posted : Friday, August 14, 2020 10:48:49 AM(UTC)
vitbyst

Rank: Newbie

Groups: Registered
Joined: 8/14/2020(UTC)
Posts: 3
United States
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
martincastro.cm  
#2 Posted : Thursday, September 10, 2020 6:34:37 AM(UTC)
martincastro.cm

Rank: Newbie

Groups: Registered
Joined: 9/10/2020(UTC)
Posts: 3
Argentina
Location: Rosario

Have you find the way to do it?
I need to do exactly the same
doggy  
#3 Posted : Thursday, September 10, 2020 6:37:56 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,243
Belgium
Location: Belgium

Thanks: 294 times
Was thanked: 960 time(s) in 794 post(s)
why? if i may ask ?
martincastro.cm  
#4 Posted : Thursday, September 10, 2020 6:47:55 AM(UTC)
martincastro.cm

Rank: Newbie

Groups: Registered
Joined: 9/10/2020(UTC)
Posts: 3
Argentina
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
vitbyst  
#5 Posted : Saturday, September 12, 2020 4:30:46 AM(UTC)
vitbyst

Rank: Newbie

Groups: Registered
Joined: 8/14/2020(UTC)
Posts: 3
United States
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
martincastro.cm  
#6 Posted : Saturday, September 12, 2020 8:03:56 AM(UTC)
martincastro.cm

Rank: Newbie

Groups: Registered
Joined: 9/10/2020(UTC)
Posts: 3
Argentina
Location: Rosario

Originally Posted by: vitbyst Go to Quoted Post
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
vitbyst  
#7 Posted : Tuesday, September 15, 2020 1:26:40 AM(UTC)
vitbyst

Rank: Newbie

Groups: Registered
Joined: 8/14/2020(UTC)
Posts: 3
United States
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"
Jp12687  
#8 Posted : Sunday, December 8, 2024 12:15:59 AM(UTC)
Jp12687

Rank: Newbie

Groups: Registered
Joined: 6/6/2020(UTC)
Posts: 8
United States
Location: New york

I know it’s been years has anyone had any luck recently with vmix 27? I seem to get snagged during install and haven’t been able to get it to complete.

Even better if I can embed a license into the scripting
Users browsing this topic
Guest
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.