NVIDIA PhysX System Software: Difference between revisions

From LANCommander
No edit summary
No edit summary
 
Line 11: Line 11:
|RequiresAdmin = False
|RequiresAdmin = False
|Contents = <syntaxhighlight lang="powershell" line>
|Contents = <syntaxhighlight lang="powershell" line>
$Installed = Get-Package "NVIDIA PhysX System Software*"
$Installed = Get-Package | Where-Object -Property Name -like "NVIDIA PhysX System Software*"


if ($Installed.Length -ge 0) {
if ($Installed.Length -ge 0) {

Latest revision as of 18:12, 19 December 2023


Downloads

Version Release Date File
9.14.0702 Download

Install Detection

This script will look at the installed package list from Windows for anything matching PhysX.

$Installed = Get-Package | Where-Object -Property Name -like "NVIDIA PhysX System Software*"

if ($Installed.Length -ge 0) {
    $Host.SetShouldExit(1)
} else {
    $Host.SetShouldExit(0)
}

Install Script

This script installs the NVIDIA PhysX redistributable silently.

Write-Host "Installing PhysX (9.14.0702) Redistributable..."
Start-Process -FilePath "msiexec.exe" -ArgumentList '/i "PhysX-9.14.0702-SystemSoftware.msi" /quiet /norestart' -Wait -Passthru
Write-Host "Done!"