ruckzuck icon indicating copy to clipboard operation
ruckzuck copied to clipboard

Impossible to Create Adobe Reader Package to Intune

Open OriginalGoschi opened this issue 2 years ago • 4 comments

Hi, i'm trying to deploy an Adobe Reader DC Package to Intune but it does not work. The MUI Version is working.

i'm getting this error in the end:

Invoke-WebRequest : "System.Object[]" kann nicht in den Typ "System.Uri" konvertiert werden, der für den Parameter "Uri" erforderlich ist. Die angegebene Methode wird nicht unterstützt. In C:\Users\tgosd\AppData\Local\Temp\intunewin\RZ4Intune.ps1:1240 Zeichen:24 + Invoke-WebRequest -Uri $rzSW.iconURL -OutFile "$($sourceFolder)\logo. ... + ~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException + FullyQualifiedErrorId : CannotConvertArgument,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

ERROR The setup file you specified cannot be accessed.

What did i wrong?

Best Regards Tobias

OriginalGoschi avatar Jun 09 '22 11:06 OriginalGoschi

Which Package are you trying : "AdobeReader DC" or "Adobe Acrobat Reader DC (64-bit)" ?

rzander avatar Jun 09 '22 12:06 rzander

Both

OriginalGoschi avatar Jun 09 '22 13:06 OriginalGoschi

"Adobe Acrobat Reader DC (64-bit)" is special.. so that would make sense if this does fail... But I will try. Have you tried the "preview" Version of RZ4Intune.exe from here: https://github.com/rzander/ruckzuck/releases/tag/1.7.2.4 ?

rzander avatar Jun 09 '22 13:06 rzander

"AdobeReader DC" was working fine... ...and as expected: "Adobe Acrobat Reader DC (64-bit)" failed... The x64 is special because the content depends if you have a version installed or not: -> https://cdn.ruckzuck.tools/rest/v2/getsoftwares?shortname=Adobe%20Acrobat%20Reader%20DC%20(64-bit)

As workaround, you can download the missing .MSP file directly into %TEMP%\2d6c2220-abc5-40b7-927a-fbd8ea36a535 and rerun RZ4Intune, but then your Intune Package contains the double of size as it includes the full install and the update...

rzander avatar Jun 09 '22 13:06 rzander

I've written a simple script to download the packages for Microsoft Intune 🙂

Sorry for the late reply 🥲

Stensel8 avatar Apr 29 '23 10:04 Stensel8