Page 1 of 1
[RESOLVED] Automatic installation of a package during agent installation
Published: October 9, 2023 - 4:36 PM
by gpoirot
Hello,
is it possible to automatically install a package as soon as the agent is installed on the computer?
Thank you.
Re: Automatic installation of a package during agent installation
Published: October 12, 2023 - 8:48 AM
by Benoit
Hello,
You can add the desired packages to the OU that the affected PCs belong to.
If you are not using Active Directory, you can create virtual OUs to create a directory structure on your PCs.
You can also create AD profile packages if you are using security groups in AD.
With these two solutions, your packages will install automatically with the first package upgrade.
Regards,
Re: Automatic installation of a package during agent installation
Published: October 12, 2023 - 6:12 PM
by dcardon
Hi Guillaume,
to add to Benoit's answer, it's also possible to add a "profile" to the WAPT agent when it's created and add a package to be installed as a dependency in that profile. Then you modify the package to specify a forced installation with a past force-install date.
But honestly, an OU package, an AD profile package, or two lines of script work just as well.
Denis
Re: Automatic installation of a package during agent installation
Published: October 13, 2023 - 4:13 PM
by gpoirot
Thank you for your replies.
This is a package used to retrieve the FusionInventory tag and use it for creating OUs.
I don't see how to add packages to an OU.
For now, I'll continue to install the dependency manually.
Thank you.
Re: Automatic installation of a package during agent installation
Published: October 16, 2023 - 3:13 PM
by gpoirot
It's not complicated after all:
Create an application group in the private repository.
Silent installation via command line
: waptagent.exe /VERYSILENT /StartPackages=Group.
Thank you for your answers.