Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameters for silent install for .exe, .dmg, .appimage output of Electron Build #4445

Closed
rharish100193 opened this issue Nov 21, 2019 · 6 comments
Labels

Comments

@rharish100193
Copy link

  • 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

@rharish100193
Copy link
Author

rharish100193 commented Nov 22, 2019

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

@stale
Copy link

stale bot commented Jan 21, 2020

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.

@Rajdeep97
Copy link

Any way to specify the directory to install to during silent install?

@kungfux
Copy link

kungfux commented May 23, 2021

Any way to specify the directory to install to during silent install?

@Rajdeep97 /D e.g. setup.exe /D="path"

@H4kt
Copy link

H4kt commented Nov 4, 2021

Is there a way to still create a shortcut on the desktop?

@PAXANDDOS
Copy link

A way to auto-open the application after silent installation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants