setup.exe which calls an msi

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
infotc
Messages: 13
Registered: July 11, 2017 - 11:24

July 12, 2017 - 10:19

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.
fludo67
Messages: 21
Registration: Sep 13, 2016 - 2:23 p.m.

September 7, 2017 - 5:08 PM

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.
infotc
Messages: 13
Registered: July 11, 2017 - 11:24

September 15, 2017 - 11:27

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
User avatar
satlani
Messages: 7
Registration: March 5, 2017 - 4:57 PM

November 2, 2017 - 7:00 AM

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.
Locked