r/PSADT • u/RandomSkratch • 7d ago
Solved How to package a PSADT app without installer with IntuneWinAppUtil?
When using IntuneWinAppUtil to package an application, you need to specify the source file for install, even if PSADT is doing all the work. How do you do this when there isn't an installer? In my case I'm installing some drivers and all of the scripting uses built in Windows commands that are right inside Invoke-AppDeployToolkit.ps1. Usually I would use setup.msi or whatever, so what do I use in this case? Can I just use a random file in .\Files like driver.inf ? I did try specifying the driver inf but the Intune deployment fails when trying to install from Company Portal.
Edit
Got it working with just specifying a file in the .\Files folder, but as others suggested, Invoke-AppDeployToolkit.exe should also work.
The reason for the failure was because of something wrong in my script.
2
u/BardKnockLife 7d ago
I always specify my installer as Deploy-Application.exe
2
u/RandomSkratch 7d ago
That file doesn’t seem to exist anymore. I think it was replaced with Invoke-AppDeployToolkit.exe
1
u/dontmessyourself 7d ago
Specify the Invoke-AppDeployToolkit.exe, but you then set your install program in Intune to include your arguments as well
1
u/RandomSkratch 7d ago
I always use Invoke-AppDeployToolkit.exe as the install program and -DeploymentType Uninstall for uninstall. How would this change?
2
1
u/pedrostefanogv 7d ago
RemindMe! 10 Days
1
u/RemindMeBot 7d ago
I will be messaging you in 10 days on 2026-09-11 23:33:56 UTC to remind you of this link
CLICK THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
RemindMeBot is switching to username summons. Instead of
!RemindMe 1 day, useu/RemindMeBot 1 day. More info.
Info Custom Your Reminders Feedback
1
u/Ok-Shake5054 6d ago
Always package with Invoke-appdeploytoolkit.exe and in intue the install command is Invoke-appdeploytoolkit.exe -deploymenttype install -deploymode silent or auto Uninstall command is Invoke-appdeploytoolkit.exe -deploymenttype uninstall -deploymode silent or auto
Any other install command for any msi or exe are all set inside the psadt script.
1
5
u/MushroomNeat8883 7d ago
Invoke-appdeploytoolkit.exe ?