可以使用MSIX Packaging Tool
可以将exe安装包转成msix包,它会监控exe的安装过程listening to everything in the environment to capture what the installer is doing.
winget install “MSIX Packaging Tool”
不能向安装目录写文件
最好有一台纯净的机器,可以使用hyper-v虚拟机 https://learn.microsoft.com/en-us/windows/msix/packaging-tool/quick-create-vm 测试