File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed
Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 117117 "deleteAppDataOnUninstall" : false ,
118118 "allowToChangeInstallationDirectory" : true
119119 },
120+ "msi" : {
121+ "artifactName" : " ${productName}-Setup-${version}-${arch}.${ext}"
122+ },
120123 "mac" : {
121124 "artifactName" : " ${productName}-Setup-${version}.${ext}" ,
122125 "icon" : " build/icon.icns" ,
Original file line number Diff line number Diff line change @@ -10,13 +10,16 @@ You must specify which platform to build for:
1010
1111```
1212--windows
13- Create Windows installers for Windows 10 or later.
13+ Create Windows installers for Windows 10 or later using NSIS .
1414
1515--windows-legacy
16- Create Windows installers for Windows 7 or later (less secure than --windows).
16+ Create Windows installers for Windows 7 or later using NSIS (less secure than --windows).
1717
1818--windows-portable
19- Create portable Windows executables for Windows 10 or later.
19+ Create portable Windows executables for Windows 10 or later using NSIS.
20+
21+ --windows-msi
22+ Create Windows installers for Windows 10 or later using the Windows Installer format.
2023
2124--windows-dir
2225 Generate executables for Windows but don't package into a single executable file
Original file line number Diff line number Diff line change @@ -203,6 +203,12 @@ const buildWindowsPortable = () => build({
203203 manageUpdates : true
204204} ) ;
205205
206+ const buildWindowsMSI = ( ) => build ( {
207+ platformName : 'WINDOWS' ,
208+ platformType : 'msi' ,
209+ manageUpdates : true
210+ } ) ;
211+
206212const buildWindowsDir = ( ) => build ( {
207213 platformName : 'WINDOWS' ,
208214 platformType : 'dir' ,
@@ -291,6 +297,7 @@ const run = async () => {
291297 '--windows' : buildWindows ,
292298 '--windows-legacy' : buildWindowsLegacy ,
293299 '--windows-portable' : buildWindowsPortable ,
300+ '--windows-msi' : buildWindowsMSI ,
294301 '--windows-dir' : buildWindowsDir ,
295302 '--microsoft-store' : buildMicrosoftStore ,
296303 '--mac' : buildMac ,
You can’t perform that action at this time.
0 commit comments