aaronparker / packagefactory

A packaging factory for Microsoft Intune using Evergreen, VcRedist, and IntuneWin32App
https://stealthpuppy.com/packagefactory/
MIT License
63 stars 18 forks source link

PSADT deployment error #28

Open skyblaster opened 1 year ago

skyblaster commented 1 year ago

As far as I can tell, AdobeAcrobatReaderDC is the only PSADT example in this repo. I'm getting an 0x80070002 error when I try to deploy it. If I build the AdobeAcrobatReaderDCMUI package using the standard tooling, it deploys without issue.

Also, just a suggestion, but at 420MB, perhaps it would be better to use something smaller as an example, say Brave. https://github.com/brave/brave-browser/releases/latest

Thanks!

Constey commented 1 year ago

I've expected the same issue and I'm trying currently the workaround to specify as install command:

%SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -command .\Deploy-Application.ps1 instead of Deploy-Application.exe -DeploymentType "Install" -DeployMode "Silent"

maybe we need to write it as .\Deploy-Application.exe -DeploymentType "Install" -DeployMode "Silent"

Constey commented 1 year ago

I've expected the same issue and I'm trying currently the workaround to specify as install command:

%SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -command .\Deploy-Application.ps1 instead of Deploy-Application.exe -DeploymentType "Install" -DeployMode "Silent"

maybe we need to write it as .Deploy-Application.exe -DeploymentType "Install" -DeployMode "Silent"

mh okay, it's in all variantes "The system cannot find the file specified. (0x80070002)" but the output of the source looks not so bad: image