Nullsoft Install System instead of InnoSetup for installer

Version changed to 4.0.0
This commit is contained in:
Jindra Petřík
2014-11-08 13:24:03 +01:00
parent a38dfeb21e
commit be9a6e28c5
13 changed files with 1303 additions and 21 deletions

View File

@@ -2,8 +2,10 @@
<project name="FFDec" basedir="." default="all">
<description>Builds project FFDec</description>
<property name="VERSION" value="3.0.0" />
<property name="VERSIONNUMBER" value="3.0.0.0" />
<property name="VERSION" value="4.0.0" />
<property name="VERSIONNUMBER" value="4.0.0.0" />
<property name="VERSIONMAJOR" value="4" />
<property name="VERSIONMINOR" value="0" />
<property name="BUILDER" value="jpexs" />
<property name="PROJECTNAME" value="FFDec"/>
@@ -21,11 +23,12 @@
<property name="VENDOR" value="JPEXS" />
<property name="INTERNALNAME" value="FFDec" />
<property name="PRODUCTNAME" value="JPEXS Free Flash Decompiler" />
<property name="PRODUCTURL" value="http://www.free-decompiler.com/flash/" />
<property name="MAINCLASS" value="com.jpexs.decompiler.flash.gui.Main"/>
<property name="INNOSETUPPATH" value="c:\program files (x86)\inno setup 5"/>
<property name="NSISPATH" value="c:\program files (x86)\NSIS"/>
<property name="LAUNCH4JPATH" value="c:\program files (x86)\launch4j" />
<property name="MAXHEAPSIZEPERCENT" value="100"/>
<property name="MAXHEAPSIZERUN" value="4096"/> <!-- for run task (MB)-->
<property name="MAXHEAPSIZERUN" value="4096"/> <!-- for run task (MB)-->
<property name="SOURCEDIR" value="${basedir}/src"/>
@@ -53,8 +56,7 @@
<property name="INSTALLERCONFIG" value="${basedir}/installer.cfg"/>
<property name="INSTALLERPROJECT" value="${basedir}/installer.iss"/>
<property name="EXECONFIG" value="${basedir}/build_exe.xml"/>
<property name="EXE64CONFIG" value="${basedir}/build_exe64.xml"/>
<property name="EXECONFIG" value="${basedir}/build_exe.xml"/>
<property name="REVFILE" value="${basedir}/revision.txt"/>

View File

@@ -115,12 +115,23 @@
<os family="windows"/>
</condition>
<target name="installer" depends="dist" if="is_windows">
<property name="exe.file" value="${RELEASESDIR}/${PREFIXFILENAME}_${VERSION}${VERSIONSUFFIX}_setup.exe"/>
<echo message="#define MyAppVersion &quot;${VERSION}${VERSIONSUFFIX}&quot;" file="${INSTALLERCONFIG}" />
<exec dir="${basedir}" executable="${INNOSETUPPATH}\iscc.exe">
<arg file="${INSTALLERPROJECT}" />
</exec>
<target name="installer" depends="dist">
<taskdef name="nsis" classname="com.danielreese.nsisant.Task">
<classpath location="${basedir}/nsisant-1.3.jar" />
</taskdef>
<property name="exe.file" value="${RELEASESDIR}/${PREFIXFILENAME}_${VERSION}${VERSIONSUFFIX}_setup.exe"/>
<nsis script="installer.nsi" path="${NSISPATH}" verbosity="2">
<define name="APP_NAME" value="${PRODUCTNAME}"/>
<define name="APP_VER" value="${VERSION}${VERSIONSUFFIX}"/>
<define name="APP_VER_MAJOR" value="${VERSIONMAJOR}"/>
<define name="APP_VER_MINOR" value="${VERSIONMINOR}"/>
<define name="APP_PUBLISHER" value="${VENDOR}"/>
<define name="APP_URL" value="${PRODUCTURL}"/>
<define name="APP_SETUPFILE" value="${exe.file}" />
</nsis>
<echo level="info" message="Setup created in ${exe.file}"/>
</target>
<target name="library" depends="build_lib">
@@ -237,7 +248,7 @@
<target name="-upload-do" if="upload.config.exists">
<loadproperties srcfile="jpexs_website.properties" prefix="website"/>
<echo>Uploading...</echo>
<echo level="info">Uploading...</echo>
<!-- Note: You must have developer account to upload to JPEXS website -->
<java jar="uploader.jar" fork="true" failonerror="true">
<arg value="${website.upload.url}" />
@@ -338,7 +349,7 @@
<arg value="rev-parse"/>
<arg value="HEAD"/>
</exec>
<echo message="${GITTAG}" file="${REVFILE}"/>
<echo level="info" message="${GITTAG}" file="${REVFILE}"/>
<loadfile srcfile="${REVFILE}" property="GITSHORTTAG">
@@ -350,9 +361,9 @@
<striplinebreaks/>
</filterchain>
</loadfile>
<echo message="Git tag:${GITTAG}"/>
<echo message="Git shorttag:${GITSHORTTAG}"/>
<echo message="Version: ${VERSION}"/>
<echo level="info" message="Git tag:${GITTAG}"/>
<echo level="info" message="Git shorttag:${GITSHORTTAG}"/>
<echo level="info" message="Version: ${VERSION}"/>
</target>
<target name="build_lib">

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@@ -0,0 +1,409 @@
<?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"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="150"
height="57"
id="svg2"
inkscape:label="Pozadí"
version="1.1"
inkscape:version="0.48.5 r10040"
sodipodi:docname="installer_150x57.svg"
inkscape:export-filename="installer_150x57.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs3">
<linearGradient
id="linearGradient10739">
<stop
id="stop10741"
offset="0"
style="stop-color:#87aade;stop-opacity:1" />
<stop
id="stop10743"
offset="1"
style="stop-color:#ffffff;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient6683">
<stop
style="stop-color:#aaccff;stop-opacity:1"
offset="0"
id="stop6685" />
<stop
style="stop-color:#d7e3f4;stop-opacity:1"
offset="1"
id="stop6687" />
</linearGradient>
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective9" />
<inkscape:perspective
id="perspective3609"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3635"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3660"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3685"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<filter
inkscape:collect="always"
id="filter3706"
color-interpolation-filters="sRGB">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.83384766"
id="feGaussianBlur3708" />
</filter>
<inkscape:perspective
id="perspective3718"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<filter
inkscape:collect="always"
id="filter3823"
x="-0.021163423"
width="1.0423268"
y="-0.12042073"
height="1.2408415"
color-interpolation-filters="sRGB">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="1.157168"
id="feGaussianBlur3825" />
</filter>
<inkscape:perspective
id="perspective3835"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3860"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<filter
inkscape:collect="always"
id="filter3901"
color-interpolation-filters="sRGB">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.73429527"
id="feGaussianBlur3903" />
</filter>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3223"
id="radialGradient3218"
cx="24.910715"
cy="25.625"
fx="24.910715"
fy="25.625"
r="24.732143"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3223">
<stop
id="stop3225"
offset="0"
style="stop-color:#ffffff;stop-opacity:1" />
<stop
style="stop-color:#ffffff;stop-opacity:1"
offset="0.32329962"
id="stop3238" />
<stop
style="stop-color:#c9c9c9;stop-opacity:1"
offset="0.83780611"
id="stop3231" />
<stop
id="stop3229"
offset="1"
style="stop-color:#7c7c7c;stop-opacity:1" />
</linearGradient>
<radialGradient
r="24.732143"
fy="25.625"
fx="24.910715"
cy="25.625"
cx="24.910715"
gradientUnits="userSpaceOnUse"
id="radialGradient5862"
xlink:href="#linearGradient3223"
inkscape:collect="always" />
<filter
color-interpolation-filters="sRGB"
inkscape:collect="always"
id="filter3663-1">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.83097753"
id="feGaussianBlur3665-5" />
</filter>
<filter
color-interpolation-filters="sRGB"
inkscape:collect="always"
id="filter3719-2">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.57000693"
id="feGaussianBlur3721-7" />
</filter>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3223-1"
id="radialGradient3218-6"
cx="24.910715"
cy="25.625"
fx="24.910715"
fy="25.625"
r="24.732143"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3223-1">
<stop
id="stop3225-4"
offset="0"
style="stop-color:#ffffff;stop-opacity:1" />
<stop
style="stop-color:#ffffff;stop-opacity:1"
offset="0.32329962"
id="stop3238-2" />
<stop
style="stop-color:#c9c9c9;stop-opacity:1"
offset="0.83780611"
id="stop3231-3" />
<stop
id="stop3229-2"
offset="1"
style="stop-color:#7c7c7c;stop-opacity:1" />
</linearGradient>
<radialGradient
r="24.732143"
fy="25.625"
fx="24.910715"
cy="25.625"
cx="24.910715"
gradientUnits="userSpaceOnUse"
id="radialGradient9888"
xlink:href="#linearGradient3223-1"
inkscape:collect="always" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.8"
inkscape:cx="43.167754"
inkscape:cy="14.420542"
inkscape:document-units="px"
inkscape:current-layer="layer3"
showgrid="false"
inkscape:window-width="1338"
inkscape:window-height="803"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1" />
<metadata
id="metadata6">
<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>
<g
inkscape:label="background"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-995.3622)"
style="display:inline"
sodipodi:insensitive="true">
<rect
style="fill:#ffffff;fill-opacity:1;stroke:none"
id="rect2815"
width="150"
height="57"
x="0"
y="995.36218" />
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
x="166.76456"
y="1030.4779"
id="text3597-1"><tspan
sodipodi:role="line"
id="tspan3599-7"
x="166.76456"
y="1030.4779"
style="font-size:28px" /></text>
</g>
<g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="icon"
style="opacity:0.0625;display:inline"
transform="translate(0,-243)">
<g
id="g9941"
transform="matrix(0.43761578,0,0,0.1621071,86.558772,249.47513)">
<path
transform="matrix(0,-6.6116817,5.8099655,0,-176.96116,308.45031)"
d="m 49.642859,25.625 a 24.732143,24.732143 0 1 1 -49.4642873,0 24.732143,24.732143 0 1 1 49.4642873,0 z"
sodipodi:ry="24.732143"
sodipodi:rx="24.732143"
sodipodi:cy="25.625"
sodipodi:cx="24.910715"
id="path2430"
style="fill:url(#radialGradient9888);fill-opacity:1;stroke:none;display:inline"
sodipodi:type="arc" />
<path
inkscape:export-ydpi="460.79996"
inkscape:export-xdpi="460.79996"
inkscape:export-filename="F:\trunk\src\com\jpexs\decompiler\flash\gui\graphics\path3234.png"
transform="matrix(0,-5.8099655,5.8099655,0,-185.84542,287.94538)"
d="m 51.126822,25.625 c 0,13.348874 -11.737351,24.170275 -26.216107,24.170275 -2.574017,0 -5.134001,-0.3495 -7.597556,-1.03725"
sodipodi:ry="24.170275"
sodipodi:rx="26.216106"
sodipodi:cy="25.625"
sodipodi:cx="24.910715"
id="path3234"
style="fill:#61aeff;fill-opacity:0.17403313;stroke:none;display:inline"
sodipodi:type="arc"
sodipodi:start="0"
sodipodi:end="1.8648193"
sodipodi:open="true" />
</g>
</g>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="text"
transform="translate(0,7)"
style="opacity:0.8098859;display:inline">
<text
xml:space="preserve"
style="font-size:46.96638107px;font-style:normal;font-weight:normal;fill:#676767;fill-opacity:1;stroke:none;filter:url(#filter3901);font-family:Bitstream Vera Sans"
x="7.5546227"
y="37.095638"
id="text3597-2-5"
transform="matrix(0.49558481,0,0,0.50689873,49.803311,-2.171663)"><tspan
sodipodi:role="line"
id="tspan3599-45-1"
x="7.5546227"
y="37.095638"
style="font-size:28.17983055px;fill:#676767;fill-opacity:1;font-family:Verdana;-inkscape-font-specification:Verdana">JPEXS</tspan></text>
<g
id="g3027"
transform="matrix(0.49460351,0,0,0.49460348,-20.629367,15.959444)">
<text
transform="matrix(0.83039113,0,0,0.96470084,78.866062,0.31214013)"
id="text3597-9"
y="36.770775"
x="6.3993211"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#595959;fill-opacity:1;stroke:none;filter:url(#filter3706);font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
style="font-size:24px;fill:#595959;fill-opacity:1;font-family:Verdana;-inkscape-font-specification:Verdana"
y="36.770775"
x="6.3993211"
id="tspan3599-4"
sodipodi:role="line">Free Flash</tspan></text>
<text
transform="scale(0.92778003,1.0778417)"
id="text3597"
y="31.72249"
x="88.912239"
style="font-size:35.80120468px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
style="font-size:21.48072433px;font-family:Verdana;-inkscape-font-specification:Verdana"
y="31.72249"
x="88.912239"
id="tspan3599"
sodipodi:role="line">Free Flash</tspan></text>
</g>
<g
id="g3805"
transform="matrix(0.41071436,0,0,0.47714438,8.3093488,15.583896)">
<text
id="text3597-4-8"
y="36.500076"
x="159.39526"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#6c0000;fill-opacity:1;stroke:none;filter:url(#filter3823);font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
style="font-size:24px;fill:#6c0000;fill-opacity:1;font-family:Verdana;-inkscape-font-specification:Verdana"
y="36.500076"
x="159.39526"
id="tspan3599-0-8"
sodipodi:role="line">decompiler</tspan></text>
<text
id="text3597-4"
y="34.750473"
x="157.41711"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#ff0000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
style="font-size:24px;fill:#ff0000;font-family:Verdana;-inkscape-font-specification:Verdana"
y="34.750473"
x="157.41711"
id="tspan3599-0"
sodipodi:role="line">decompiler</tspan></text>
</g>
<text
xml:space="preserve"
style="font-size:23.54001045px;font-style:normal;font-weight:normal;fill:#000080;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
x="53.629238"
y="15.491126"
id="text3597-2"
transform="scale(0.98877709,1.0113503)"><tspan
sodipodi:role="line"
id="tspan3599-45"
x="53.629238"
y="15.491126"
style="font-size:14.12400627px;fill:#000080;font-family:Verdana;-inkscape-font-specification:Verdana">JPEXS</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@@ -0,0 +1,499 @@
<?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"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="164"
height="314"
id="svg2"
inkscape:label="Pozadí"
version="1.1"
inkscape:version="0.48.5 r10040"
sodipodi:docname="installer_164x314.svg"
inkscape:export-filename="installer_150x57.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs3">
<linearGradient
id="linearGradient10739">
<stop
id="stop10741"
offset="0"
style="stop-color:#87aade;stop-opacity:1" />
<stop
id="stop10743"
offset="1"
style="stop-color:#ffffff;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient6683">
<stop
style="stop-color:#aaccff;stop-opacity:1"
offset="0"
id="stop6685" />
<stop
style="stop-color:#d7e3f4;stop-opacity:1"
offset="1"
id="stop6687" />
</linearGradient>
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective9" />
<inkscape:perspective
id="perspective3609"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3635"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3660"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3685"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<filter
inkscape:collect="always"
id="filter3706"
color-interpolation-filters="sRGB">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.83384766"
id="feGaussianBlur3708" />
</filter>
<inkscape:perspective
id="perspective3718"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<filter
inkscape:collect="always"
id="filter3823"
x="-0.021163423"
width="1.0423268"
y="-0.12042073"
height="1.2408415"
color-interpolation-filters="sRGB">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="1.157168"
id="feGaussianBlur3825" />
</filter>
<inkscape:perspective
id="perspective3835"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective3860"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<filter
inkscape:collect="always"
id="filter3901"
color-interpolation-filters="sRGB">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.73429527"
id="feGaussianBlur3903" />
</filter>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3223"
id="radialGradient3218"
cx="24.910715"
cy="25.625"
fx="24.910715"
fy="25.625"
r="24.732143"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3223">
<stop
id="stop3225"
offset="0"
style="stop-color:#ffffff;stop-opacity:1" />
<stop
style="stop-color:#ffffff;stop-opacity:1"
offset="0.32329962"
id="stop3238" />
<stop
style="stop-color:#c9c9c9;stop-opacity:1"
offset="0.83780611"
id="stop3231" />
<stop
id="stop3229"
offset="1"
style="stop-color:#7c7c7c;stop-opacity:1" />
</linearGradient>
<radialGradient
r="24.732143"
fy="25.625"
fx="24.910715"
cy="25.625"
cx="24.910715"
gradientUnits="userSpaceOnUse"
id="radialGradient5862"
xlink:href="#linearGradient3223"
inkscape:collect="always" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6683"
id="linearGradient6691"
x1="1024.2947"
y1="1041.4436"
x2="625.11865"
y2="540.40796"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.1073334,0,0,0.62325595,1.89425,394.57662)" />
<filter
color-interpolation-filters="sRGB"
inkscape:collect="always"
id="filter3663">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.83097753"
id="feGaussianBlur3665" />
</filter>
<filter
color-interpolation-filters="sRGB"
inkscape:collect="always"
id="filter3719">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.57000693"
id="feGaussianBlur3721" />
</filter>
<filter
color-interpolation-filters="sRGB"
inkscape:collect="always"
id="filter3663-1">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.83097753"
id="feGaussianBlur3665-5" />
</filter>
<filter
color-interpolation-filters="sRGB"
inkscape:collect="always"
id="filter3719-2">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.57000693"
id="feGaussianBlur3721-7" />
</filter>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3223-1"
id="radialGradient3218-6"
cx="24.910715"
cy="25.625"
fx="24.910715"
fy="25.625"
r="24.732143"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3223-1">
<stop
id="stop3225-4"
offset="0"
style="stop-color:#ffffff;stop-opacity:1" />
<stop
style="stop-color:#ffffff;stop-opacity:1"
offset="0.32329962"
id="stop3238-2" />
<stop
style="stop-color:#c9c9c9;stop-opacity:1"
offset="0.83780611"
id="stop3231-3" />
<stop
id="stop3229-2"
offset="1"
style="stop-color:#7c7c7c;stop-opacity:1" />
</linearGradient>
<radialGradient
r="24.732143"
fy="25.625"
fx="24.910715"
cy="25.625"
cx="24.910715"
gradientUnits="userSpaceOnUse"
id="radialGradient9888"
xlink:href="#linearGradient3223-1"
inkscape:collect="always" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient10739"
id="linearGradient10737"
x1="329.84018"
y1="998.32666"
x2="-59.139709"
y2="712.45349"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.40193415,0,0,1.0359121,1.89425,-39.687171)" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.4"
inkscape:cx="122.11007"
inkscape:cy="121.63665"
inkscape:document-units="px"
inkscape:current-layer="layer3"
showgrid="false"
inkscape:window-width="1338"
inkscape:window-height="803"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1" />
<metadata
id="metadata6">
<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>
<g
inkscape:label="background"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-738.3622)"
style="display:inline"
sodipodi:insensitive="true">
<rect
style="fill:url(#linearGradient6691);fill-opacity:1;stroke:url(#linearGradient10737);stroke-width:3.22633123;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="rect2815"
width="160.77367"
height="310.77368"
x="1.8942502"
y="739.69434" />
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
x="164.76456"
y="1030.4779"
id="text3597-1"><tspan
sodipodi:role="line"
id="tspan3599-7"
x="164.76456"
y="1030.4779"
style="font-size:28px" /></text>
</g>
<g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="icon"
style="opacity:0.0625"
transform="translate(0,14)">
<g
id="g9941"
transform="matrix(0.54075465,0,0,0.54075465,-3.134358,160.26627)">
<path
transform="matrix(0,-5.8099655,5.8099655,0,56.685656,290.68211)"
d="m 49.642859,25.625 c 0,13.659186 -11.072958,24.732143 -24.732144,24.732143 -13.659186,0 -24.7321433,-11.072957 -24.7321433,-24.732143 0,-13.659186 11.0729573,-24.7321434 24.7321433,-24.7321434 13.659186,0 24.732144,11.0729574 24.732144,24.7321434 z"
sodipodi:ry="24.732143"
sodipodi:rx="24.732143"
sodipodi:cy="25.625"
sodipodi:cx="24.910715"
id="path2430"
style="fill:url(#radialGradient9888);fill-opacity:1;stroke:none;display:inline"
sodipodi:type="arc" />
<g
style="fill:#800000;display:inline;filter:url(#filter3719-2)"
transform="matrix(3.3168724,0,0,3.8533521,-268.72554,102.47677)"
id="g3805-0">
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#800000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
x="122.13925"
y="37.368259"
id="text3597-4-9"><tspan
sodipodi:role="line"
id="tspan3599-0-4"
x="122.13925"
y="37.368259"
style="font-size:24px;fill:#800000;font-family:Verdana;-inkscape-font-specification:Verdana">dec</tspan></text>
</g>
<text
transform="matrix(5.2106161,0,0,4.5556753,65.099163,46.936528)"
id="text3597-17"
y="27.453064"
x="8.1327343"
style="font-size:54.9784584px;font-style:normal;font-weight:normal;fill:#333333;fill-opacity:1;stroke:none;display:inline;filter:url(#filter3663-1);font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
style="font-size:32.98707962px;fill:#333333;font-family:Verdana;-inkscape-font-specification:Verdana"
y="27.453064"
x="8.1327343"
id="tspan3599-4-2"
sodipodi:role="line">FF</tspan></text>
<text
transform="scale(1.0694689,0.93504356)"
id="text3597-16"
y="178.01273"
x="92.714867"
style="font-size:267.86349487px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;display:inline;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
style="font-size:160.71809387px;font-family:Verdana;-inkscape-font-specification:Verdana"
y="178.01273"
x="92.714867"
id="tspan3599-8"
sodipodi:role="line">FF</tspan></text>
<g
transform="matrix(3.3168724,0,0,3.8533521,-276.03721,96.606396)"
id="g3805-5"
style="display:inline">
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#ff0000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
x="122.13925"
y="37.368259"
id="text3597-4-7"><tspan
sodipodi:role="line"
id="tspan3599-0-6"
x="122.13925"
y="37.368259"
style="font-size:24px;fill:#ff0000;font-family:Verdana;-inkscape-font-specification:Verdana">dec</tspan></text>
</g>
<path
inkscape:export-ydpi="460.79996"
inkscape:export-xdpi="460.79996"
inkscape:export-filename="F:\trunk\src\com\jpexs\decompiler\flash\gui\graphics\path3234.png"
transform="matrix(0,-5.8099655,5.8099655,0,47.801402,285.35162)"
d="m 49.642859,25.625 c 0,13.659186 -11.072958,24.732143 -24.732144,24.732143 -13.659186,0 -24.7321433,-11.072957 -24.7321433,-24.732143 0,-13.659186 11.0729573,-24.7321434 24.7321433,-24.7321434 13.659186,0 24.732144,11.0729574 24.732144,24.7321434 z"
sodipodi:ry="24.732143"
sodipodi:rx="24.732143"
sodipodi:cy="25.625"
sodipodi:cx="24.910715"
id="path3234"
style="fill:#61aeff;fill-opacity:0.17403313;stroke:none;display:inline"
sodipodi:type="arc" />
</g>
</g>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="text"
transform="translate(0,264)">
<text
xml:space="preserve"
style="font-size:46.96638107px;font-style:normal;font-weight:normal;fill:#676767;fill-opacity:1;stroke:none;filter:url(#filter3901);font-family:Bitstream Vera Sans"
x="7.5546227"
y="37.095638"
id="text3597-2-5"
transform="matrix(1.2847504,0,0,1.3140805,18.230715,-233.27507)"><tspan
sodipodi:role="line"
id="tspan3599-45-1"
x="7.5546227"
y="37.095638"
style="font-size:28.17983055px;fill:#676767;fill-opacity:1;font-family:Verdana;-inkscape-font-specification:Verdana">JPEXS</tspan></text>
<g
id="g3027"
transform="matrix(0.9776253,0,0,0.97762524,-47.179438,-176.2893)">
<text
transform="matrix(0.83039113,0,0,0.96470084,78.866062,0.31214013)"
id="text3597-9"
y="36.770775"
x="6.3993211"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#595959;fill-opacity:1;stroke:none;filter:url(#filter3706);font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
style="font-size:24px;fill:#595959;fill-opacity:1;font-family:Verdana;-inkscape-font-specification:Verdana"
y="36.770775"
x="6.3993211"
id="tspan3599-4"
sodipodi:role="line">Free Flash</tspan></text>
<text
transform="scale(0.92778003,1.0778417)"
id="text3597"
y="31.72249"
x="88.912239"
style="font-size:35.80120468px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
style="font-size:21.48072433px;font-family:Verdana;-inkscape-font-specification:Verdana"
y="31.72249"
x="88.912239"
id="tspan3599"
sodipodi:role="line">Free Flash</tspan></text>
</g>
<g
id="g3805"
transform="matrix(0.8349499,0,0,0.96999689,-101.11345,-139.46573)">
<text
id="text3597-4-8"
y="36.500076"
x="159.39526"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#6c0000;fill-opacity:1;stroke:none;filter:url(#filter3823);font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
style="font-size:24px;fill:#6c0000;fill-opacity:1;font-family:Verdana;-inkscape-font-specification:Verdana"
y="36.500076"
x="159.39526"
id="tspan3599-0-8"
sodipodi:role="line">decompiler</tspan></text>
<text
id="text3597-4"
y="34.750473"
x="157.41711"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#ff0000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
style="font-size:24px;fill:#ff0000;font-family:Verdana;-inkscape-font-specification:Verdana"
y="34.750473"
x="157.41711"
id="tspan3599-0"
sodipodi:role="line">decompiler</tspan></text>
</g>
<text
xml:space="preserve"
style="font-size:61.02494812px;font-style:normal;font-weight:normal;fill:#000080;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
x="26.890507"
y="-184.93135"
id="text3597-2"
transform="scale(0.98877709,1.0113503)"><tspan
sodipodi:role="line"
id="tspan3599-45"
x="26.890507"
y="-184.93135"
style="font-size:36.61497116px;fill:#000080;font-family:Verdana;-inkscape-font-specification:Verdana">JPEXS</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

361
installer.nsi Normal file
View File

@@ -0,0 +1,361 @@
;--------------------------------
;Include Modern UI
!include "MUI2.nsh"
;--------------------------------
;General
;These are defined in Ant script:
;!define APP_VER "4.0"
;!define APP_VER_MAJOR 4
;!define APP_VER_MINOR 0
;!define APP_URL "http://www.free-decompiler.com/flash/"
;!define APP_PUBLISHER "JPEXS"
;!define APP_NAME "JPEXS Free Flash Decompiler"
!define APP_VERNAME "${APP_NAME} v. ${APP_VER}"
!define MUI_WELCOMEFINISHPAGE_BITMAP "graphics\installer_164x314.bmp"
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "graphics\installer_150x57.bmp"
!define APP_UNINSTKEY "{E618D276-6596-41F4-8A98-447D442A77DB}_is1"
SetCompressor /SOLID lzma
;Name and file
Name "${APP_VERNAME}"
OutFile "${APP_SETUPFILE}"
;Default installation folder
InstallDir "$PROGRAMFILES\FFDec"
;Get installation folder from registry if available
InstallDirRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}" "InstallLocation"
;Request application privileges for Windows Vista
RequestExecutionLevel admin
;--------------------------------
;Interface Settings
!define MUI_ABORTWARNING
!include LogicLib.nsh
; Return on top of stack the total size of the selected (installed) sections, formated as DWORD
; Assumes no more than 256 sections are defined
Var GetInstalledSize.total
Function GetInstalledSize
Push $0
Push $1
StrCpy $GetInstalledSize.total 0
${ForEach} $1 0 256 + 1
${if} ${SectionIsSelected} $1
SectionGetSize $1 $0
IntOp $GetInstalledSize.total $GetInstalledSize.total + $0
${Endif}
; Error flag is set when an out-of-bound section is referenced
${if} ${errors}
${break}
${Endif}
${Next}
ClearErrors
Pop $1
Pop $0
IntFmt $GetInstalledSize.total "0x%08X" $GetInstalledSize.total
Push $GetInstalledSize.total
FunctionEnd
Function GetTime
!define GetTime `!insertmacro GetTimeCall`
!macro GetTimeCall _FILE _OPTION _R1 _R2 _R3 _R4 _R5 _R6 _R7
Push `${_FILE}`
Push `${_OPTION}`
Call GetTime
Pop ${_R1}
Pop ${_R2}
Pop ${_R3}
Pop ${_R4}
Pop ${_R5}
Pop ${_R6}
Pop ${_R7}
!macroend
Exch $1
Exch
Exch $0
Exch
Push $2
Push $3
Push $4
Push $5
Push $6
Push $7
ClearErrors
StrCmp $1 'L' gettime
StrCmp $1 'A' getfile
StrCmp $1 'C' getfile
StrCmp $1 'M' getfile
StrCmp $1 'LS' gettime
StrCmp $1 'AS' getfile
StrCmp $1 'CS' getfile
StrCmp $1 'MS' getfile
goto error
getfile:
IfFileExists $0 0 error
System::Call /NOUNLOAD '*(i,l,l,l,i,i,i,i,&t260,&t14) i .r6'
System::Call /NOUNLOAD 'kernel32::FindFirstFileA(t,i)i(r0,r6) .r2'
System::Call /NOUNLOAD 'kernel32::FindClose(i)i(r2)'
gettime:
System::Call /NOUNLOAD '*(&i2,&i2,&i2,&i2,&i2,&i2,&i2,&i2) i .r7'
StrCmp $1 'L' 0 systemtime
System::Call /NOUNLOAD 'kernel32::GetLocalTime(i)i(r7)'
goto convert
systemtime:
StrCmp $1 'LS' 0 filetime
System::Call /NOUNLOAD 'kernel32::GetSystemTime(i)i(r7)'
goto convert
filetime:
System::Call /NOUNLOAD '*$6(i,l,l,l,i,i,i,i,&t260,&t14)i(,.r4,.r3,.r2)'
System::Free /NOUNLOAD $6
StrCmp $1 'A' 0 +3
StrCpy $2 $3
goto tolocal
StrCmp $1 'C' 0 +3
StrCpy $2 $4
goto tolocal
StrCmp $1 'M' tolocal
StrCmp $1 'AS' tosystem
StrCmp $1 'CS' 0 +3
StrCpy $3 $4
goto tosystem
StrCmp $1 'MS' 0 +3
StrCpy $3 $2
goto tosystem
tolocal:
System::Call /NOUNLOAD 'kernel32::FileTimeToLocalFileTime(*l,*l)i(r2,.r3)'
tosystem:
System::Call /NOUNLOAD 'kernel32::FileTimeToSystemTime(*l,i)i(r3,r7)'
convert:
System::Call /NOUNLOAD '*$7(&i2,&i2,&i2,&i2,&i2,&i2,&i2,&i2)i(.r5,.r6,.r4,.r0,.r3,.r2,.r1,)'
System::Free $7
IntCmp $0 9 0 0 +2
StrCpy $0 '0$0'
IntCmp $1 9 0 0 +2
StrCpy $1 '0$1'
IntCmp $2 9 0 0 +2
StrCpy $2 '0$2'
IntCmp $6 9 0 0 +2
StrCpy $6 '0$6'
StrCmp $4 0 0 +3
StrCpy $4 Sunday
goto end
StrCmp $4 1 0 +3
StrCpy $4 Monday
goto end
StrCmp $4 2 0 +3
StrCpy $4 Tuesday
goto end
StrCmp $4 3 0 +3
StrCpy $4 Wednesday
goto end
StrCmp $4 4 0 +3
StrCpy $4 Thursday
goto end
StrCmp $4 5 0 +3
StrCpy $4 Friday
goto end
StrCmp $4 6 0 error
StrCpy $4 Saturday
goto end
error:
SetErrors
StrCpy $0 ''
StrCpy $1 ''
StrCpy $2 ''
StrCpy $3 ''
StrCpy $4 ''
StrCpy $5 ''
StrCpy $6 ''
end:
Pop $7
Exch $6
Exch
Exch $5
Exch 2
Exch $4
Exch 3
Exch $3
Exch 4
Exch $2
Exch 5
Exch $1
Exch 6
Exch $0
FunctionEnd
;--------------------------------
;Pages
!insertmacro MUI_PAGE_LICENSE "resources/license.txt"
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
var SMDir
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "${APP_NAME}"
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKLM"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Inno Setup: Icon Group"
!insertmacro MUI_PAGE_STARTMENU 0 $SMDir
!insertmacro MUI_PAGE_INSTFILES
!define MUI_FINISHPAGE_RUN "$INSTDIR\ffdec.exe"
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
;--------------------------------
;Languages
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "Czech"
;--------------------------------
;Installer Sections
LangString Sec1Name ${LANG_ENGLISH} "FFDec"
LangString Sec1Name ${LANG_CZECH} "FFDec"
LangString Sec2Desktop ${LANG_ENGLISH} "Desktop Shortcut"
LangString Sec2Desktop ${LANG_CZECH} "Z<EFBFBD>stupce na Plo<6C>e"
Section !$(Sec1Name) SecDummy
SetShellVarContext all
SetOutPath "$INSTDIR"
File "dist\ffdec.exe"
File "dist\ffdec.bat"
File "dist\ffdec.jar"
File "dist\license.txt"
SetOutPath "$INSTDIR"
File /r "dist\lib"
;create start-menu items
!insertmacro MUI_STARTMENU_WRITE_BEGIN 0 ;This macro sets $SMDir and skips to MUI_STARTMENU_WRITE_END if the "Don't create shortcuts" checkbox is checked...
CreateDirectory "$SMPROGRAMS\$SMDir"
CreateShortCut "$SMPROGRAMS\$SMDir\Uninstall ${APP_NAME}.lnk" "$INSTDIR\Uninstall.exe" "" "$INSTDIR\Uninstall.exe" 0
CreateShortCut "$SMPROGRAMS\$SMDir\${APP_NAME}.lnk" "$INSTDIR\ffdec.exe" "" "$INSTDIR\ffdec.exe" 0
!insertmacro MUI_STARTMENU_WRITE_END
;Store installation folder
DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}" "DisplayName" "${APP_NAME} (remove only)"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}" "UninstallString" '"$INSTDIR\Uninstall.exe"'
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}" "QuietUninstallString" '"$INSTDIR\Uninstall.exe" /S'
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}" "DisplayVersion" "${APP_VER}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}" "URLInfoAbout" "${APP_URL}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}" "URLUpdateInfo" "${APP_URL}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}" "HelpLink" "${APP_URL}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}" "Publisher" "${APP_PUBLISHER}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}" "InstallLocation" "$INSTDIR"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}" "Inno Setup: Icon Group" "$SMDir"
Call GetInstalledSize
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}" "EstimatedSize" $GetInstalledSize.total
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}" "MajorVersion" ${APP_VER_MAJOR}
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}" "MinorVersion" ${APP_VER_MINOR}
${GetTime} "" "L" $0 $1 $2 $3 $4 $5 $6
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}" "InstallDate" "$2$1$0"
;Create un1installer
WriteUninstaller "$INSTDIR\Uninstall.exe"
SectionEnd
Section !$(Sec2Desktop)
SetShellVarContext all
CreateShortCut "$DESKTOP\${APP_NAME}.lnk" "$INSTDIR\ffdec.exe" ""
SectionEnd
Function .onInit
# set section 'test' as selected and read-only
IntOp $0 ${SF_SELECTED} | ${SF_RO}
SectionSetFlags ${SecDummy} $0
FunctionEnd
;--------------------------------
;Descriptions
;Language strings
LangString DESC_SecDummy ${LANG_ENGLISH} "Application GUI and Libraries"
LangString DESC_SecDummy ${LANG_CZECH} "Aplika<EFBFBD>n<EFBFBD> rozhran<61> a knihovny"
;Assign language strings to sections
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${SecDummy} $(DESC_SecDummy)
!insertmacro MUI_FUNCTION_DESCRIPTION_END
;--------------------------------
;Uninstaller Section
Section "Uninstall"
SetShellVarContext all
RMDir /r "$INSTDIR\*.*"
Delete "$INSTDIR\Uninstall.exe"
RMDir "$INSTDIR"
;Delete Start Menu Shortcuts
Delete "$DESKTOP\${APP_NAME}.lnk"
!insertmacro MUI_STARTMENU_GETFOLDER 0 $SMDir
RmDir /r "$SMPROGRAMS\$SMDir\*.*"
RMDir "$SMPROGRAMS\$SMDir"
DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${APP_UNINSTKEY}"
SectionEnd

View File

@@ -135,7 +135,7 @@
<arg value="rev-parse"/>
<arg value="HEAD"/>
</exec>
<echo message="${GITTAG}" file="${REVFILE}"/>
<echo level="info" message="${GITTAG}" file="${REVFILE}"/>
<loadfile srcfile="${REVFILE}" property="GITSHORTTAG">
@@ -147,9 +147,9 @@
<striplinebreaks/>
</filterchain>
</loadfile>
<echo message="Git tag:${GITTAG}"/>
<echo message="Git shorttag:${GITSHORTTAG}"/>
<echo message="Library Version: ${VERSION}"/>
<echo level="info" message="Git tag:${GITTAG}"/>
<echo level="info" message="Git shorttag:${GITSHORTTAG}"/>
<echo level="info" message="Library Version: ${VERSION}"/>
</target>
<target name="build" depends="-timestamp,-nightly-suffix,-nonightly-suffix,compile">

BIN
nsisant-1.3.jar Normal file

Binary file not shown.