Commit 06c1f60c authored by Drahomír Karchňák's avatar Drahomír Karchňák

#755 Fixed icon copying and installer folder path in nsis installer script.

parent 06884dd3
......@@ -208,7 +208,8 @@ task releaseExe(dependsOn: releaseJar, type: edu.sc.seis.launch4j.tasks.Launch4j
println "Copying icon folder to temporary installer folder"
copy {
from project.projectDir.absolutePath + '/assets/icons/desktop_icon_128.png.ico'
into installerDir.absolutePath + '/logo.ico'
into installerDir.absolutePath
rename '.*', 'logo.ico'
}
def stdout = new ByteArrayOutputStream()
......
......@@ -20,7 +20,7 @@ InstallDir "$PROGRAMFILES\${COMPANYNAME}\${APPNAME}"
LicenseData "license.txt"
# This will be in the installer/uninstaller's title bar
Name "${COMPANYNAME} - ${APPNAME}"
Icon "installer\logo.ico"
Icon "build\installer\logo.ico"
outFile "build\TablexiaSetup.exe"
!include LogicLib.nsh
......@@ -49,7 +49,7 @@ section "install"
# Files for the install directory - to build the installer, these should be in the same directory as the install script (this file)
setOutPath $INSTDIR
# Files added here should be removed by the uninstaller (see section "uninstall")
file /r "installer\"
file /r "build\installer\"
# Add any other files for the install directory (license files, app data, etc) here
# Uninstaller - See function un.onInit and section "uninstall" for configuration
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment