Forum Discussion

zippy5151's avatar
zippy5151
Copper Contributor
Oct 24, 2024

Install pending app not installing

Hi, I am trying to install a Win32 app SQL Management Studio (SSMS). The app installed on 2 computers but 5 others are "Install Pending". Anyone had this before? How can I remotely access the log file on the c: drive?

 

Thanks

    • zippy5151's avatar
      zippy5151
      Copper Contributor
      Hi, thanks f
      but I still get install pending message. The log file is not clear for the fault?

      Thanks
      • micheleariis's avatar
        micheleariis
        Steel Contributor

        zippy5151 Hi, as an alternative have you already thought of using WinGet?
        Below is a script that you could distribute via Intune

         

        # Check if Winget is installed
        if (-Not (Get-Command winget.exe -ErrorAction SilentlyContinue)) {
        Write-Host "Winget is not installed. Installing..."

        # Download the App Installer that includes Winget
        Invoke-WebRequest -Uri "https://aka.ms/getwinget" -OutFile "$env:TEMP\Microsoft.DesktopAppInstaller.msixbundle"

        # Install the App Installer
        Add-AppxPackage -Path "$env:TEMP\Microsoft.DesktopAppInstaller.msixbundle"
        }

        # Install SQL Server Management Studio using Winget
        winget install --id Microsoft.SQLServerManagementStudio -e --accept-package-agreements --accept-source-agreements --silent

Resources