none
Intune - App installation failed - Error code: 0x87D1041C RRS feed

  • Question

  • Hi all,

    I get the following error message when trying to distribute software via intune:

    App installation failed19.8.2020 07:58:46

    Error code: 0x87D1041CThe application was not detected after installation completed successfully
    Suggested remediation
    Couldn't detect app because it was manually updated after installation or uninstalled by the user.

    The curious thing is that we have around 60 identical notebooks in use and use the same Windows image.
    Now the distribution runs through at 1/3, at 2/3 the message comes up.

    All Clients are compliant and have the same Update status


    the printer is not displayed to me, so the following message does not apply:

    The application was not detected after installation completed successfully

    I still cannot understand the following message:

    Couldn't detect app because it was manually updated after installation or uninstalled by the user.

    Some more Details

    Install command:
    powershell.exe -Executionpolicy Bypass ./printer_intune.ps1

    Uninstall command:
    powershell.exe -Executionpolicy Bypass ./remove_printer.ps1

    Detection rule:
    Key path: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\<Printername>
    Detection method: key exists

    PS Script:

    #Set-ExecutionPolicy Bypass
    
    rem copy files
    md C:\Temp\Ricoh\
    copy ricoh_treiber\*.* C:\Temp\Ricoh\
    md C:\Temp\Ricoh\disk1\
    copy ricoh_treiber\disk1\*.* C:\Temp\Ricoh\disk1\
    md C:\Temp\Ricoh\driver_web_installer\
    copy ricoh_treiber\driver_web_installer\*.* C:\Temp\Ricoh\driver_web_installer\
    md C:\Temp\Ricoh\misc\
    copy ricoh_treiber\misc\*.* C:\Temp\Ricoh\misc\
    md C:\Temp\Ricoh\wording\
    copy ricoh_treiber\wording\*.* C:\Temp\Ricoh\wording\
    
    C:\Windows\SysNative\pnputil.exe /add-driver "$psscriptroot\Driver C:\Temp\Ricoh\disk1\oemsetup.inf" /install 
    Add-PrinterDriver -Name "Ricoh IM C3500 PCL 6"
    Add-PrinterPort -Name "Ricoh_Printer_IP" -PrinterHostAddress 192.168.2.21
    Add-Printer "Ricoh IM C3500 PCL 6" -DriverName "Ricoh IM C3500 PCL 6" -PortName "Ricoh_Printer_IP"

    I would be very grateful for approaches

    Regards

    Wednesday, August 19, 2020 8:23 AM