Provar can be installed and uninstalled using PowerShell but would be good to see it in the list of applications in PatchMyPC.
Try { ########## Uninstall old software on device ########## Start-Process -Wait -FilePath "C:\Program Files\Provar\uninstall.exe" -ArgumentList "/S" -PassThru} Catch { Write-Host "No installation of Provar found on device, continuing with installation"}
Start-Sleep -Seconds 60
########## Install new software on device ##########Start-Process -Wait -FilePath ".\Provar_setup_latest_win_64.exe" -ArgumentList "/S" -PassThru
########## Create version file ##########Try { $version | Out-File -FilePath $versionFilePath -Encoding utf8 Write-Host "Version file created: $versionFilePath"} Catch { Write-Host "Failed to create version file. Check permissions."}
Only thing is the file version isn't there so had to create a text file or something to track the version of the software installed.
Unfortunately, we will be unable to add Provar to our catalog at this time because the app does not include an ARP (Add/Remove Programs) entry, which our current detection scripts depend on. (including a DisplayName and Version number)
Please upvote the following idea to enable support for file version detection: https://ideas.patchmypc.com/ideas/PATCHMYPC-I-1591