![]() ![]() The call uninstall command appears to be picking up the proper application based off of a valid identifying number and correct version number, but is failing to uninstall. Run cmd wmic product where name="Ninite Agent (MSI)" call uninstall - this returns the following:Įxecuting (\\MACHINENAME\ROOT\CIMV2:Win32_Product.IdentifyingNumber="",Name="Ninite Agent (MSI",Version=") 1.0.0.0 "->Uninstall()) Run cmd wmic product get name - this returns results for Ninite being "Ninite Agent (MSI)" However, it can be argued that Scoop is focusing on a different type of setup than Chocolatey so package count may not be a good comparison. The most common knowledge to my understanding for this would be. While Chocolatey seems to have a huge selection of packages including some windows updates, Scoop has a much smaller selection mainly focused on command-line tools. We are not paying for PDQ's licensing (yet) so I am trying to figure out the best way to uninstall the agent from a machine. Start-Process "msiexec.I recently was testing out Ninite Pro (just to see how it acted compared to PDQ) and decided I want to uninstall it from all machines. $logFile = '.log' -f $msifile.fullname,$DataStamp $DataStamp = get-date -Format yyyyMMddTHHmmss $FileExists = Test-Path $msifile -IsValid $msifile = Get-ChildItem -Path $out -File -Filter '*.ms*' #Download and Run MSI package for Automated install This worked when I did it, but let me know if it worked for you. Start-Process -FilePath "msiexec.exe" -ArgumentList "/i $out /quiet /norestart /l c:\installlog.txt"Īs you stated you have an MSI of your choice, but I justed used the MSI from Frontmotion Invoke-WebRequest -uri $uri -OutFile $out This is my current script: #Download and Run MSI package for Automated install The share the software is in is open to everyone on network. I downloaded the exe from mozilla site and msi from front motion. Contact the application vendor to verify this is a valid windows installer package. This installation package could not be opened. ![]() When I navigate to the folders where I downloaded firefox msi to (C:\, C:\users\public, and my desktop) I get the following errors: I am trying to put together a powershell script to download firefox msi from sharefile and silently install. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |