Create Package With Secure MSI
Published: March 5, 2024 - 1:58 PM
WAPT version installed (2.5 discovery)
- Server OS (Linux) and version (Debian 12)
- Operating system of the administration/package creation machine (Windows 11)
Good morning
I created a package to install WithSecure (including the license key)
The installation completes correctly, but I have an error between the uninstallation key and the version:
Could you help me solve this error?
Thanks in advance
Here is the full log, just in case:
- Server OS (Linux) and version (Debian 12)
- Operating system of the administration/package creation machine (Windows 11)
Good morning
I created a package to install WithSecure (including the license key)
The installation completes correctly, but I have an error between the uninstallation key and the version:
Code: Select all
EWaptSetupException: Fatal error : MSI ElementsAgentOfflineInstaller.msi has been executed and key {45F3C15A-9635-4645-A914-FF3AE5391131} has been found in the registry, but version in registry does not match requirements of min_version=24.1.85.0\n']]Thanks in advance
Here is the full log, just in case:
Code: Select all
Installing: ElementsAgentOfflineInstaller.msi
Installing: ElementsAgentOfflineInstaller.msi (24.1.85.0)
Waiting for key: {45F3C15A-9635-4645-A914-FF3AE5391131} to appear in Windows registry
Erreur lors de l'installation de ['hasp-WithSecure(=24.1-2)']: erreurs dans les paquets [[PackageRequest(package='hasp-WithSecure',version=(Version('24.1.0.0'), 2),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.22631'),max_os_version=Version('10.0.22631')), PackageEntry('hasp-WithSecure','24.1-2' maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n File "C:\\Program Files (x86)\\wapt\\common.py", line 5347, in install\n result = self.install_wapt(p.localpath,\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4327, in install_wapt\n raise e\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4234, in install_wapt\n exitstatus = setup.install()\n File "C:\\WINDOWS\\TEMP\\waptguyc_ffr\\setup.py", line 22, in install\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4164, in new_func\n return func(*args, **kwargs)\n File "C:\\Program Files (x86)\\wapt\\setuphelpers_windows.py", line 1573, in install_msi_if_needed\n error(\'MSI %s has been executed and %s has been found in the registry, but version in registry does not match requirements of min_version=%s\' % (msi, searchparam , min_version))\n File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 1956, in error\n raise EWaptSetupException(\'Fatal error : %s\' % reason)\nwaptutils.EWaptSetupException: Fatal error : MSI ElementsAgentOfflineInstaller.msi has been executed and key {45F3C15A-9635-4645-A914-FF3AE5391131} has been found in the registry, but version in registry does not match requirements of min_version=24.1.85.0\n']]
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1935, in run
self.running_task.run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 737, in run
self._run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1341, in _run
raise Exception(_('Error during install of {}: errors in packages {}').format(
Exception: Erreur lors de l'installation de ['hasp-WithSecure(=24.1-2)']: erreurs dans les paquets [[PackageRequest(package='hasp-WithSecure',version=(Version('24.1.0.0'), 2),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.22631'),max_os_version=Version('10.0.22631')), PackageEntry('hasp-WithSecure','24.1-2' maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n File "C:\\Program Files (x86)\\wapt\\common.py", line 5347, in install\n result = self.install_wapt(p.localpath,\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4327, in install_wapt\n raise e\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4234, in install_wapt\n exitstatus = setup.install()\n File "C:\\WINDOWS\\TEMP\\waptguyc_ffr\\setup.py", line 22, in install\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4164, in new_func\n return func(*args, **kwargs)\n File "C:\\Program Files (x86)\\wapt\\setuphelpers_windows.py", line 1573, in install_msi_if_needed\n error(\'MSI %s has been executed and %s has been found in the registry, but version in registry does not match requirements of min_version=%s\' % (msi, searchparam , min_version))\n File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 1956, in error\n raise EWaptSetupException(\'Fatal error : %s\' % reason)\nwaptutils.EWaptSetupException: Fatal error : MSI ElementsAgentOfflineInstaller.msi has been executed and key {45F3C15A-9635-4645-A914-FF3AE5391131} has been found in the registry, but version in registry does not match requirements of min_version=24.1.85.0\n']]
Exception: Erreur lors de l'installation de ['hasp-WithSecure(=24.1-2)']: erreurs dans les paquets [[PackageRequest(package='hasp-WithSecure',version=(Version('24.1.0.0'), 2),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.22631'),max_os_version=Version('10.0.22631')), PackageEntry('hasp-WithSecure','24.1-2' maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n File "C:\\Program Files (x86)\\wapt\\common.py", line 5347, in install\n result = self.install_wapt(p.localpath,\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4327, in install_wapt\n raise e\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4234, in install_wapt\n exitstatus = setup.install()\n File "C:\\WINDOWS\\TEMP\\waptguyc_ffr\\setup.py", line 22, in install\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4164, in new_func\n return func(*args, **kwargs)\n File "C:\\Program Files (x86)\\wapt\\setuphelpers_windows.py", line 1573, in install_msi_if_needed\n error(\'MSI %s has been executed and %s has been found in the registry, but version in registry does not match requirements of min_version=%s\' % (msi, searchparam , min_version))\n File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 1956, in error\n raise EWaptSetupException(\'Fatal error : %s\' % reason)\nwaptutils.EWaptSetupException: Fatal error : MSI ElementsAgentOfflineInstaller.msi has been executed and key {45F3C15A-9635-4645-A914-FF3AE5391131} has been found in the registry, but version in registry does not match requirements of min_version=24.1.85.0\n']]
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1935, in run
self.running_task.run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 737, in run
self._run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1341, in _run
raise Exception(_('Error during install of {}: errors in packages {}').format(
Exception: Erreur lors de l'installation de ['hasp-WithSecure(=24.1-2)']: erreurs dans les paquets [[PackageRequest(package='hasp-WithSecure',version=(Version('24.1.0.0'), 2),architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.22631'),max_os_version=Version('10.0.22631')), PackageEntry('hasp-WithSecure','24.1-2' maturity='PROD',target_os='windows'), 'Traceback (most recent call last):\n File "C:\\Program Files (x86)\\wapt\\common.py", line 5347, in install\n result = self.install_wapt(p.localpath,\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4327, in install_wapt\n raise e\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4234, in install_wapt\n exitstatus = setup.install()\n File "C:\\WINDOWS\\TEMP\\waptguyc_ffr\\setup.py", line 22, in install\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4164, in new_func\n return func(*args, **kwargs)\n File "C:\\Program Files (x86)\\wapt\\setuphelpers_windows.py", line 1573, in install_msi_if_needed\n error(\'MSI %s has been executed and %s has been found in the registry, but version in registry does not match requirements of min_version=%s\' % (msi, searchparam , min_version))\n File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 1956, in error\n raise EWaptSetupException(\'Fatal error : %s\' % reason)\nwaptutils.EWaptSetupException: Fatal error : MSI ElementsAgentOfflineInstaller.msi has been executed and key {45F3C15A-9635-4645-A914-FF3AE5391131} has been found in the registry, but version in registry does not match requirements of min_version=24.1.85.0\n']]