I am trying to create a Windows app from the following simple Python code.
from qtpy.QtWidgets import QApplication, QLabel
from qtpy.QtCore import Qt
if __name__ == "__main__":
# Create the application instance
app = QApplication([])
# Create a fullscreen label
label = QLabel("Hello World!")
label.setStyleSheet("font-size: 40px; text-align: center;") # Increase text size
label.setAlignment(Qt.AlignCenter) # Center the text
label.showFullScreen() # Make it fullscreen
# Run the application event loop
app.exec_()
PyInstaller
is used to create a single executable and Inno Setup Compiler
to convert the executable to an installer.
Lastly, MSIX Packaging Tool
converts the installer to an MSIX app installer.
The installation of the msix file fails with the following error:
App installation failed with error message: Common::Deployment::MsixvcStagingSession::GetManifestReader in MsixvcStagingSession failed with error 0x80070570. (0x80070570)
What could be the reason of this error and are there any other, less cumbersome, methods to create a Windows app from a Python project?
The end-goal would be to create a Python UI in QtPy that runs on a Windows machine in single app kiosk mode.
I am trying to create a Windows app from the following simple Python code.
from qtpy.QtWidgets import QApplication, QLabel
from qtpy.QtCore import Qt
if __name__ == "__main__":
# Create the application instance
app = QApplication([])
# Create a fullscreen label
label = QLabel("Hello World!")
label.setStyleSheet("font-size: 40px; text-align: center;") # Increase text size
label.setAlignment(Qt.AlignCenter) # Center the text
label.showFullScreen() # Make it fullscreen
# Run the application event loop
app.exec_()
PyInstaller
is used to create a single executable and Inno Setup Compiler
to convert the executable to an installer.
Lastly, MSIX Packaging Tool
converts the installer to an MSIX app installer.
The installation of the msix file fails with the following error:
App installation failed with error message: Common::Deployment::MsixvcStagingSession::GetManifestReader in MsixvcStagingSession failed with error 0x80070570. (0x80070570)
What could be the reason of this error and are there any other, less cumbersome, methods to create a Windows app from a Python project?
The end-goal would be to create a Python UI in QtPy that runs on a Windows machine in single app kiosk mode.
Share Improve this question asked Mar 12 at 13:54 Mark wijkhuizenMark wijkhuizen 3933 silver badges13 bronze badges1 Answer
Reset to default 0The MSIX packaging tool is not designed to create packages for apps designed from scratch. Its main purpose is to help IT professionals convert existing installers to MSIX format.
If you want to create a package from scratch use the Visual Studio Windows Application Packaging Project or other third-party tools, like Advanced Installer - here is an article with a Python example:
https://www.advancedinstaller/create-msix-for-python-app.html
Disclaimer: I work on the team building Advanced Installer