Skip to content

Commit e5b3462

Browse files
authored
Disable automatic application start after install via Windows Installer (#942)
Arduino IDE is packaged for Windows in multiple formats: - ZIP - NSIS - Windows Installer (AKA "MSI") The interactive installer of the NSIS package makes it the best option for installation by users. The other use case for the installers is deployment by a system administrator. The Windows Installer package was added to offer an additional installer option for this specific use case. In this use case, a "silent install" will often be required. Previously, the Windows Installer package was configured to start the Arduino IDE after completing the installation. This behavior is likely to be problematic for the very use case the Windows Installer package was intended for. That configuration was not intentional, but rather a result of using whatever setting electron-builder happened to provide as a default. The behavior of the Windows Installer package is hereby changed to not run after installation. This also aligns it with the behavior of the NSIS package's silent installation (running the installer with the `/S` flag). The behavior of the NSIS installer is unchanged: - When in interactive mode: user chooses whether to start Arduino IDE - When in silent mode: Arduino IDE does not start after installation
1 parent c430cf0 commit e5b3462

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: electron/build/template-package.json

+3
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@
106106
"category": "Development",
107107
"icon": "resources/icons"
108108
},
109+
"msi": {
110+
"runAfterFinish": false
111+
},
109112
"nsis": {
110113
"oneClick": false,
111114
"installerHeaderIcon": "resources/icon.ico",

0 commit comments

Comments
 (0)