我正在运行由electron (node.js)编写的桌面应用程序中的PowerPoint演示文稿。我使用child_process来运行带参数的powerpnt.exe,它可以正常工作。我正在寻找类似的解决方案,用于仅安装了PowerPoint Viewer的工作站。在某些机器上,pptview.exe可以正常工作,但这并不总是有效的,我需要一个可靠的解决方案。我尝试在Windows注册表中查找完整的PowerPoint Viewer路径,但我不确定应该在哪里查找。也许有人知道在nodejs中以PowerPoint Viewer运行pptx文件的可靠方法?