admin管理员组文章数量:1390192
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
本文标签: pythonMSIX Packaging ToolFailing InstallationStack Overflow
版权声明:本文标题:python - MSIX Packaging Tool - Failing Installation - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744748810a2623048.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论