Add a header image for NSIS.

This commit is contained in:
Přemysl Eric Janouch 2011-02-13 17:46:53 +01:00
parent 440a9da5fc
commit 5fd66ada46
3 changed files with 160 additions and 0 deletions

View File

@ -321,6 +321,7 @@ set (CPACK_PACKAGE_FILE_NAME
set (CPACK_PACKAGE_INSTALL_DIRECTORY
"${CMAKE_PROJECT_NAME} ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}")
set (CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/share\\\\header.bmp")
set (CPACK_NSIS_INSTALLED_ICON_NAME "logdiag.exe")
set (CPACK_NSIS_CREATE_ICONS_EXTRA
"CreateShortCut '\$SMPROGRAMS\\\\$STARTMENU_FOLDER\\\\logdiag.lnk' '\$INSTDIR\\\\logdiag.exe'")

BIN
share/header.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

159
share/header.svg Normal file
View File

@ -0,0 +1,159 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
width="150"
height="57"
id="svg2">
<defs
id="defs4" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<rect
width="150"
height="57"
x="0"
y="-1.3322676e-15"
id="rect3078"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<g
transform="translate(0,-995.36218)"
id="layer1">
<g
transform="matrix(0.33083214,0,0,0.33083214,7.3082845,1004.0193)"
id="g3077">
<g
transform="translate(0,-926.86216)"
id="layer1-4"
style="fill:none;stroke:#ffffff;stroke-width:22.81488991;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none">
<g
transform="translate(-10,-60)"
id="g3016-5"
style="stroke-width:22.81488991">
<path
d="m 25,108 20,0"
transform="translate(0,924.36218)"
id="path3008-0"
style="stroke-width:22.81488991" />
<path
d="m 25,88 20,0"
transform="translate(0,924.36218)"
id="path3010-3"
style="stroke-width:22.81488991" />
<path
d="m 45,118 0,-40 25,0 c 0,0 20,0 20,20 0,20 -20,20 -20,20 z"
transform="translate(0,924.36218)"
id="path3012-6"
style="stroke-width:22.81488991" />
<path
d="m 90,98 20,0"
transform="translate(0,924.36218)"
id="path3014-1"
style="stroke-width:22.81488991" />
</g>
<g
transform="translate(10,-5.00002)"
id="g3016-8-0"
style="stroke-width:22.81488991">
<path
d="m 25,1022.3622 20,0"
id="path3010-0-6"
style="stroke-width:22.81488991" />
<path
d="M 45,118 45,78 75,98 z"
transform="translate(0,924.36218)"
id="path3012-9-3"
style="stroke-width:22.81488991" />
<path
d="m 87.5,1022.3622 17.5,0"
id="path3014-6-2"
style="stroke-width:22.81488991" />
<path
d="m 100,93 a 10,10 0 1 1 -20,0 10,10 0 1 1 20,0 z"
transform="matrix(0.5,0,0,0.5,37,975.86218)"
id="path3820-0"
style="stroke-width:45.62977982" />
</g>
</g>
<g
transform="translate(0,-926.86216)"
id="layer1-5"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:6.33746958;stroke-linecap:square;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none">
<g
transform="translate(-10,-60)"
id="g3016"
style="stroke-width:6.33746958">
<path
d="m 25,108 20,0"
transform="translate(0,924.36218)"
id="path3008"
style="stroke-width:6.33746958" />
<path
d="m 25,88 20,0"
transform="translate(0,924.36218)"
id="path3010"
style="stroke-width:6.33746958" />
<path
d="m 45,118 0,-40 25,0 c 0,0 20,0 20,20 0,20 -20,20 -20,20 z"
transform="translate(0,924.36218)"
id="path3012"
style="stroke-width:6.33746958" />
<path
d="m 90,98 20,0"
transform="translate(0,924.36218)"
id="path3014"
style="stroke-width:6.33746958" />
</g>
<g
transform="translate(10,-5.00002)"
id="g3016-8"
style="stroke-width:6.33746958">
<path
d="m 25,1022.3622 20,0"
id="path3010-0"
style="stroke-width:6.33746958" />
<path
d="M 45,118 45,78 75,98 z"
transform="translate(0,924.36218)"
id="path3012-9"
style="stroke-width:6.33746958" />
<path
d="m 87.5,1022.3622 17.5,0"
id="path3014-6"
style="stroke-width:6.33746958" />
<path
d="m 100,93 a 10,10 0 1 1 -20,0 10,10 0 1 1 20,0 z"
transform="matrix(0.5,0,0,0.5,37,975.86218)"
id="path3820"
style="stroke-width:12.67493916" />
</g>
</g>
</g>
<text
x="56.96154"
y="1029.7422"
id="text3103"
xml:space="preserve"
style="font-size:22.81624222px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Ubuntu;-inkscape-font-specification:Ubuntu"><tspan
x="56.96154"
y="1029.7422"
id="tspan3105"
style="font-size:20px;font-weight:bold">logdiag</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.3 KiB