$arguments = @( "/i", "`"$InstallerPath`"" "/quiet" "/norestart" )
// Step 2: Check if already installed if (!forceReinstall && IsUSBDKInstalled()) _logger.LogInfo("USBDK is already installed"); return true;
// Step 4: Install the MSI package _logger.LogInfo("Installing USBDK..."); if (!InstallMSI()) _logger.LogError("Failed to install USBDK"); return false;
# Check if already installed if ((-not $ForceReinstall) -and (Test-USBDKInstalled)) Write-Log "INFO" "USBDK is already installed" return $true