0

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

EDIT - SOLUTION

These pull request changes on electron-wix-msi fixed my problem: https://github.com/felixrieseberg/electron-wix-msi/pull/138

JoeD
  • 85
  • 1
  • 9

2 Answers2

0

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.

Christopher Painter
  • 54,556
  • 6
  • 63
  • 100
0

I made a pull request/branch on electron-wix-msi tailored to fix my problems: https://github.com/felixrieseberg/electron-wix-msi/pull/138

JoeD
  • 85
  • 1
  • 9
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Nov 01 '22 at 17:06