Page 1 of 1
setup.exe which calls an msi
Published: July 12, 2017 - 10:19 AM
by infotc
Hello everyone,
I'm stuck on creating a Kaspersky package (Kaspersky Security Center 10 administration agent).
It consists of a setup.exe file which then launches an MSI file. (And you can't launch the MSI file on its own; it requires the setup file to be run first.)
So I don't see how to perform a silent installation using the MSI settings by launching setup.exe.
If someone could point me in the right direction, that would be great.
Re: setup.exe calling an msi
Published: September 7, 2017 - 5:08 PM
by fludo67
Hello,
For the Kaspersky agent, you can use the command `setup.exe /s`,
for example: `install_exe_if_needed(r'setup.exe','/s',min_version='your agent version',timeout=180)`.
Personally, I use the executable provided in the agent's installation package, which is located in the shared directory of the KES server (if you have an agent, you have a Kaspersky management server with a "share" folder on the server). This executable also includes the server connection information (the `nagent.kud` file).
With a utility like Superorca (
http://www.pantaray.com/msi_super_orca.html), you can find all the properties of an MSI file, including the arguments to pass for installation. Perhaps it's possible to bypass setup.exe by passing a few arguments? I haven't tested it... but the `setup.exe /s` method is much simpler.
Re: setup.exe calling an msi
Published: September 15, 2017 - 11:27
by infotc
Hello,
at the end of July I tried this command by chance and it worked fine.
On the Kaspersky website, they only documented either the .msi file or a separate setup file, which I didn't have.
My problem was that I didn't have access to the KES server (I was only sent an executable for clients).
Thanks for the information
Re: setup.exe calling an msi
Published: November 2, 2017 - 7:00 AM
by satlani
Hello,
We have Kaspersky Endpoint Security and a KSC server
. From the console, I created an installation package (agent + antivirus)
. I then transformed this package into a standalone package (see the Kaspersky documentation)
. I retrieved a large setup.exe file
. Finally, I created the WAPT package with the setup.exe
: install_exe_if_needed("setup.exe",'/s',key='',min_version='10.3.0.6294').
It was a struggle, but it works for us. However, I had real problems with Kaspersky version 10.2.xx.