[SOLVED] Problem with install_msi_if_needed and msix file
Published: November 9, 2023 - 3:24 PM
Good morning
I want to develop a package for the new MS-TEAMS which is provided as msix.
But when I try a simple install_msi_if_needed('MSTeams-x86.msix') in pyscripter, I get this output:
Any idea what's going on?
I want to develop a package for the new MS-TEAMS which is provided as msix.
But when I try a simple install_msi_if_needed('MSTeams-x86.msix') in pyscripter, I get this output:
Code: Select all
2023-11-09 15:13:13,714 CRITICAL Fatal error in install script: MSIError: open failed:
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 4083, in install_wapt
exitstatus = setup.install()
File "c:\waptdev\ln-msteams-x86_0.0.0_Windows_PROD\setup.py", line 16, in install
install_msi_if_needed('MSTeams-x86.msix')
File "C:\Program Files (x86)\wapt\common.py", line 4033, in new_func
return func(*args, **kwargs)
File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 1379, in install_msi_if_needed
key = get_msi_properties(msi)['ProductCode']
File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 2825, in get_msi_properties
db = msilib.OpenDatabase(msi_filename, msilib.MSIDBOPEN_READONLY)
_msi.MSIError: open failed
FATAL ERROR : MSIError: open failed
Exit code: 3