Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 6ad326b

Browse files
Split out VDD installer into new function
1 parent 7dfe34c commit 6ad326b

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

PostInstall/PostInstall.ps1

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,10 @@ Function Server2019Controller {
804804

805805
Function InstallParsec {
806806
Start-Process "C:\ParsecTemp\Apps\parsec-windows.exe" -ArgumentList "/silent", "/shared" -wait
807+
}
808+
809+
Function InstallParsecVDD {
810+
ProgressWriter -Status "Parsec Virtual Display Driver" -PercentComplete $PercentComplete
807811
Import-Certificate -CertStoreLocation "Cert:\LocalMachine\TrustedPublisher" -FilePath "$env:ProgramData\ParsecLoader\parsecpublic.cer" | Out-Null
808812
Start-Process "C:\ParsecTemp\Apps\parsec-vdd.exe" -ArgumentList "/silent"
809813
$iterator = 0
@@ -819,7 +823,7 @@ Function InstallParsec {
819823
$configfile += "host_virtual_monitors = 1"
820824
$configfile += "host_privacy_mode = 1"
821825
$configfile | Out-File C:\ProgramData\Parsec\config.txt -Encoding ascii
822-
}
826+
}
823827

824828
#Apps that require human intervention
825829
function Install-Gaming-Apps {
@@ -940,8 +944,9 @@ $ScripttaskList = @(
940944
"Create-AutoShutdown-Shortcut";
941945
"Create-One-Hour-Warning-Shortcut";
942946
"disable-server-manager";
943-
"disable-devices";
944947
"Install-Gaming-Apps";
948+
"disable-devices";
949+
"InstallParsecVDD";
945950
"Server2019Controller";
946951
"gpu-update-shortcut";
947952
"clean-up";

0 commit comments

Comments
 (0)