Open gplamondon opened 4 years ago
This is something I'd love to be able to see done as well. Right now this would require significant changes to the snapin code and the client.
The server side logic is really simple, but I'm not very good with the C# code base.
@gplamondon @mastacontrola Surely something we can add some point in the future. I have worked on the client code a fair bit over the last months and weeks. Shouldn't be too hard. But this won't be before the next major FOG release.
I currently have a workaround I do for this. All my snapins are actually chocolatey packages and the methodology might be able to be implemented as a workaround.
I use the powershell template with a universal script, I have it set up with some encrypted key/pwfile powershell stuff for using securely saved admin credentials to install in the background or in the foreground if the admin is already logged in. In situations where the admin is already logged in (firstlogoncommands/oobe phase of sysprep for example) the encrypted credential stuff isn't needed.
Point is, if there's enough interest I could publish how to make this infrastructure and maybe a snapin template using it could be made. Or perhaps I could also make a much simpler example, as all some people may need (depending on how they have chocolatey and or admin permissions of users set up) is a powershell script that is something like
param($pkg)
choco install $pkg -y
And then you just add the pkg name in the snapin parameters.
Should probably have something for upgrading in there too. It's probably not the best idea, but the upgrade command will install it if it isn't installed already, while the install command won't upgrade if it's already installed.
Hi there, i deploy the images with chocolatey preinstalled in the golden image and manage my deployed clients afterwards with puppet bolt.
It would be great if we have the option of Chocolatey package manager in the dropdown list for snapin templates. https://chocolatey.org/
Example: choco install SkypeForBusiness 12130.20272 -y -r --no-progress
what I have been doing is adding the snapin by creating a snapin with a batch file.
SkypeForBusiness.bat: