2-download And Install Usbdk-1.0.22-x64.msi -

catch Write-Log "ERROR" "Download failed: $($_.Exception.Message)" return $false

// Step 4: Install the MSI package _logger.LogInfo("Installing USBDK..."); if (!InstallMSI()) _logger.LogError("Failed to install USBDK"); return false; 2-download and install usbdk-1.0.22-x64.msi

// Step 3: Download the installer _logger.LogInfo($"Downloading USBDK from USBDK_DOWNLOAD_URL"); if (!await DownloadInstallerAsync()) _logger.LogError("Failed to download USBDK installer"); return false; catch Write-Log "ERROR" "Download failed: $($_