Skip to content

Commit

Permalink
Did not work with .msi extension; works with .exe extension
Browse files Browse the repository at this point in the history
  • Loading branch information
cpurdy committed Jun 16, 2022
1 parent 163f0d0 commit 23ec007
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions xdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -548,9 +548,9 @@ val distZIP = tasks.register<Zip>("distZIP") {
}
}

val distMSI = tasks.register("distMSI") {
val distEXE = tasks.register("distEXE") {
group = "Distribution"
description = "Create the XDK .msi file (Windows installer)"
description = "Create the XDK .exe file (Windows installer)"

dependsOn(build)
dependsOn(prepareDirs)
Expand All @@ -569,7 +569,7 @@ val distMSI = tasks.register("distMSI") {
// - requires the EnVar plugin to be installed (i.e. unzipped) into NSIS

val src = file("src/main/nsi/xdkinstall.nsi")
val dest = "${distDir}/xdk-${distName}.msi"
val dest = "${distDir}/xdk-${distName}.exe"
val ico = "${launcherMain}/c/x.ico"

project.exec {
Expand All @@ -581,7 +581,7 @@ val distMSI = tasks.register("distMSI") {
}
}
else {
println("*** Failure building \"distMSI\": Missing \"makensis\" command")
println("*** Failure building \"distEXE\": Missing \"makensis\" command")
}
}
}
Expand All @@ -593,5 +593,5 @@ tasks.register("dist") {
dependsOn(prepareDirs)
dependsOn(distTGZ)
dependsOn(distZIP)
dependsOn(distMSI)
dependsOn(distEXE)
}

0 comments on commit 23ec007

Please sign in to comment.