【发布时间】:2021-12-26 21:31:39
【问题描述】:
我需要从一个电子应用程序制作一个 MSI 以与另一个也设置为每台机器而不是每个用户的 MSI 捆绑。看来这种组合是不存在的。
Electron-Builder squirrelWindows:允许使用 squirrelWindows 创建 MSI 并将 msi 布尔值设置为 true,但没有 perMachine 选项。
https://www.electron.build/configuration/squirrel-windows
Electron-Builder NSIS:具有perMachine 选项,但显然不适用于 MSI。
https://www.electron.build/configuration/nsis
Electron-Wix-MSI:创建 MSI,但看不到更改 perMachine 标志的能力。
https://github.com/felixrieseberg/electron-wix-msi
Windows 安装程序:创建 MSI,perMachine 没有选项
https://github.com/electron/windows-installer
编辑 - 解决方案
electron-wix-msi 上的这些拉取请求更改解决了我的问题: https://github.com/felixrieseberg/electron-wix-msi/pull/138
【问题讨论】:
标签: electron wix electron-builder squirrel.windows