FriendsOfMDT / PSD

PowerShell Deployment
MIT License
505 stars 78 forks source link

Install Applications Task wont work after Sep 2024 (ver 0.2.3.0) update #179

Open jamirenlund opened 2 weeks ago

jamirenlund commented 2 weeks ago

Install Applications Task wont work after Sep 2024 (ver 0.2.3.0) update.

Install Spesific application that is added to the task sequence works fine.

PowerShellCrack commented 2 weeks ago

There is a bug in the PSDWizardNew that doesn't install apps when there are no Applications001 or ManadatoryApplications001 in the CustomSettings.ini. The logic in the code fails to export with a null value and it add the selected applications from the wizard either. A workaround is to add one Applications001 and a random guid. This doesn't cause any issue besides a log that state application not found. You can use a real application guid as well.

You can do something like this: image

PowerShellCrack commented 2 weeks ago

@GeoSimos Are you able to mark this as bug? Thanks

GeoSimos commented 2 weeks ago

@GeoSimos Are you able to mark this as bug? Thanks

Sure! Done.

jamirenlund commented 1 week ago

There is a bug in the PSDWizardNew that doesn't install apps when there are no Applications001 or ManadatoryApplications001 in the CustomSettings.ini. The logic in the code fails to export with a null value and it add the selected applications from the wizard either. A workaround is to add one Applications001 and a random guid. This doesn't cause any issue besides a log that state application not found. You can use a real application guid as well.

You can do something like this: image

Perfect thank you! Application install works with this workarround.