简体   繁体   中英

Is it impossible to make an electron app MSI installer that is perMachine and not perUser?

I need to make an MSI from an electron app to bundle with another MSI that is also set to per machine and not per user. It appears this combination of things does not exist.

Electron-Builder squirrelWindows : Allows for MSI creation with squirrelWindows and setting msi boolean to true, but there is no perMachine option. https://www.electron.build/configuration/squirrel-windows

Electron-Builder NSIS : Has the perMachine option but not for MSIs obviously. https://www.electron.build/configuration/nsis

Electron-Wix-MSI : Creates MSI, but do not see ability to change the perMachine flag. https://github.com/felixrieseberg/electron-wix-msi

Windows-installer : Creates MSI, no option for perMachine https://github.com/electron/windows-installer

I've packaged multiple Electron apps per-machine. It's just a bunch of files. Potentially a whole bunch of files. For the ones with an unpacked node_modules directory I just use heat in a prebuild step to author the components. Other then that it's just like any other app.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM