rzander / ruckzuck

software package manager for windows
https://ruckzuck.tools
Microsoft Public License
221 stars 20 forks source link

Impossible to Create Adobe Reader Package to Intune #176

Closed OriginalGoschi closed 1 year ago

OriginalGoschi commented 2 years ago

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

rzander commented 2 years ago

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

OriginalGoschi commented 2 years ago

Both

rzander commented 2 years ago

"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 commented 2 years ago

"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...

Stensel8 commented 1 year ago

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

Sorry for the late reply 🥲