Hello everyone,
In our organization, we want to deploy an agent to each computer workstation, but the file in question is a .JAR. Is it possible to create a package from this extension, or do we really need to find an .exe or .msi installation file?
Thank you in advance.
Best regards.
[SOLVED] Building a package for Agent
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
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
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Wapt packages are Python scripts.
Therefore, you can start by creating an empty package
and then, within the Python script, copy your JAR file to Program Files, for example.
Therefore, you can start by creating an empty package
and then, within the Python script, copy your JAR file to Program Files, for example.
Thank you very much for your reply
So I was able to extract an .msi file to create a Wapt package, I uploaded it to my private repositories but during installation the software installs but with the following errors.
If you have any ideas about this problem, I'd be interested too.
I'm attaching the installation logs for this software.
Thank you in advance for your help.
So I was able to extract an .msi file to create a Wapt package, I uploaded it to my private repositories but during installation the software installs but with the following errors.
If you have any ideas about this problem, I'd be interested too.
I'm attaching the installation logs for this software.
Thank you in advance for your help.
Code: Select all
Installing wapt-f-secure-client-security-premium-15.30(=15.30.3961.0-1)
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1965, in run
self.running_task.run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 649, in run
self._run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1192, in _run
raise Exception(_('Error during install of {}: errors in packages {}').format(
Exception: Erreur lors de l'installation de ['wapt-f-secure-client-security-premium-15.30(=15.30.3961.0-1)']: erreurs dans les paquets [[PackageRequest(package='wapt-f-secure-client-security-premium-15.30',version=(Version('15.30.3961.0'), 1),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'windows'],min_os_version=Version('10.0.19043'),max_os_version=Version('10.0.19043')), PackageEntry('wapt-f-secure-client-security-premium-15.30','15.30.3961.0-1' architecture='x64',maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n File "C:\\Program Files (x86)\\wapt\\common.py", line 5011, in install\n result = self.install_wapt(full_fname(p.filename),\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4010, in install_wapt\n raise e\n File "C:\\Program Files (x86)\\wapt\\common.py", line 3923, in install_wapt\n exitstatus = setup.install()\n File "C:\\windows\\TEMP\\wapt7ue0sqo5\\setup.py", line 12, in install\n File "C:\\Program Files (x86)\\wapt\\common.py", line 3877, in new_func\n return func(*args, **kwargs)\n File "C:\\Program Files (x86)\\wapt\\setuphelpers_windows.py", line 1279, in install_msi_if_needed\n run(r\'msiexec /norestart /q /i "%s" %s\' % (msi, props), accept_returncodes=accept_returncodes, timeout=timeout, pidlist=pidlist)\n File "C:\\Program Files (x86)\\wapt\\setuphelpers_windows.py", line 4038, in run\n raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'msiexec /norestart /q /i "fscs-15.30.3961-exported.msi" \' returned non-zero exit status 1603.\nOutput:\n']]
Exception: Erreur lors de l'installation de ['wapt-f-secure-client-security-premium-15.30(=15.30.3961.0-1)']: erreurs dans les paquets [[PackageRequest(package='wapt-f-secure-client-security-premium-15.30',version=(Version('15.30.3961.0'), 1),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'windows'],min_os_version=Version('10.0.19043'),max_os_version=Version('10.0.19043')), PackageEntry('wapt-f-secure-client-security-premium-15.30','15.30.3961.0-1' architecture='x64',maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n File "C:\\Program Files (x86)\\wapt\\common.py", line 5011, in install\n result = self.install_wapt(full_fname(p.filename),\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4010, in install_wapt\n raise e\n File "C:\\Program Files (x86)\\wapt\\common.py", line 3923, in install_wapt\n exitstatus = setup.install()\n File "C:\\windows\\TEMP\\wapt7ue0sqo5\\setup.py", line 12, in install\n File "C:\\Program Files (x86)\\wapt\\common.py", line 3877, in new_func\n return func(*args, **kwargs)\n File "C:\\Program Files (x86)\\wapt\\setuphelpers_windows.py", line 1279, in install_msi_if_needed\n run(r\'msiexec /norestart /q /i "%s" %s\' % (msi, props), accept_returncodes=accept_returncodes, timeout=timeout, pidlist=pidlist)\n File "C:\\Program Files (x86)\\wapt\\setuphelpers_windows.py", line 4038, in run\n raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'msiexec /norestart /q /i "fscs-15.30.3961-exported.msi" \' returned non-zero exit status 1603.\nOutput:\n']]
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1965, in run
self.running_task.run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 649, in run
self._run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1192, in _run
raise Exception(_('Error during install of {}: errors in packages {}').format(
Exception: Erreur lors de l'installation de ['wapt-f-secure-client-security-premium-15.30(=15.30.3961.0-1)']: erreurs dans les paquets [[PackageRequest(package='wapt-f-secure-client-security-premium-15.30',version=(Version('15.30.3961.0'), 1),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'windows'],min_os_version=Version('10.0.19043'),max_os_version=Version('10.0.19043')), PackageEntry('wapt-f-secure-client-security-premium-15.30','15.30.3961.0-1' architecture='x64',maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n File "C:\\Program Files (x86)\\wapt\\common.py", line 5011, in install\n result = self.install_wapt(full_fname(p.filename),\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4010, in install_wapt\n raise e\n File "C:\\Program Files (x86)\\wapt\\common.py", line 3923, in install_wapt\n exitstatus = setup.install()\n File "C:\\windows\\TEMP\\wapt7ue0sqo5\\setup.py", line 12, in install\n File "C:\\Program Files (x86)\\wapt\\common.py", line 3877, in new_func\n return func(*args, **kwargs)\n File "C:\\Program Files (x86)\\wapt\\setuphelpers_windows.py", line 1279, in install_msi_if_needed\n run(r\'msiexec /norestart /q /i "%s" %s\' % (msi, props), accept_returncodes=accept_returncodes, timeout=timeout, pidlist=pidlist)\n File "C:\\Program Files (x86)\\wapt\\setuphelpers_windows.py", line 4038, in run\n raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'msiexec /norestart /q /i "fscs-15.30.3961-exported.msi" \' returned non-zero exit status 1603.\nOutput:\n']]IT Support Technician -
New Wapt User -
Server OS: Debian 10
- Wapt Version: 2.0.0.9450 -
Administration Machine: Windows 10
New Wapt User -
Server OS: Debian 10
- Wapt Version: 2.0.0.9450 -
Administration Machine: Windows 10
- dcardon
- WAPT Expert
- Messages: 1932
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
wapt version, etc? cf. forum rules
The MSI returns code 1603 [1]...
You need to manually check what the error message is during installation; wapt cannot install an msi that refuses to install... If there is no error in the admin account, you need to reproduce the thing in the SYSTEM account (the WAPT agent runs in the SYSTEM account).
Sincerely,
Denis
[1] https://docs.microsoft.com/fr-fr/troubl ... error-1603
The MSI returns code 1603 [1]...
Code: Select all
"fscs-15.30.3961-exported.msi" \' returned non-zero exit status 1603Sincerely,
Denis
[1] https://docs.microsoft.com/fr-fr/troubl ... error-1603
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Hello everyone, I was able to solve my problem.
By editing the package (with PyScripter), we discovered that the version listed in the control section was incorrect. Once corrected, the installation was successful on our test machine; all that remains is deployment.
In any case, thank you for your help.
By editing the package (with PyScripter), we discovered that the version listed in the control section was incorrect. Once corrected, the installation was successful on our test machine; all that remains is deployment.
In any case, thank you for your help.
IT Support Technician -
New Wapt User -
Server OS: Debian 10
- Wapt Version: 2.0.0.9450 -
Administration Machine: Windows 10
New Wapt User -
Server OS: Debian 10
- Wapt Version: 2.0.0.9450 -
Administration Machine: Windows 10
- dcardon
- WAPT Expert
- Messages: 1932
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
Thanks for the feedback!
And remember to update your WAPT; we've just stopped supporting version 2.0. Version 2.2.2 should be released very soon, so that will be a good opportunity to do it,
Denis.
And remember to update your WAPT; we've just stopped supporting version 2.0. Version 2.2.2 should be released very soon, so that will be a good opportunity to do it,
Denis.
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
