我需要从一个电子应用程序制作一个 MSI,以与另一个也设置为每台机器而不是每个用户的 MSI 捆绑。看来这种组合是不存在的。
Electron-Builder squirrelWindows:允许创建 MSIsquirrelWindows
并将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-installer:创建 MSI,perMachine
https://github.com/electron/windows-installer没有选项
编辑 - 解决方案
electron-wix-msi 上的这些拉取请求更改解决了我的问题: https ://github.com/felixrieseberg/electron-wix-msi/pull/138