FriendsOfMDT / PSD

PowerShell Deployment
MIT License
525 stars 83 forks source link

Mandatory applications in a specific Task Sequence #119

Open Pieshka opened 10 months ago

Pieshka commented 10 months ago

Hello! I'm new to MDT and PSD, so my apologies if it's a trivial question. I want to configure mandatory applications but only in specific Task Sequences (they will be needed because I'm also applying some local group policies to them and pinning them to the taskbar using XML layout) while allowing users to select other software to install, i.e., a user boots into LiteTouch, selects TS with mandatory software, while also being able to select other apps. Furthermore, I also want to create Task Sequences that are not constrained by customizations (group policies, taskbar layouts, etc.) and mandatory apps, but users can freely select apps whichever they want to have installed, including those that shouldn't be mandatory (so I can't just hide them). Putting MandatoryApplications001= in CustomSettings.ini in the Default section is not the solution that I am looking for, the apps will apply to every TS. So I have created in the Control directory a file named CustomSettings-TS.ini, which I provided into the "Gather" step in my TS, and there I tried to specify MandatoryApplications001=, but it's not working at all. When deploying OS, my application is not being copied over and installed. When I put my mandatory app in CustomSettings.ini in the Default section, everything works, but as I said, that's not the solution I'm looking for. Have some idea why it isn't working? It should be, in normal MDT, based on what I read on the Internet. Maybe I am making it more complicated, but I think using the MandatoryApplications option specific to TS is my only choice. I don't think adding each app as an "Install a single application" step and then "Install multiple applications" to allow user-selected apps to be installed is a good idea (the user can select an app that is installed via other steps, making redundant installations). Thanks in advance!

TS which I want to have mandatory apps: Screenshot 2024-01-07 204453

CustomSettings-TS.ini: Screenshot 2024-01-07 204459

Pieshka commented 10 months ago

I've tried putting MandatoryApplications001 in default section but no avail. Application is still not installing.

Screenshot 2024-01-08 163414

Audigy35 commented 10 months ago

add to custom.ini skipapplications=no

PowerShellCrack commented 2 months ago

Can u try the new release? I'd be curious if this is not working now. Be sure to use the provided cs.ini and add ur items to it.

DeploymentBunny commented 2 months ago

Yes, later today! /m

Skickat från Outlook för iOShttps://aka.ms/o0ukef


Från: PowerShellCrack @.> Skickat: Friday, September 20, 2024 12:38:07 AM Till: FriendsOfMDT/PSD @.> Kopia: Mikael Nystrom @.>; Assign @.> Ämne: Re: [FriendsOfMDT/PSD] Mandatory applications in a specific Task Sequence (Issue #119)

Can u try the new release? I'd be curious if this is not working now. Be sure to use the provided cs.ini and add ur items to it.

— Reply to this email directly, view it on GitHubhttps://github.com/FriendsOfMDT/PSD/issues/119#issuecomment-2362320134, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADZWWO54KKEYV7JKTEJGDFTZXNG47AVCNFSM6AAAAABOQ3QVDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRSGMZDAMJTGQ. You are receiving this because you were assigned.Message ID: @.***>