File indexing completed on 2024-05-19 15:23:15

0001 <!DOCTYPE html>
0002 <html><head>
0003 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
0004 <title>setup.iss</title>
0005 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (InnoSetup) - Theme (Breeze Light)"/>
0006 </head><body style="background-color:#ffffff;color:#1f1c1b"><pre>
0007 <span style="color:#898887;">; Example Inno Setup script</span>
0008 
0009 <span style="color:#006e28;">#include </span><span style="color:#bf0303;">&quot;external.iss&quot;</span>
0010 
0011 <span style="font-weight:bold;">[Setup]</span>
0012 <span style="color:#0057ae;">AppName=</span>Example Application
0013 <span style="color:#0057ae;">AppVersion=</span>1.2.3
0014 <span style="color:#0057ae;">AppPublisher=</span>example.com
0015 <span style="color:#0057ae;">AppPublisherURL=</span>http://www.example.com/
0016 <span style="color:#0057ae;">WizardStyle=</span>modern
0017 <span style="color:#0057ae;">DefaultDirName=</span><span style="color:#b08000;">{autopf}</span>\Example Application
0018 <span style="color:#0057ae;">DefaultGroupName=</span>Example Application
0019 <span style="color:#0057ae;">Compression=</span>lzma2/max
0020 <span style="color:#0057ae;">SolidCompression=</span>yes
0021 <span style="color:#0057ae;">Uninstallable=</span>not PortableCheck
0022 <span style="color:#0057ae;">UninstallDisplayIcon=</span><span style="color:#b08000;">{app}</span>\Compil32.exe
0023 <span style="color:#0057ae;">LicenseFile=</span>license.txt
0024 <span style="color:#006e28;">#ifdef SIGNTOOL</span>
0025 <span style="color:#0057ae;">SignTool=</span>issigntool
0026 <span style="color:#0057ae;">SignTool=</span>issigntool256
0027 <span style="color:#0057ae;">SignedUninstaller=</span>yes
0028 <span style="color:#006e28;">#endif</span>
0029 
0030 <span style="font-weight:bold;">[Files]</span>
0031 <span style="color:#0057ae;">Source:</span> <span style="color:#bf0303;">&quot;license.txt&quot;</span><span style="color:#ca60ca;">;</span> <span style="color:#0057ae;">DestDir:</span> <span style="color:#bf0303;">&quot;</span><span style="color:#b08000;">{app}</span><span style="color:#bf0303;">&quot;</span><span style="color:#ca60ca;">;</span> <span style="color:#0057ae;">Flags:</span> <span style="color:#006e28;">ignoreversion</span> <span style="color:#006e28;">touch</span>
0032 <span style="color:#0057ae;">Source:</span> <span style="color:#bf0303;">&quot;files\MyApp.exe&quot;</span><span style="color:#ca60ca;">;</span> <span style="color:#0057ae;">DestDir:</span> <span style="color:#bf0303;">&quot;</span><span style="color:#b08000;">{app}</span><span style="color:#bf0303;">&quot;</span><span style="color:#ca60ca;">;</span> <span style="color:#0057ae;">Flags:</span> <span style="color:#006e28;">ignoreversion</span> <span style="color:#006e28;">signonce</span> <span style="color:#006e28;">touch</span>
0033 
0034 <span style="font-weight:bold;">[Code]</span>
0035 <span style="font-weight:bold;">function</span> PortableCheck: <span style="color:#0057ae;">Boolean</span>;
0036 <span style="font-weight:bold;">begin</span>
0037   Result := ExpandConstant(<span style="color:#bf0303;">'{param:portable|0}'</span>) = <span style="color:#bf0303;">'1'</span>;
0038 <span style="font-weight:bold;">end</span>;
0039 </pre></body></html>