From 0d7aa6ad0dd73da17e282c97c378675dcdc8c19b Mon Sep 17 00:00:00 2001 From: Jussi Koskela Date: Tue, 11 Sep 2018 09:59:53 +0300 Subject: [PATCH] Installer script for Inno Setup TODO: configure the source and output dirs properly. gitlab #30 Change-Id: I2787ca5200aec36199b459eab865d14bc1bf9bac --- releng/inno-setup/README.md | 11 +++++++++++ releng/inno-setup/sysdyn.bmp | Bin 0 -> 77418 bytes releng/inno-setup/sysdyn.iss | 37 +++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 releng/inno-setup/README.md create mode 100644 releng/inno-setup/sysdyn.bmp create mode 100644 releng/inno-setup/sysdyn.iss diff --git a/releng/inno-setup/README.md b/releng/inno-setup/README.md new file mode 100644 index 00000000..f0acfd78 --- /dev/null +++ b/releng/inno-setup/README.md @@ -0,0 +1,11 @@ +Use Innosetup Unicode. + +To perform a setup compilation from the command line, run: + + iscc.exe sysdyn.iss + +Source and output-directories must be adjusted to fit the build, i.e. based +on where the sysdyn build is located and where the installer shall be generated: + + OutputDir=output + Source: "sysdyn/*"; DestDir: "{app}"; Flags: recursesubdirs createallsubdirs diff --git a/releng/inno-setup/sysdyn.bmp b/releng/inno-setup/sysdyn.bmp new file mode 100644 index 0000000000000000000000000000000000000000..77172f9443601c43341a466f3af6c6b56913698b GIT binary patch literal 77418 zcmeI52fS6qwZ^YKMiiB(7+()5x2o8$VjC^j9==sYvz;n}th<(^qN3_w#R(^$d6}IkwA?y! zp(H7hKq7%e0*M3?2_zCoB#=lTkw7AWL;{Hf5(y*{NF!8~x_9p`ty{O2 zmMvS#)?06_D@a*ITKl}`o_oqsM;#^Y+qaj20|&~iS+llKNtai%-+JpUx$(vu<(OlR zsS_O36iWvjaDepc)k|J{@kROc(@)Dwh>fJS_y(5#^rt_`#EBE-DH~A+GHpqt`ei-z9u=n}rp9dK~=Hrh)miOO(UskVPEvZyWrcIkB4?p~{ z^zGX>uw}dMx@%61M)7&rVTZ|>F=MI;Ch>)X-bX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tig|BBn~g& z1iRiC67AoA|NX1lZS7@^h$UA>c5F*5iS3xZF*$*kBab{XkRRL8%(r5VDcKyB+fL>^ ziDxEBg5O1UWntZDnk6^wCFG$q4xvpB{MNfmQv;m1$$z=5I9Yu)_{P z`)Rke9XYW6KVKpS-CEaplgi=S^q``(_|M{x){oqhZ}<64mBy0LC+n?@Ki#&njjvC< zCSS6?mhZa8c;3FBL0TN5P`tfZq-($M+jBbOSwr$%6zZ1YZ$x=wHKjH5d9(B}FIqOba821tXPg3nAz#M(| z?%lK6a~C^%?6F7iJuu&Fv9^pk<@!vltK&DL_%`CClTNB;C*69v+bvqO2)-?=&w6cX z&yLz?em622V}Qq9KgQJw$9LUz*I-Q0w{PFzn?Ll5uRzQbJ>%~%Zs6N0GII>{apriK z2WH&>>u~wzhw%wM#t}yxQT1J>`##&ow{q*Dk>BmZrmoZm;VTvi^iP^}z=p zoR!?(E-@YbR#cz|iIB4i?ep`$00QgP1B$d7d_@0;;1>cC`Pud!(y1)%Q)v{&F zz?R`R@jWZ+Rg%;=B*3?utV!f=Nir|M@1^mrGV41!b?OxS_Q~02pB?-*Cu>ysog2PS z=Wk;3tvlaH;Kyu^wJ4241Et*xd|_f<_yx7~4eS{_FY05LwiJ@uB@##^kVqhrKq7%e z0*M3?2_zCoB#=lTkw7AWL;{Hf5(y*{NF 0) or (Length(WizardDirValue) > 45)) then + begin + Result := False; + MsgBox('The target installation path may not contain space characters or be longer than 45 characters.', mbError, MB_OK); + end; + end; +end; \ No newline at end of file -- 2.47.1