Electron-builder: Parameters for silent install for .exe, .dmg, .appimage output of Electron Build

Created on 21 Nov 2019  路  2Comments  路  Source: electron-userland/electron-builder


  • Version: 21.0.15

  • Target: Window, Linux and Mac


What are the parameters to install the output _.exe_ files of windows and _.pkg_ files of mac if we want to install it silently.
Like Thunderbird for Mozilla - Thunderbird Silent Installation Arguments

backlog

Most helpful comment

I think I found a solution.
https://gitlab.ow2.org/RocketChat/Rocket.Chat.Electron

[Note] - Should be run in Admin mode.

Windows Options
On Windows you can run a silent install by adding the _/S_ flag. You can also add the options below:

/S - Silent install

/allusers - Install for all users (requires admin)

/currentuser - Install for current user only (default)

/disableAutoUpdates - Disable autoupdates (Application will not update automatically / User can't update via dialog )

Mac Options
sudo installer -package /path/to/<>.pkg -target <> worked for me

All 2 comments

I think I found a solution.
https://gitlab.ow2.org/RocketChat/Rocket.Chat.Electron

[Note] - Should be run in Admin mode.

Windows Options
On Windows you can run a silent install by adding the _/S_ flag. You can also add the options below:

/S - Silent install

/allusers - Install for all users (requires admin)

/currentuser - Install for current user only (default)

/disableAutoUpdates - Disable autoupdates (Application will not update automatically / User can't update via dialog )

Mac Options
sudo installer -package /path/to/<>.pkg -target <> worked for me

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leo picture leo  路  3Comments

NPellet picture NPellet  路  3Comments

jhg picture jhg  路  3Comments

ccorcos picture ccorcos  路  3Comments

AidanNichol picture AidanNichol  路  3Comments