--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<projectDescription>\r
+ <name>sysdyn-installer</name>\r
+ <comment></comment>\r
+ <projects>\r
+ </projects>\r
+ <buildSpec>\r
+ </buildSpec>\r
+ <natures>\r
+ </natures>\r
+</projectDescription>\r
--- /dev/null
+;!@Install@!UTF-8!\r
+Title="Software 5.00"\r
+BeginPrompt="Do you want to install the Software 5.00?"\r
+RunProgram="7zr.exe"\r
+;!@InstallEnd@!\r
--- /dev/null
+del archive.7z\r
+del archive.exe\r
+..\7zr a archive.7z ..\7zr.exe -m0=BCJ2 -m1=LZMA:d25:fb255 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3 -mx\r
+copy /b ..\7zSD.sfx + config.txt + archive.7z archive.exe\r
--- /dev/null
+7-Zip for installers 4.65\r
+-------------------------\r
+\r
+7-Zip is a file archiver for Windows 98/ME/NT/2000/2003/XP. \r
+\r
+7-Zip Copyright (C) 1999-2009 Igor Pavlov.\r
+\r
+This library is free software; you can redistribute it and/or\r
+modify it under the terms of the GNU Lesser General Public\r
+License as published by the Free Software Foundation; either\r
+version 2.1 of the License, or (at your option) any later version.\r
+\r
+7zr.exe is reduced version of 7za.exe of 7-Zip.\r
+7zr.exe supports only 7z format with this codecs: LZMA, BCJ, BCJ2, Copy.\r
+\r
+Example of compressing command for installation packages:\r
+\r
+7zr a -t7z archive.7z * -m0=BCJ2 -m1=LZMA:d25:fb255 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3 -mx\r
+\r
+\r
+7zSD.sfx is SFX module for installers (it uses msvcrt.dll)\r
+\r
+SFX modules for installers (7zS.sfx and 7zSD.sfx) allow to create installation program. \r
+Such module extracts archive to temp folder and then runs specified program and removes \r
+temp files after program finishing. Self-extract archive for installers must be created \r
+as joining 3 files: SFX_Module, Installer_Config, 7z_Archive. \r
+Installer_Config is optional file. You can use the following command to create installer \r
+self-extract archive:\r
+\r
+copy /b 7zSD.sfx + config.txt + archive.7z archive.exe\r
+\r
+The smallest installation package size can be achivied, if installation files was \r
+uncompressed before including to 7z archive.\r
+\r
+-y switch for installer module (at runtime) specifies quiet mode for extracting.\r
+\r
+Installer Config file format\r
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
+Config file contains commands for Installer. File begins from string \r
+;!@Install@!UTF-8! and ends with ;!@InstallEnd@!. File must be written \r
+in UTF-8 encoding. File contains string pairs: \r
+\r
+ID_String="Value"\r
+\r
+ID_String Description \r
+\r
+Title Title for messages \r
+BeginPrompt Begin Prompt message \r
+Progress Value can be "yes" or "no". Default value is "yes". \r
+RunProgram Command for executing. Default value is "setup.exe". \r
+ Substring %%T will be replaced with path to temporary \r
+ folder, where files were extracted \r
+Directory Directory prefix for "RunProgram". Default value is ".\\" \r
+ExecuteFile Name of file for executing \r
+ExecuteParameters Parameters for "ExecuteFile" \r
+\r
+\r
+You can omit any values.\r
+\r
+There are two ways to run program: RunProgram and ExecuteFile. \r
+Use RunProgram, if you want to run some program from .7z archive. \r
+Use ExecuteFile, if you want to open some document from .7z archive or \r
+if you want to execute some command from Windows.\r
+\r
+If you use RunProgram and if you specify empty directory prefix: Directory="", \r
+the system searches for the executable file in the following sequence:\r
+\r
+1. The directory from which the application (installer) loaded. \r
+2. The temporary folder, where files were extracted. \r
+3. The Windows system directory. \r
+\r
+\r
+Config file Examples\r
+~~~~~~~~~~~~~~~~~~~~\r
+\r
+;!@Install@!UTF-8!\r
+Title="7-Zip 4.00"\r
+BeginPrompt="Do you want to install the 7-Zip 4.00?"\r
+RunProgram="setup.exe"\r
+;!@InstallEnd@!\r
+\r
+\r
+\r
+;!@Install@!UTF-8!\r
+Title="7-Zip 4.00"\r
+BeginPrompt="Do you want to install the 7-Zip 4.00?"\r
+ExecuteFile="7zip.msi"\r
+;!@InstallEnd@!\r
+\r
+\r
+\r
+;!@Install@!UTF-8!\r
+Title="7-Zip 4.01 Update"\r
+BeginPrompt="Do you want to install the 7-Zip 4.01 Update?"\r
+ExecuteFile="msiexec.exe"\r
+ExecuteParameters="/i 7zip.msi REINSTALL=ALL REINSTALLMODE=vomus"\r
+;!@InstallEnd@!\r
+\r
--- /dev/null
+ GNU LESSER GENERAL PUBLIC LICENSE\r
+ Version 2.1, February 1999\r
+\r
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.\r
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r
+ Everyone is permitted to copy and distribute verbatim copies\r
+ of this license document, but changing it is not allowed.\r
+\r
+[This is the first released version of the Lesser GPL. It also counts\r
+ as the successor of the GNU Library Public License, version 2, hence\r
+ the version number 2.1.]\r
+\r
+ Preamble\r
+\r
+ The licenses for most software are designed to take away your\r
+freedom to share and change it. By contrast, the GNU General Public\r
+Licenses are intended to guarantee your freedom to share and change\r
+free software--to make sure the software is free for all its users.\r
+\r
+ This license, the Lesser General Public License, applies to some\r
+specially designated software packages--typically libraries--of the\r
+Free Software Foundation and other authors who decide to use it. You\r
+can use it too, but we suggest you first think carefully about whether\r
+this license or the ordinary General Public License is the better\r
+strategy to use in any particular case, based on the explanations below.\r
+\r
+ When we speak of free software, we are referring to freedom of use,\r
+not price. Our General Public Licenses are designed to make sure that\r
+you have the freedom to distribute copies of free software (and charge\r
+for this service if you wish); that you receive source code or can get\r
+it if you want it; that you can change the software and use pieces of\r
+it in new free programs; and that you are informed that you can do\r
+these things.\r
+\r
+ To protect your rights, we need to make restrictions that forbid\r
+distributors to deny you these rights or to ask you to surrender these\r
+rights. These restrictions translate to certain responsibilities for\r
+you if you distribute copies of the library or if you modify it.\r
+\r
+ For example, if you distribute copies of the library, whether gratis\r
+or for a fee, you must give the recipients all the rights that we gave\r
+you. You must make sure that they, too, receive or can get the source\r
+code. If you link other code with the library, you must provide\r
+complete object files to the recipients, so that they can relink them\r
+with the library after making changes to the library and recompiling\r
+it. And you must show them these terms so they know their rights.\r
+\r
+ We protect your rights with a two-step method: (1) we copyright the\r
+library, and (2) we offer you this license, which gives you legal\r
+permission to copy, distribute and/or modify the library.\r
+\r
+ To protect each distributor, we want to make it very clear that\r
+there is no warranty for the free library. Also, if the library is\r
+modified by someone else and passed on, the recipients should know\r
+that what they have is not the original version, so that the original\r
+author's reputation will not be affected by problems that might be\r
+introduced by others.\r
+\f\r
+ Finally, software patents pose a constant threat to the existence of\r
+any free program. We wish to make sure that a company cannot\r
+effectively restrict the users of a free program by obtaining a\r
+restrictive license from a patent holder. Therefore, we insist that\r
+any patent license obtained for a version of the library must be\r
+consistent with the full freedom of use specified in this license.\r
+\r
+ Most GNU software, including some libraries, is covered by the\r
+ordinary GNU General Public License. This license, the GNU Lesser\r
+General Public License, applies to certain designated libraries, and\r
+is quite different from the ordinary General Public License. We use\r
+this license for certain libraries in order to permit linking those\r
+libraries into non-free programs.\r
+\r
+ When a program is linked with a library, whether statically or using\r
+a shared library, the combination of the two is legally speaking a\r
+combined work, a derivative of the original library. The ordinary\r
+General Public License therefore permits such linking only if the\r
+entire combination fits its criteria of freedom. The Lesser General\r
+Public License permits more lax criteria for linking other code with\r
+the library.\r
+\r
+ We call this license the "Lesser" General Public License because it\r
+does Less to protect the user's freedom than the ordinary General\r
+Public License. It also provides other free software developers Less\r
+of an advantage over competing non-free programs. These disadvantages\r
+are the reason we use the ordinary General Public License for many\r
+libraries. However, the Lesser license provides advantages in certain\r
+special circumstances.\r
+\r
+ For example, on rare occasions, there may be a special need to\r
+encourage the widest possible use of a certain library, so that it becomes\r
+a de-facto standard. To achieve this, non-free programs must be\r
+allowed to use the library. A more frequent case is that a free\r
+library does the same job as widely used non-free libraries. In this\r
+case, there is little to gain by limiting the free library to free\r
+software only, so we use the Lesser General Public License.\r
+\r
+ In other cases, permission to use a particular library in non-free\r
+programs enables a greater number of people to use a large body of\r
+free software. For example, permission to use the GNU C Library in\r
+non-free programs enables many more people to use the whole GNU\r
+operating system, as well as its variant, the GNU/Linux operating\r
+system.\r
+\r
+ Although the Lesser General Public License is Less protective of the\r
+users' freedom, it does ensure that the user of a program that is\r
+linked with the Library has the freedom and the wherewithal to run\r
+that program using a modified version of the Library.\r
+\r
+ The precise terms and conditions for copying, distribution and\r
+modification follow. Pay close attention to the difference between a\r
+"work based on the library" and a "work that uses the library". The\r
+former contains code derived from the library, whereas the latter must\r
+be combined with the library in order to run.\r
+\f\r
+ GNU LESSER GENERAL PUBLIC LICENSE\r
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\r
+\r
+ 0. This License Agreement applies to any software library or other\r
+program which contains a notice placed by the copyright holder or\r
+other authorized party saying it may be distributed under the terms of\r
+this Lesser General Public License (also called "this License").\r
+Each licensee is addressed as "you".\r
+\r
+ A "library" means a collection of software functions and/or data\r
+prepared so as to be conveniently linked with application programs\r
+(which use some of those functions and data) to form executables.\r
+\r
+ The "Library", below, refers to any such software library or work\r
+which has been distributed under these terms. A "work based on the\r
+Library" means either the Library or any derivative work under\r
+copyright law: that is to say, a work containing the Library or a\r
+portion of it, either verbatim or with modifications and/or translated\r
+straightforwardly into another language. (Hereinafter, translation is\r
+included without limitation in the term "modification".)\r
+\r
+ "Source code" for a work means the preferred form of the work for\r
+making modifications to it. For a library, complete source code means\r
+all the source code for all modules it contains, plus any associated\r
+interface definition files, plus the scripts used to control compilation\r
+and installation of the library.\r
+\r
+ Activities other than copying, distribution and modification are not\r
+covered by this License; they are outside its scope. The act of\r
+running a program using the Library is not restricted, and output from\r
+such a program is covered only if its contents constitute a work based\r
+on the Library (independent of the use of the Library in a tool for\r
+writing it). Whether that is true depends on what the Library does\r
+and what the program that uses the Library does.\r
+ \r
+ 1. You may copy and distribute verbatim copies of the Library's\r
+complete source code as you receive it, in any medium, provided that\r
+you conspicuously and appropriately publish on each copy an\r
+appropriate copyright notice and disclaimer of warranty; keep intact\r
+all the notices that refer to this License and to the absence of any\r
+warranty; and distribute a copy of this License along with the\r
+Library.\r
+\r
+ You may charge a fee for the physical act of transferring a copy,\r
+and you may at your option offer warranty protection in exchange for a\r
+fee.\r
+\f\r
+ 2. You may modify your copy or copies of the Library or any portion\r
+of it, thus forming a work based on the Library, and copy and\r
+distribute such modifications or work under the terms of Section 1\r
+above, provided that you also meet all of these conditions:\r
+\r
+ a) The modified work must itself be a software library.\r
+\r
+ b) You must cause the files modified to carry prominent notices\r
+ stating that you changed the files and the date of any change.\r
+\r
+ c) You must cause the whole of the work to be licensed at no\r
+ charge to all third parties under the terms of this License.\r
+\r
+ d) If a facility in the modified Library refers to a function or a\r
+ table of data to be supplied by an application program that uses\r
+ the facility, other than as an argument passed when the facility\r
+ is invoked, then you must make a good faith effort to ensure that,\r
+ in the event an application does not supply such function or\r
+ table, the facility still operates, and performs whatever part of\r
+ its purpose remains meaningful.\r
+\r
+ (For example, a function in a library to compute square roots has\r
+ a purpose that is entirely well-defined independent of the\r
+ application. Therefore, Subsection 2d requires that any\r
+ application-supplied function or table used by this function must\r
+ be optional: if the application does not supply it, the square\r
+ root function must still compute square roots.)\r
+\r
+These requirements apply to the modified work as a whole. If\r
+identifiable sections of that work are not derived from the Library,\r
+and can be reasonably considered independent and separate works in\r
+themselves, then this License, and its terms, do not apply to those\r
+sections when you distribute them as separate works. But when you\r
+distribute the same sections as part of a whole which is a work based\r
+on the Library, the distribution of the whole must be on the terms of\r
+this License, whose permissions for other licensees extend to the\r
+entire whole, and thus to each and every part regardless of who wrote\r
+it.\r
+\r
+Thus, it is not the intent of this section to claim rights or contest\r
+your rights to work written entirely by you; rather, the intent is to\r
+exercise the right to control the distribution of derivative or\r
+collective works based on the Library.\r
+\r
+In addition, mere aggregation of another work not based on the Library\r
+with the Library (or with a work based on the Library) on a volume of\r
+a storage or distribution medium does not bring the other work under\r
+the scope of this License.\r
+\r
+ 3. You may opt to apply the terms of the ordinary GNU General Public\r
+License instead of this License to a given copy of the Library. To do\r
+this, you must alter all the notices that refer to this License, so\r
+that they refer to the ordinary GNU General Public License, version 2,\r
+instead of to this License. (If a newer version than version 2 of the\r
+ordinary GNU General Public License has appeared, then you can specify\r
+that version instead if you wish.) Do not make any other change in\r
+these notices.\r
+\f\r
+ Once this change is made in a given copy, it is irreversible for\r
+that copy, so the ordinary GNU General Public License applies to all\r
+subsequent copies and derivative works made from that copy.\r
+\r
+ This option is useful when you wish to copy part of the code of\r
+the Library into a program that is not a library.\r
+\r
+ 4. You may copy and distribute the Library (or a portion or\r
+derivative of it, under Section 2) in object code or executable form\r
+under the terms of Sections 1 and 2 above provided that you accompany\r
+it with the complete corresponding machine-readable source code, which\r
+must be distributed under the terms of Sections 1 and 2 above on a\r
+medium customarily used for software interchange.\r
+\r
+ If distribution of object code is made by offering access to copy\r
+from a designated place, then offering equivalent access to copy the\r
+source code from the same place satisfies the requirement to\r
+distribute the source code, even though third parties are not\r
+compelled to copy the source along with the object code.\r
+\r
+ 5. A program that contains no derivative of any portion of the\r
+Library, but is designed to work with the Library by being compiled or\r
+linked with it, is called a "work that uses the Library". Such a\r
+work, in isolation, is not a derivative work of the Library, and\r
+therefore falls outside the scope of this License.\r
+\r
+ However, linking a "work that uses the Library" with the Library\r
+creates an executable that is a derivative of the Library (because it\r
+contains portions of the Library), rather than a "work that uses the\r
+library". The executable is therefore covered by this License.\r
+Section 6 states terms for distribution of such executables.\r
+\r
+ When a "work that uses the Library" uses material from a header file\r
+that is part of the Library, the object code for the work may be a\r
+derivative work of the Library even though the source code is not.\r
+Whether this is true is especially significant if the work can be\r
+linked without the Library, or if the work is itself a library. The\r
+threshold for this to be true is not precisely defined by law.\r
+\r
+ If such an object file uses only numerical parameters, data\r
+structure layouts and accessors, and small macros and small inline\r
+functions (ten lines or less in length), then the use of the object\r
+file is unrestricted, regardless of whether it is legally a derivative\r
+work. (Executables containing this object code plus portions of the\r
+Library will still fall under Section 6.)\r
+\r
+ Otherwise, if the work is a derivative of the Library, you may\r
+distribute the object code for the work under the terms of Section 6.\r
+Any executables containing that work also fall under Section 6,\r
+whether or not they are linked directly with the Library itself.\r
+\f\r
+ 6. As an exception to the Sections above, you may also combine or\r
+link a "work that uses the Library" with the Library to produce a\r
+work containing portions of the Library, and distribute that work\r
+under terms of your choice, provided that the terms permit\r
+modification of the work for the customer's own use and reverse\r
+engineering for debugging such modifications.\r
+\r
+ You must give prominent notice with each copy of the work that the\r
+Library is used in it and that the Library and its use are covered by\r
+this License. You must supply a copy of this License. If the work\r
+during execution displays copyright notices, you must include the\r
+copyright notice for the Library among them, as well as a reference\r
+directing the user to the copy of this License. Also, you must do one\r
+of these things:\r
+\r
+ a) Accompany the work with the complete corresponding\r
+ machine-readable source code for the Library including whatever\r
+ changes were used in the work (which must be distributed under\r
+ Sections 1 and 2 above); and, if the work is an executable linked\r
+ with the Library, with the complete machine-readable "work that\r
+ uses the Library", as object code and/or source code, so that the\r
+ user can modify the Library and then relink to produce a modified\r
+ executable containing the modified Library. (It is understood\r
+ that the user who changes the contents of definitions files in the\r
+ Library will not necessarily be able to recompile the application\r
+ to use the modified definitions.)\r
+\r
+ b) Use a suitable shared library mechanism for linking with the\r
+ Library. A suitable mechanism is one that (1) uses at run time a\r
+ copy of the library already present on the user's computer system,\r
+ rather than copying library functions into the executable, and (2)\r
+ will operate properly with a modified version of the library, if\r
+ the user installs one, as long as the modified version is\r
+ interface-compatible with the version that the work was made with.\r
+\r
+ c) Accompany the work with a written offer, valid for at\r
+ least three years, to give the same user the materials\r
+ specified in Subsection 6a, above, for a charge no more\r
+ than the cost of performing this distribution.\r
+\r
+ d) If distribution of the work is made by offering access to copy\r
+ from a designated place, offer equivalent access to copy the above\r
+ specified materials from the same place.\r
+\r
+ e) Verify that the user has already received a copy of these\r
+ materials or that you have already sent this user a copy.\r
+\r
+ For an executable, the required form of the "work that uses the\r
+Library" must include any data and utility programs needed for\r
+reproducing the executable from it. However, as a special exception,\r
+the materials to be distributed need not include anything that is\r
+normally distributed (in either source or binary form) with the major\r
+components (compiler, kernel, and so on) of the operating system on\r
+which the executable runs, unless that component itself accompanies\r
+the executable.\r
+\r
+ It may happen that this requirement contradicts the license\r
+restrictions of other proprietary libraries that do not normally\r
+accompany the operating system. Such a contradiction means you cannot\r
+use both them and the Library together in an executable that you\r
+distribute.\r
+\f\r
+ 7. You may place library facilities that are a work based on the\r
+Library side-by-side in a single library together with other library\r
+facilities not covered by this License, and distribute such a combined\r
+library, provided that the separate distribution of the work based on\r
+the Library and of the other library facilities is otherwise\r
+permitted, and provided that you do these two things:\r
+\r
+ a) Accompany the combined library with a copy of the same work\r
+ based on the Library, uncombined with any other library\r
+ facilities. This must be distributed under the terms of the\r
+ Sections above.\r
+\r
+ b) Give prominent notice with the combined library of the fact\r
+ that part of it is a work based on the Library, and explaining\r
+ where to find the accompanying uncombined form of the same work.\r
+\r
+ 8. You may not copy, modify, sublicense, link with, or distribute\r
+the Library except as expressly provided under this License. Any\r
+attempt otherwise to copy, modify, sublicense, link with, or\r
+distribute the Library is void, and will automatically terminate your\r
+rights under this License. However, parties who have received copies,\r
+or rights, from you under this License will not have their licenses\r
+terminated so long as such parties remain in full compliance.\r
+\r
+ 9. You are not required to accept this License, since you have not\r
+signed it. However, nothing else grants you permission to modify or\r
+distribute the Library or its derivative works. These actions are\r
+prohibited by law if you do not accept this License. Therefore, by\r
+modifying or distributing the Library (or any work based on the\r
+Library), you indicate your acceptance of this License to do so, and\r
+all its terms and conditions for copying, distributing or modifying\r
+the Library or works based on it.\r
+\r
+ 10. Each time you redistribute the Library (or any work based on the\r
+Library), the recipient automatically receives a license from the\r
+original licensor to copy, distribute, link with or modify the Library\r
+subject to these terms and conditions. You may not impose any further\r
+restrictions on the recipients' exercise of the rights granted herein.\r
+You are not responsible for enforcing compliance by third parties with\r
+this License.\r
+\f\r
+ 11. If, as a consequence of a court judgment or allegation of patent\r
+infringement or for any other reason (not limited to patent issues),\r
+conditions are imposed on you (whether by court order, agreement or\r
+otherwise) that contradict the conditions of this License, they do not\r
+excuse you from the conditions of this License. If you cannot\r
+distribute so as to satisfy simultaneously your obligations under this\r
+License and any other pertinent obligations, then as a consequence you\r
+may not distribute the Library at all. For example, if a patent\r
+license would not permit royalty-free redistribution of the Library by\r
+all those who receive copies directly or indirectly through you, then\r
+the only way you could satisfy both it and this License would be to\r
+refrain entirely from distribution of the Library.\r
+\r
+If any portion of this section is held invalid or unenforceable under any\r
+particular circumstance, the balance of the section is intended to apply,\r
+and the section as a whole is intended to apply in other circumstances.\r
+\r
+It is not the purpose of this section to induce you to infringe any\r
+patents or other property right claims or to contest validity of any\r
+such claims; this section has the sole purpose of protecting the\r
+integrity of the free software distribution system which is\r
+implemented by public license practices. Many people have made\r
+generous contributions to the wide range of software distributed\r
+through that system in reliance on consistent application of that\r
+system; it is up to the author/donor to decide if he or she is willing\r
+to distribute software through any other system and a licensee cannot\r
+impose that choice.\r
+\r
+This section is intended to make thoroughly clear what is believed to\r
+be a consequence of the rest of this License.\r
+\r
+ 12. If the distribution and/or use of the Library is restricted in\r
+certain countries either by patents or by copyrighted interfaces, the\r
+original copyright holder who places the Library under this License may add\r
+an explicit geographical distribution limitation excluding those countries,\r
+so that distribution is permitted only in or among countries not thus\r
+excluded. In such case, this License incorporates the limitation as if\r
+written in the body of this License.\r
+\r
+ 13. The Free Software Foundation may publish revised and/or new\r
+versions of the Lesser General Public License from time to time.\r
+Such new versions will be similar in spirit to the present version,\r
+but may differ in detail to address new problems or concerns.\r
+\r
+Each version is given a distinguishing version number. If the Library\r
+specifies a version number of this License which applies to it and\r
+"any later version", you have the option of following the terms and\r
+conditions either of that version or of any later version published by\r
+the Free Software Foundation. If the Library does not specify a\r
+license version number, you may choose any version ever published by\r
+the Free Software Foundation.\r
+\f\r
+ 14. If you wish to incorporate parts of the Library into other free\r
+programs whose distribution conditions are incompatible with these,\r
+write to the author to ask for permission. For software which is\r
+copyrighted by the Free Software Foundation, write to the Free\r
+Software Foundation; we sometimes make exceptions for this. Our\r
+decision will be guided by the two goals of preserving the free status\r
+of all derivatives of our free software and of promoting the sharing\r
+and reuse of software generally.\r
+\r
+ NO WARRANTY\r
+\r
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\r
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\r
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\r
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY\r
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\r
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\r
+LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\r
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\r
+\r
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\r
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\r
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\r
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\r
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\r
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\r
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\r
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\r
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\r
+DAMAGES.\r
+\r
+ END OF TERMS AND CONDITIONS\r
+\f\r
+ How to Apply These Terms to Your New Libraries\r
+\r
+ If you develop a new library, and you want it to be of the greatest\r
+possible use to the public, we recommend making it free software that\r
+everyone can redistribute and change. You can do so by permitting\r
+redistribution under these terms (or, alternatively, under the terms of the\r
+ordinary General Public License).\r
+\r
+ To apply these terms, attach the following notices to the library. It is\r
+safest to attach them to the start of each source file to most effectively\r
+convey the exclusion of warranty; and each file should have at least the\r
+"copyright" line and a pointer to where the full notice is found.\r
+\r
+ <one line to give the library's name and a brief idea of what it does.>\r
+ Copyright (C) <year> <name of author>\r
+\r
+ This library is free software; you can redistribute it and/or\r
+ modify it under the terms of the GNU Lesser General Public\r
+ License as published by the Free Software Foundation; either\r
+ version 2.1 of the License, or (at your option) any later version.\r
+\r
+ This library is distributed in the hope that it will be useful,\r
+ but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
+ Lesser General Public License for more details.\r
+\r
+ You should have received a copy of the GNU Lesser General Public\r
+ License along with this library; if not, write to the Free Software\r
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r
+\r
+Also add information on how to contact you by electronic and paper mail.\r
+\r
+You should also get your employer (if you work as a programmer) or your\r
+school, if any, to sign a "copyright disclaimer" for the library, if\r
+necessary. Here is a sample; alter the names:\r
+\r
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the\r
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.\r
+\r
+ <signature of Ty Coon>, 1 April 1990\r
+ Ty Coon, President of Vice\r
+\r
+That's all there is to it!\r
+\r
+\r
--- /dev/null
+7-Zip Extra history\r
+-------------------\r
+\r
+4.65 2009-02-03\r
+------------------------------\r
+ - Some bugs were fixed.\r
+\r
+\r
+4.38 beta 2006-04-13\r
+------------------------------\r
+ - SFX for installers now supports new properties in config file:\r
+ Progress, Directory, ExecuteFile, ExecuteParameters.\r
+\r
+\r
+4.34 beta 2006-02-27\r
+------------------------------\r
+ - ISetProperties::SetProperties:\r
+ it's possible to specify desirable number of CPU threads: \r
+ PROPVARIANT: name=L"mt", vt = VT_UI4, ulVal = NumberOfThreads\r
+ If "mt" is not defined, 7za.dll will check number of processors in system to set \r
+ number of desirable threads. \r
+ Now 7za.dll can use:\r
+ 2 threads for LZMA compressing\r
+ N threads for BZip2 compressing\r
+ 4 threads for BZip2 decompressing\r
+ Other codecs use only one thread. \r
+ Note: 7za.dll can use additional "small" threads with low CPU load.\r
+ - It's possible to call ISetProperties::SetProperties to specify "mt" property for decoder.\r
+\r
+\r
+4.33 beta 2006-02-05\r
+------------------------------\r
+ - Compressing speed and Memory requirements were increased.\r
+ Default dictionary size was increased: Fastest: 64 KB, Fast: 1 MB, \r
+ Normal: 4 MB, Max: 16 MB, Ultra: 64 MB.\r
+ - 7z/LZMA now can use only these match finders: HC4, BT2, BT3, BT4\r
+\r
+\r
+4.27 2005-09-21\r
+------------------------------\r
+ - Some GUIDs/interfaces were changed.\r
+ IStream.h:\r
+ ISequentialInStream::Read now works as old ReadPart\r
+ ISequentialOutStream::Write now works as old WritePart\r
--- /dev/null
+ 7-Zip Command line version\r
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~\r
+ License for use and distribution\r
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
+\r
+ 7-Zip Copyright (C) 1999-2009 Igor Pavlov.\r
+\r
+ 7za.exe is distributed under the GNU LGPL license\r
+\r
+ Notes: \r
+ You can use 7-Zip on any computer, including a computer in a commercial \r
+ organization. You don't need to register or pay for 7-Zip.\r
+\r
+\r
+ GNU LGPL information\r
+ --------------------\r
+\r
+ This library is free software; you can redistribute it and/or\r
+ modify it under the terms of the GNU Lesser General Public\r
+ License as published by the Free Software Foundation; either\r
+ version 2.1 of the License, or (at your option) any later version.\r
+\r
+ This library is distributed in the hope that it will be useful,\r
+ but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
+ Lesser General Public License for more details.\r
+\r
+ You should have received a copy of the GNU Lesser General Public\r
+ License along with this library; if not, write to the Free Software\r
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r
--- /dev/null
+7-Zip Command line version 4.65\r
+-------------------------------\r
+\r
+7-Zip is a file archiver with high compression ratio.\r
+7za.exe is a standalone command line version of 7-Zip.\r
+\r
+7-Zip Copyright (C) 1999-2009 Igor Pavlov.\r
+\r
+Features of 7za.exe: \r
+ - High compression ratio in new 7z format\r
+ - Supported formats:\r
+ - Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR \r
+ - Unpacking only: Z\r
+ - Highest compression ratio for ZIP and GZIP formats.\r
+ - Fast compression and decompression\r
+ - Strong AES-256 encryption in 7z and ZIP formats.\r
+\r
+7za.exe is a free software distributed under the GNU LGPL.\r
+Read license.txt for more information.\r
+\r
+Source code of 7za.exe and 7-Zip can be found at\r
+http://www.7-zip.org/\r
+\r
+7za.exe can work in Windows 95/98/ME/NT/2000/XP/2003/Vista.\r
+\r
+There is also port of 7za.exe for POSIX systems like Unix (Linux, Solaris, OpenBSD, \r
+FreeBSD, Cygwin, AIX, ...), MacOS X and BeOS:\r
+\r
+http://p7zip.sourceforge.net/\r
+\r
+\r
+ This distributive packet contains the following files:\r
+\r
+ 7za.exe - 7-Zip standalone command line version.\r
+ readme.txt - This file.\r
+ copying.txt - GNU LGPL license.\r
+ license.txt - License information.\r
+ 7-zip.chm - User's Manual in HTML Help format.\r
+\r
+\r
+---\r
+End of document\r
--- /dev/null
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+
+<!-- The English langpack -->
+
+<langpack>
+
+ <!-- NonBlankTargetPanel strings -->
+ <str id="NonBlankTargetPanel.noBlanks">
+ Sorry, the target directory cannot currently contain
+ spaces due to limitations imposed by the MinGW
+ C compiler used by OpenModelica.
+
+ For more information on the issue, see
+ http://www.mingw.org/wiki/Getting_Started.
+ </str>
+
+ <!-- SummaryPanel strings -->
+ <str id="NonBlankTargetPanel.summaryCaption" txt="Installation Path"/>
+
+</langpack>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- saved from url=(0041)http://www.eclipse.org/legal/epl-v10.html -->
+<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+
+<TITLE>Eclipse Public License - Version 1.0</TITLE>
+<STYLE type="text/css">
+ body {
+ size: 8.5in 11.0in;
+ margin: 0.25in 0.5in 0.25in 0.5in;
+ tab-interval: 0.5in;
+ }
+ p {
+ margin-left: auto;
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+ }
+ p.list {
+ margin-left: 0.5in;
+ margin-top: 0.05em;
+ margin-bottom: 0.05em;
+ }
+ </STYLE>
+
+</HEAD><BODY lang="EN-US">
+
+<H2>Eclipse Public License - v 1.0</H2>
+
+<P>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
+PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
+DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS
+AGREEMENT.</P>
+
+<P><B>1. DEFINITIONS</B></P>
+
+<P>"Contribution" means:</P>
+
+<P class="list">a) in the case of the initial Contributor, the initial
+code and documentation distributed under this Agreement, and</P>
+<P class="list">b) in the case of each subsequent Contributor:</P>
+<P class="list">i) changes to the Program, and</P>
+<P class="list">ii) additions to the Program;</P>
+<P class="list">where such changes and/or additions to the Program
+originate from and are distributed by that particular Contributor. A
+Contribution 'originates' from a Contributor if it was added to the
+Program by such Contributor itself or anyone acting on such
+Contributor's behalf. Contributions do not include additions to the
+Program which: (i) are separate modules of software distributed in
+conjunction with the Program under their own license agreement, and (ii)
+are not derivative works of the Program.</P>
+
+<P>"Contributor" means any person or entity that distributes
+the Program.</P>
+
+<P>"Licensed Patents" mean patent claims licensable by a
+Contributor which are necessarily infringed by the use or sale of its
+Contribution alone or when combined with the Program.</P>
+
+<P>"Program" means the Contributions distributed in accordance
+with this Agreement.</P>
+
+<P>"Recipient" means anyone who receives the Program under
+this Agreement, including all Contributors.</P>
+
+<P><B>2. GRANT OF RIGHTS</B></P>
+
+<P class="list">a) Subject to the terms of this Agreement, each
+Contributor hereby grants Recipient a non-exclusive, worldwide,
+royalty-free copyright license to reproduce, prepare derivative works
+of, publicly display, publicly perform, distribute and sublicense the
+Contribution of such Contributor, if any, and such derivative works, in
+source code and object code form.</P>
+
+<P class="list">b) Subject to the terms of this Agreement, each
+Contributor hereby grants Recipient a non-exclusive, worldwide,
+royalty-free patent license under Licensed Patents to make, use, sell,
+offer to sell, import and otherwise transfer the Contribution of such
+Contributor, if any, in source code and object code form. This patent
+license shall apply to the combination of the Contribution and the
+Program if, at the time the Contribution is added by the Contributor,
+such addition of the Contribution causes such combination to be covered
+by the Licensed Patents. The patent license shall not apply to any other
+combinations which include the Contribution. No hardware per se is
+licensed hereunder.</P>
+
+<P class="list">c) Recipient understands that although each Contributor
+grants the licenses to its Contributions set forth herein, no assurances
+are provided by any Contributor that the Program does not infringe the
+patent or other intellectual property rights of any other entity. Each
+Contributor disclaims any liability to Recipient for claims brought by
+any other entity based on infringement of intellectual property rights
+or otherwise. As a condition to exercising the rights and licenses
+granted hereunder, each Recipient hereby assumes sole responsibility to
+secure any other intellectual property rights needed, if any. For
+example, if a third party patent license is required to allow Recipient
+to distribute the Program, it is Recipient's responsibility to acquire
+that license before distributing the Program.</P>
+
+<P class="list">d) Each Contributor represents that to its knowledge it
+has sufficient copyright rights in its Contribution, if any, to grant
+the copyright license set forth in this Agreement.</P>
+
+<P><B>3. REQUIREMENTS</B></P>
+
+<P>A Contributor may choose to distribute the Program in object code
+form under its own license agreement, provided that:</P>
+
+<P class="list">a) it complies with the terms and conditions of this
+Agreement; and</P>
+
+<P class="list">b) its license agreement:</P>
+
+<P class="list">i) effectively disclaims on behalf of all Contributors
+all warranties and conditions, express and implied, including warranties
+or conditions of title and non-infringement, and implied warranties or
+conditions of merchantability and fitness for a particular purpose;</P>
+
+<P class="list">ii) effectively excludes on behalf of all Contributors
+all liability for damages, including direct, indirect, special,
+incidental and consequential damages, such as lost profits;</P>
+
+<P class="list">iii) states that any provisions which differ from this
+Agreement are offered by that Contributor alone and not by any other
+party; and</P>
+
+<P class="list">iv) states that source code for the Program is available
+from such Contributor, and informs licensees how to obtain it in a
+reasonable manner on or through a medium customarily used for software
+exchange.</P>
+
+<P>When the Program is made available in source code form:</P>
+
+<P class="list">a) it must be made available under this Agreement; and</P>
+
+<P class="list">b) a copy of this Agreement must be included with each
+copy of the Program.</P>
+
+<P>Contributors may not remove or alter any copyright notices contained
+within the Program.</P>
+
+<P>Each Contributor must identify itself as the originator of its
+Contribution, if any, in a manner that reasonably allows subsequent
+Recipients to identify the originator of the Contribution.</P>
+
+<P><B>4. COMMERCIAL DISTRIBUTION</B></P>
+
+<P>Commercial distributors of software may accept certain
+responsibilities with respect to end users, business partners and the
+like. While this license is intended to facilitate the commercial use of
+the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create
+potential liability for other Contributors. Therefore, if a Contributor
+includes the Program in a commercial product offering, such Contributor
+("Commercial Contributor") hereby agrees to defend and
+indemnify every other Contributor ("Indemnified Contributor")
+against any losses, damages and costs (collectively "Losses")
+arising from claims, lawsuits and other legal actions brought by a third
+party against the Indemnified Contributor to the extent caused by the
+acts or omissions of such Commercial Contributor in connection with its
+distribution of the Program in a commercial product offering. The
+obligations in this section do not apply to any claims or Losses
+relating to any actual or alleged intellectual property infringement. In
+order to qualify, an Indemnified Contributor must: a) promptly notify
+the Commercial Contributor in writing of such claim, and b) allow the
+Commercial Contributor to control, and cooperate with the Commercial
+Contributor in, the defense and any related settlement negotiations. The
+Indemnified Contributor may participate in any such claim at its own
+expense.</P>
+
+<P>For example, a Contributor might include the Program in a commercial
+product offering, Product X. That Contributor is then a Commercial
+Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance
+claims and warranties are such Commercial Contributor's responsibility
+alone. Under this section, the Commercial Contributor would have to
+defend claims against the other Contributors related to those
+performance claims and warranties, and if a court requires any other
+Contributor to pay any damages as a result, the Commercial Contributor
+must pay those damages.</P>
+
+<P><B>5. NO WARRANTY</B></P>
+
+<P>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
+PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
+ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
+OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and
+distributing the Program and assumes all risks associated with its
+exercise of rights under this Agreement , including but not limited to
+the risks and costs of program errors, compliance with applicable laws,
+damage to or loss of data, programs or equipment, and unavailability or
+interruption of operations.</P>
+
+<P><B>6. DISCLAIMER OF LIABILITY</B></P>
+
+<P>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
+NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
+WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR
+DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
+HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</P>
+
+<P><B>7. GENERAL</B></P>
+
+<P>If any provision of this Agreement is invalid or unenforceable under
+applicable law, it shall not affect the validity or enforceability of
+the remainder of the terms of this Agreement, and without further action
+by the parties hereto, such provision shall be reformed to the minimum
+extent necessary to make such provision valid and enforceable.</P>
+
+<P>If Recipient institutes patent litigation against any entity
+(including a cross-claim or counterclaim in a lawsuit) alleging that the
+Program itself (excluding combinations of the Program with other
+software or hardware) infringes such Recipient's patent(s), then such
+Recipient's rights granted under Section 2(b) shall terminate as of the
+date such litigation is filed.</P>
+
+<P>All Recipient's rights under this Agreement shall terminate if it
+fails to comply with any of the material terms or conditions of this
+Agreement and does not cure such failure in a reasonable period of time
+after becoming aware of such noncompliance. If all Recipient's rights
+under this Agreement terminate, Recipient agrees to cease use and
+distribution of the Program as soon as reasonably practicable. However,
+Recipient's obligations under this Agreement and any licenses granted by
+Recipient relating to the Program shall continue and survive.</P>
+
+<P>Everyone is permitted to copy and distribute copies of this
+Agreement, but in order to avoid inconsistency the Agreement is
+copyrighted and may only be modified in the following manner. The
+Agreement Steward reserves the right to publish new versions (including
+revisions) of this Agreement from time to time. No one other than the
+Agreement Steward has the right to modify this Agreement. The Eclipse
+Foundation is the initial Agreement Steward. The Eclipse Foundation may
+assign the responsibility to serve as the Agreement Steward to a
+suitable separate entity. Each new version of the Agreement will be
+given a distinguishing version number. The Program (including
+Contributions) may always be distributed subject to the version of the
+Agreement under which it was received. In addition, after a new version
+of the Agreement is published, Contributor may elect to distribute the
+Program (including its Contributions) under the new version. Except as
+expressly stated in Sections 2(a) and 2(b) above, Recipient receives no
+rights or licenses to the intellectual property of any Contributor under
+this Agreement, whether expressly, by implication, estoppel or
+otherwise. All rights in the Program not expressly granted under this
+Agreement are reserved.</P>
+
+<P>This Agreement is governed by the laws of the State of New York and
+the intellectual property laws of the United States of America. No party
+to this Agreement will bring a legal action under this Agreement more
+than one year after the cause of action arose. Each party waives its
+rights to a jury trial in any resulting litigation.</P>
+
+
+
+</BODY></HTML>
\ No newline at end of file
--- /dev/null
+${USER_HOME}/Simantics/Sysdyn/$APP_VER
\ No newline at end of file
--- /dev/null
+C:\Simantics\Sysdyn\$APP_VER
\ No newline at end of file
--- /dev/null
+izpack.home=/usr/local/izpack\r
+izpack.src=${izpack.home}/src\r
+izpack.compiler=${izpack.home}/bin/compile\r
+izpack2exe.home=${izpack.home}/utils/wrappers/izpack2exe\r
+izpack2exe=${izpack2exe.home}/izpack2exe.py\r
+sevenzip.executable=/usr/bin/7za\r
+upx.executable=/usr/bin/upx
\ No newline at end of file
--- /dev/null
+izpack.home=C:/Program Files/IzPack\r
+izpack.src=${izpack.home}/src\r
+izpack.compiler=${izpack.home}/bin/compile.bat\r
+izpack2exe.home=${izpack.home}/utils/wrappers/izpack2exe\r
+izpack2exe=${izpack2exe.home}/izpack2exe.exe\r
+sevenzip.executable=${basedir}\\7za\\7za.exe\r
+upx.executable=${basedir}\\7za\\upx.exe
\ No newline at end of file
--- /dev/null
+<project name="Installer" default="compile" basedir=".">
+
+ <property name="installer.file" value="installer.xml"/>
+
+ <condition property="is.windows">
+ <os family="windows"/>
+ </condition>
+ <condition property="is.unix">
+ <os family="unix"/>
+ </condition>
+
+ <target name="properties.windows" if="is.windows">
+ <property file="build.properties.windows"/>
+ </target>
+ <target name="properties.unix" if="is.unix">
+ <property file="build.properties.unix"/>
+ </target>
+
+ <target name="compile" depends="properties.unix,properties.windows">
+ <exec executable="${izpack.compiler}">
+ <arg value="${installer.file}"/>
+ <arg value="-o"/>
+ <arg value="${output}"/>
+ </exec>
+ <exec executable="${izpack2exe}" >
+ <arg value="--file="${output}""/>
+ <arg value="--output="${output}.exe""/>
+ <arg value="--with-7z="${sevenzip.executable}""/>
+ <arg value="--with-upx="${upx.executable}""/>
+ </exec>
+ </target>
+
+</project>
--- /dev/null
+#!/bin/bash
+
+pushd .
+cd `dirname $0`
+
+output=$1
+
+IZPACK_HOME=/usr/local/izpack
+IZPACK_COMPILE=${IZPACK_HOME}/bin/compile
+IZPACK2EXE_HOME=${IZPACK_HOME}/utils/wrappers/izpack2exe
+IZPACK2EXE=${IZPACK2EXE_HOME}/izpack2exe.py
+
+"${IZPACK_COMPILE}" installer.xml -o ${output}
+"${IZPACK2EXE}" --file="${output}" --output="${output}.exe"
+
+popd > /dev/null
--- /dev/null
+@echo off\r
+\r
+setlocal\r
+pushd .\r
+cd %~dp0\r
+\r
+set OUTPUT=%1\r
+\r
+set IZPACK_HOME=C:\Program Files\IzPack\r
+set IZPACK_COMPILE=%IZPACK_HOME%\bin\compile.bat\r
+set IZPACK2EXE_HOME=%IZPACK_HOME%\utils\wrappers\izpack2exe\r
+set IZPACK2EXE=%IZPACK2EXE_HOME%\izpack2exe.exe\r
+set _7ZA=%IZPACK2EXE_HOME%\7za.exe\r
+set _UPX=%IZPACK2EXE_HOME%\upx.exe\r
+\r
+call "%IZPACK_COMPILE%" installer.xml -o "%OUTPUT%"\r
+rem "%IZPACK2EXE%" --file="%OUTPUT%" --output="%OUTPUT%.exe" --with-7z="%_7ZA%" --with-upx="%_UPX%"\r
+\r
+popd\r
+endlocal\r
--- /dev/null
+\r
+/*\r
+ * Created on 29.06.2005\r
+ *\r
+ * TODO To change the template for this generated file go to\r
+ * Window - Preferences - Java - Code Style - Code Templates\r
+ */\r
+package com.izforge.izpack.panels;\r
+\r
+import com.izforge.izpack.installer.InstallData;\r
+import com.izforge.izpack.installer.InstallerFrame;\r
+\r
+\r
+/**\r
+ * @author fabrice mirabile\r
+ */\r
+public class NonBlankTargetPanel extends TargetPanel\r
+{\r
+ private static final long serialVersionUID = 3248705610571943817L;\r
+\r
+ public NonBlankTargetPanel(InstallerFrame parent, InstallData idata)\r
+ {\r
+ super(parent, idata);\r
+ }\r
+\r
+ public boolean isValidated()\r
+ {\r
+ String chosenPath = pathSelectionPanel.getPath();\r
+ if(chosenPath == null || chosenPath.length() < 1 )\r
+ return( false );\r
+ if( chosenPath.indexOf(" ") >= 0 )\r
+ {\r
+ emitError(parent.langpack.getString("installer.error"),\r
+ parent.langpack.getString("NonBlankTargetPanel.noBlanks"));\r
+ return( false );\r
+ }\r
+ return(super.isValidated() );\r
+ }\r
+\r
+ public void panelActivate()\r
+ {\r
+ super.panelActivate();\r
+ String chosenPath = pathSelectionPanel.getPath();\r
+ if(chosenPath == null || chosenPath.length() < 1 )\r
+ return;\r
+ if( chosenPath.indexOf(" ") >= 0 )\r
+ pathSelectionPanel.setPath("");\r
+ }\r
+\r
+\r
+}
\ No newline at end of file
--- /dev/null
+<!-- INSTRUCTIONS TAKEN FROM: http://izpack.org/community/berlios-lists-archives/izpack-users/2006-March/000409.html -->
+<project name="Install Custom IzPack Panels" default="install" basedir="..">
+
+ <condition property="is.windows">
+ <os family="windows"/>
+ </condition>
+ <condition property="is.unix">
+ <os family="unix"/>
+ </condition>
+
+ <target name="properties.windows" if="is.windows">
+ <property file="build.properties.windows"/>
+ </target>
+ <target name="properties.unix" if="is.unix">
+ <property file="build.properties.unix"/>
+ </target>
+
+ <target name="install" depends="properties.windows,properties.unix">
+ <copy file="custom/izpack-src-build.xml" toFile="${izpack.src}/build.xml"/>
+ <copy file="custom/NonBlankTargetPanel.java" toDir="${izpack.src}/lib/com/izforge/izpack/panels"/>
+ <ant antfile="${izpack.src}/build.xml" target="all" dir="${izpack.home}" />
+ </target>
+
+</project>
--- /dev/null
+<project name="IzPack" default="all" basedir="..">
+ <!--
+ $Id$
+
+ build.xml first written by Pierre Dittgen (pierre.dittgen@criltelecom.com)
+ This file is intended to be used with ant (http://jakarta.apache.org/ant),
+ a java/xml makefile utility.
+
+ 14.8.2001: (by Pierre Dittgen)
+ Creation of the build.xml. It only compile all the src files.
+
+ 16.8.2001: (by Pierre Dittgen)
+ Added creation of compiler.jar, installer.jar and compilation of the
+ panels.
+
+ 28.8.2001: (by Pierre Dittgen)
+ Added compile.uninstaller and build.uninstaller targets to create the
+ uninstaller.jar jar file.
+
+ 02.9.2001: (by Julien Ponge)
+ Improved compilation options (optimizations, deprecation warnings) and
+ changed the build dir to src/build. Fixed the compiling/building of the
+ uninstaller.
+
+ 12.9.2001: (by Julien Ponge)
+ Added creation/compilation of the frontend and its associated jar file.
+
+ 22.9.2001: (by Julien Ponge)
+ Small fix in the all target that caused an error if the build dir was
+ not yet created.
+
+ 14.10.2001: (by Julien Ponge)
+ Added the XPanel compilation call.
+
+ 12.12.2001: (by Julien Ponge)
+ Removed the 'clean' dependency for the 'all' target.
+
+ 12.02.2002: (by Julien Ponge)
+ Moved the 'build' directory out of the src/ scope (usefull for my CVS
+ files moving scripts).
+ Added a markup to specify IBM Jikes as the compiler (just comment out to
+ use another one).
+
+ 21.02.2002: (by Paul Wilkinson)
+ Added tasks to compiler.compiler and build.compiler to build ant task class.
+
+ 02.03.2002: (by Julien Ponge)
+ Modified the building of the panels so that the inner classes can be copied
+ too.
+
+ 18.04.2002: (by Julien Ponge)
+ Added the new com.izforge.izpack.util & com.izforge.izpack.util.os
+ packages to the installer.jar build process.
+
+ 19.04.2002: (by Olexij Tkatchenko & Julien Ponge)
+ Added "dist" target for bootstrapped IzPack package creation.
+
+ 01.06.2002: (by Julien Ponge)
+ Changed the panels building process in order to enable the ShortcutData
+ classes to be move in the same directory as the ShortcutPanel classes.
+
+ 15.06.2002: (by Julien Ponge)
+ Added the ant-generated manifests in the clean target scope.
+
+ 03.07.2002: (by Julien Ponge)
+ Added a target to generate some javadoc.
+
+ 12.01.2003: (by Julien Ponge)
+ Separated the installer generation from the dist target so that it is
+ much cleaner.
+
+ 13.01.2003: (by Julien Ponge)
+ Enhanced the clean target.
+
+ 27.02.2003: (by Julien Ponge)
+ Fixed the UserInputPanel building process to include all the required
+ files.
+
+ 30.04.2003: (by Jonathan Halliday)
+ Change to panel compilation target, for panel automation
+ (silent install) support.
+
+ 05.07.2003: (by Julien Ponge)
+ Added a target to fix the files encoding and cr/lf (fix.crlf).
+
+ 10.09.2003: (by Julien Ponge)
+ Reformatting, 4 spaces tabs, got rid of residual hard tabs.
+
+ 19.09.2003: (by Julien Ponge)
+ Added a run.installer target to test an installer.
+
+ 06.12.2003: (by Julien Ponge)
+ Removed the frontend-related sections.
+
+ 16.12.2003: (by Julien Ponge)
+ Added the SudoPanel building call.
+
+ 18.02.2004: (by Julien Ponge)
+ New installer naming scheme (IzPack-install-{version}.jar).
+
+ 29.05.2004: (by Julien Ponge)
+ New SimpleFinishPanel.
+
+ 30.07.2004: (by Klaus Bartz)
+ Simple CustomAction stuff added.
+
+ 09.09.2004: (by Klaus Bartz)
+ Clean up of CustomActions added.
+ New uninstaller-ext.jar with native helper stuff for native libs
+ in uninstaller.
+
+ 14.10.2004: (by Klaus Bartz)
+ New izevent.jar with the base classes of the custom action stuff
+ to support creation of custom action jars without IzPack source tree
+
+ 25.10.2004: (by Klaus Bartz)
+ "Standard" CustomActions AntActionInstallerListener and
+ AntActionUninstallerListener added
+
+ 03.05.2005: (by Klaus Bartz)
+ Target generated.installer-reg added:
+ Creates an installer for IzPack with registry support
+
+ 09.05.2005: (by Marc Eppelman)
+ Target dist+run added:
+ convenient :) makes a complete dist an installer and run them
+
+ 11.05.2005: (by Fabrice Mirabile)
+ Target cleandistreg added:
+ Clean, Regenerate installer and installer with reg support. Avoid use of bad jars during installation.
+
+ 18.07.2005: (by Julien Ponge)
+ Enforce source / target compatibility, now 1.4 / 1.4.
+
+ 02.09.2005: (by Klaus Bartz)
+ Unicode support of ShellLink.
+
+ 09.09.2005: (Marc.Eppelmann)
+ Added start.sh to the shipped files in bin-folder.
+
+ 10.01.2006: (by Fabrice Mirabile)
+ Added the splashscreen to the cleandistreg target
+
+ 06.04.2006: (Marc Eppelmann)
+ Inserted the fix.crlf target in the depends-list of target "all" to prevent encoding problems.
+
+ 26.06.2006: (Marc Eppelmann)
+ Extracted / Reordered some dist related targets to prevent double copy actions.
+ Also fixed the fix.crlf basedir
+
+ 27.08.2006: (Marc Eppelmann)
+ Embedd ShortcutPanel*.java
+
+ 14.09.2006: (Marc Eppelmann)
+ Added target src.tar.gz and clean.src.tar.gz
+
+ 19.10.2006: (Fabrice Mirabile & Hal Vaughan)
+ Added DataCheckPanel
+
+ 10.10.2006: (Fabrice Mirabile)
+ Fixed target src.tar.gz and clean.src.tar.gz
+
+ 11.02.2007: (Ari Voutilainen)
+ Added 'preservelastmodified="true"' to all 'copy todir' commands to keep original file date
+ and time. This will effect in directory _dist. This won't effect to compiled files and
+ other files which are manipulated during the process.
+
+ 08.11.2007: (Julien Ponge)
+ Call the new docutils-based documentation build system.
+
+
+ Mini-HowTo:
+
+ To compile and package the compiler.jar jar file, type:
+ ant build.compiler
+
+ To compile and package the installer.jar jar file, type:
+ ant build.installer
+
+ To compile and package the uninstaller.jar jar file, type:
+ ant build.uninstaller
+
+ To compile the panels and put them in the bin/panels directory, type:
+ ant build.panels
+
+ To compile and package the frontend.jar jar file, type:
+ ant build.frontend
+
+ To make all, type:
+ ant all
+ or
+ ant
+ (this is the default target)
+
+ To compile and create IzPack distribution package type:
+ ant dist
+
+ To delete the classes directory after packaging, just type:
+ ant clean
+ -->
+
+ <!-- Compiler to use put your own here (jikes, modern, gcj, ...) -->
+ <!--<property name="build.compiler" value="jikes" />-->
+
+ <!-- Define directories -->
+ <property name="cwd" value="${basedir}"/>
+
+ <property file="src/ant.properties"/>
+ <property name="ver" value="4.3"/>
+ <property name="rel" value="3"/>
+ <property name="build.number" value="${ver}.${rel}"/>
+
+ <property name="src.dir" value="${basedir}/src/lib"/>
+ <property name="img.dir" value="${basedir}/src/img"/>
+ <property name="bin.dir" value="${basedir}/bin"/>
+ <property name="doc.dir" value="${basedir}/doc"/>
+
+ <property name="langpacks.subdir" value="langpacks"/>
+ <property name="langpacks.dir" value="${basedir}/bin/${langpacks.subdir}"/>
+
+ <property name="build.subdir" value="_build"/>
+ <property name="build.dir" value="${basedir}/${build.subdir}"/>
+
+ <property name="dist.subdir" value="_dist"/>
+ <property name="dist.dir" value="${basedir}/${dist.subdir}"/>
+ <property name="dist-files.dir" value="${basedir}/src/dist-files"/>
+
+ <!-- Define Main-Classes -->
+ <property name="compiler.class" value="com.izforge.izpack.compiler.Compiler"/>
+ <property name="installer.class" value="com.izforge.izpack.installer.Installer"/>
+ <property name="uninstaller.class" value="com.izforge.izpack.uninstaller.Uninstaller"/>
+
+ <!-- Define file paths -->
+ <property name="compiler.jar" value="${basedir}/lib/compiler.jar"/>
+ <property name="standalone-compiler.jar" value="${basedir}/lib/standalone-compiler.jar"/>
+ <property name="installer.jar" value="${basedir}/lib/installer.jar"/>
+ <property name="uninstaller.jar" value="${basedir}/lib/uninstaller.jar"/>
+ <property name="uninstaller-ext.jar" value="${basedir}/lib/uninstaller-ext.jar"/>
+ <property name="izevent.jar" value="${basedir}/lib/izevent.jar"/>
+
+ <!-- Compilation parameters -->
+ <property name="debug" value="off"/>
+ <property name="debuglevel" value=""/>
+ <!--<property name="debug" value="true"/>
+ <property name="debuglevel" value="lines,vars,source"/>-->
+ <property name="compat.source" value="1.5"/>
+ <property name="compat.target" value="1.5"/>
+
+
+ <!-- paths -->
+ <path id="classpath">
+ <fileset id="ext.libs" dir="${basedir}/lib">
+ <!-- older ant jar, which izpack distributes and uses for fileset behavior -->
+ <include name="ant.jar"/>
+ <include name="jakarta-regexp-1.3.jar"/>
+ </fileset>
+ <!-- current ant jar, for compiling IzPackTask which uses modern ant features -->
+ <fileset dir="${ant.home}/lib" includes="ant.jar"/>
+ </path>
+
+ <!-- Checking target -->
+ <target name="check">
+ <echo message="basedir=${basedir}"/>
+ <echo message="dist.dir=${dist.dir}"/>
+ <echo message="build.dir=${build.dir}"/>
+ <echo message="debug=${debug}"/>
+ </target>
+
+ <!-- Creates the classes directory -->
+ <target name="prepare" depends="time">
+ <mkdir dir="${build.dir}"/>
+ <mkdir dir="${basedir}/lib"/>
+ <mkdir dir="${dist.dir}"/>
+ </target>
+
+ <!-- Compiles the compiler src files -->
+ <target name="compile.compiler" depends="prepare">
+ <javac srcdir="${src.dir}"
+ classpath="${basedir}/lib/jakarta-regexp-1.3.jar"
+ destdir="${build.dir}"
+ optimize="on"
+ source="${compat.source}"
+ target="${compat.target}"
+ deprecation="on"
+ debug="${debug}"
+ debuglevel="${debuglevel}">
+ <include name="com/izforge/izpack/*.java"/>
+ <include name="com/izforge/izpack/io/*.java"/>
+ <include name="com/izforge/izpack/compiler/*.java"/>
+ <include name="com/izforge/izpack/compressor/*.java"/>
+ <include name="com/izforge/izpack/ant/*.java"/>
+ <include name="com/izforge/izpack/util/Debug.java"/>
+ <include name="com/izforge/izpack/util/OsConstraint.java"/>
+ <include name="com/izforge/izpack/util/JarOutputStream.java"/>
+ <include name="com/izforge/izpack/rules/*.java"/>
+ <!--<include name="net/n3/nanoxml/*.java"/>-->
+ <include name="com/izforge/izpack/adaptator/**/*.java"/>
+ <include name="com/izforge/izpack/adaptator/*.java"/>
+ </javac>
+ <copy todir="${build.dir}/com/izforge/izpack/ant/langpacks">
+ <fileset dir="${src.dir}/com/izforge/izpack/ant/langpacks"/>
+ </copy>
+ <copy todir="${build.dir}/com/izforge/izpack/adaptator">
+ <fileset dir="${src.dir}/com/izforge/izpack/adaptator"/>
+ </copy>
+ </target>
+
+ <!-- Package compiler.jar -->
+ <target name="build.compiler" depends="compile.compiler">
+ <jar jarfile="${compiler.jar}">
+ <manifest>
+ <attribute name="Built-By" value="IzPack"/>
+ <attribute name="Class-Path" value="ant.jar"/>
+ <attribute name="Main-Class" value="${compiler.class}"/>
+ </manifest>
+ <fileset dir="${build.dir}">
+ <include name="com/izforge/izpack/*.class"/>
+ <include name="com/izforge/izpack/io/*.class"/>
+ <include name="com/izforge/izpack/compiler/*.class"/>
+ <include name="com/izforge/izpack/compressor/*.class"/>
+ <include name="com/izforge/izpack/util/OsConstraint.class"/>
+ <include name="com/izforge/izpack/util/Debug.class"/>
+ <include name="com/izforge/izpack/util/*Validator.class"/>
+ <include name="com/izforge/izpack/util/*Processor.class"/>
+ <include name="com/izforge/izpack/util/VariableSubstitutor.class"/>
+ <include name="com/izforge/izpack/util/JarOutputStream.class"/>
+ <include name="com/izforge/izpack/util/FileUtil.class"/>
+ <include name="com/izforge/izpack/ant/*.class"/>
+ <include name="com/izforge/izpack/ant/langpacks/*.properties"/>
+ <include name="com/izforge/izpack/adaptator/*.xsl"/>
+ <include name="com/izforge/izpack/event/CompilerListener.class"/>
+ <include name="com/izforge/izpack/event/SimpleCompilerListener.class"/>
+ <include name="com/izforge/izpack/rules/*.class"/>
+ <include name="com/izforge/izpack/installer/*.class"/>
+ <include name="com/izforge/izpack/adaptator/**/*.class"/>
+ <include name="com/izforge/izpack/adaptator/*.class"/>
+ </fileset>
+ </jar>
+ </target>
+
+ <!-- Package standalone-compiler.jar -->
+ <target name="build.standalone-compiler"
+ depends="compile.compiler, build.installer, build.uninstaller, build.uninstaller-ext, build.panels, build.listeners">
+ <jar jarfile="${standalone-compiler.jar}" duplicate="preserve">
+ <manifest>
+ <attribute name="Built-By" value="IzPack"/>
+ <attribute name="Class-Path" value="ant.jar"/>
+ <attribute name="Main-Class" value="${compiler.class}"/>
+ </manifest>
+ <fileset dir="${build.dir}">
+ <include name="**/*.class"/>
+ </fileset>
+ <zipfileset src="lib/ant.jar"/>
+ <fileset dir="${basedir}">
+ <include name="bin/langpacks/flags/*"/>
+ <include name="bin/langpacks/installer/*"/>
+ <include name="bin/native/izpack/*"/>
+ <include name="bin/native/3rdparty/*"/>
+ <include name="bin/panels/*Panel.jar"/>
+ <include name="bin/customActions/*.jar"/>
+ <include name="lib/*.jar"/>
+ <exclude name="lib/standalone-compiler.jar"/>
+ </fileset>
+ <fileset dir="${src.dir}">
+ <include name="**/*"/>
+ <exclude name="**/*.java"/>
+ </fileset>
+ </jar>
+ </target>
+
+ <!-- Compiles the installer src files -->
+ <target name="compile.installer" depends="prepare">
+ <javac srcdir="${src.dir}"
+ classpath="${basedir}/lib/jakarta-regexp-1.3.jar"
+ destdir="${build.dir}"
+ optimize="on"
+ source="${compat.source}"
+ target="${compat.target}"
+ deprecation="on"
+ debug="${debug}"
+ debuglevel="${debuglevel}">
+ <include name="com/izforge/izpack/panels/PathSelectionPanel.java"/>
+ <include name="com/izforge/izpack/*.java"/>
+ <include name="com/izforge/izpack/gui/*.java"/>
+ <include name="com/izforge/izpack/io/*.java"/>
+ <include name="com/izforge/izpack/installer/*.java"/>
+ <include name="com/izforge/izpack/panels/NextMedia*.java"/>
+ <include name="com/izforge/izpack/util/*.java"/>
+ <include name="com/izforge/izpack/util/os/*.java"/>
+ <include name="com/izforge/izpack/rules/*.java"/>
+ <include name="com/izforge/izpack/uninstaller/SelfModifier*.java"/>
+ <include name="com/izforge/izpack/rules/*.java"/>
+ <include name="com/izforge/izpack/compiler/DynamicVariable.java"/>
+ <!--<include name="net/n3/nanoxml/*.java"/>-->
+ <include name="com/izforge/izpack/panels/HelpWindow.java" />
+ <include name="com/izforge/izpack/adaptator/**/*.java"/>
+ <include name="com/izforge/izpack/adaptator/*.java"/>
+ </javac>
+ </target>
+
+ <!-- Package installer.jar -->
+ <target name="build.installer" depends="compile.installer, build.listener-base">
+ <jar jarfile="${installer.jar}">
+ <manifest>
+ <attribute name="Built-By" value="IzPack"/>
+ <attribute name="Class-Path" value=""/>
+ <attribute name="Main-Class" value="${installer.class}"/>
+ </manifest>
+ <fileset dir="${build.dir}">
+ <include name="com/izforge/izpack/panels/PathSelectionPanel.class"/>
+ <include name="com/izforge/izpack/*.class"/>
+ <include name="com/izforge/izpack/gui/*.class"/>
+ <include name="com/izforge/izpack/io/*.class"/>
+ <include name="com/izforge/izpack/installer/*.class"/>
+ <include name="com/izforge/izpack/util/*.class"/>
+ <include name="com/izforge/izpack/util/**/*.class"/>
+ <include name="com/izforge/izpack/panels/NextMedia*.class"/>
+ <include name="com/izforge/izpack/rules/*.class"/>
+ <include name="com/izforge/izpack/uninstaller/SelfModifier*.class"/>
+ <include name="com/izforge/izpack/rules/*.class"/>
+ <include name="com/izforge/izpack/compiler/DynamicVariable.class"/>
+ <include name="com/izforge/izpack/compiler/CompilerException.class"/>
+ <include name="com/izforge/izpack/panels/Validator*.class"/>
+ <!--<include name="net/n3/nanoxml/*.class"/>-->
+ <include name="com/izforge/izpack/adaptator/**/*.class"/>
+ <include name="com/izforge/izpack/adaptator/*.class"/>
+ <include name="com/izforge/izpack/panels/HelpWindow.class" />
+ </fileset>
+ <zipfileset src="${basedir}/lib/jakarta-regexp-1.3.jar">
+ <include name="org/apache/regexp/*.class"/>
+ </zipfileset>
+ <fileset dir="${src.dir}">
+ <include name="com/izforge/izpack/installer/*.xml"/>
+ <include name="com/izforge/izpack/installer/*.properties"/>
+ <include name="com/izforge/izpack/installer/run-with-privileges-on-osx"/>
+ <include name="com/izforge/izpack/installer/elevate.js"/>
+ <include name="com/izforge/izpack/util/**/*.sh"/>
+ <include name="com/izforge/izpack/adaptator/styleSheet.xsl"/>
+ </fileset>
+ <fileset dir="${img.dir}/installer"/>
+ <zipfileset src="${izevent.jar}">
+ <include name="com/izforge/izpack/event/*InstallerListener.class"/>
+ </zipfileset>
+ </jar>
+ </target>
+
+ <!-- Compiles the uninstaller src files -->
+ <target name="compile.uninstaller" depends="prepare">
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ optimize="on"
+ source="${compat.source}"
+ target="${compat.target}"
+ deprecation="on"
+ debug="${debug}"
+ debuglevel="${debuglevel}">
+ <include name="com/izforge/izpack/LocaleDatabase.java"/>
+ <include name="com/izforge/izpack/gui/*.java"/>
+
+ <include name="com/izforge/izpack/util/*.java"/>
+ <include name="com/izforge/izpack/util/os/*.java"/>
+ <include name="com/izforge/izpack/util/os/unix/*.java"/>
+
+ <include name="com/izforge/izpack/uninstaller/*.java"/>
+ <exclude name="com/izforge/izpack/gui/IzPackKMetalTheme.java"/>
+ <!--<include name="net/n3/nanoxml/*.java"/>-->
+ <include name="com/izforge/izpack/adaptator/**/*.java"/>
+ <include name="com/izforge/izpack/adaptator/*.java"/>
+ </javac>
+ </target>
+
+ <!-- Package uninstaller.jar -->
+ <target name="build.uninstaller" depends="compile.uninstaller">
+ <jar jarfile="${uninstaller.jar}">
+ <manifest>
+ <attribute name="Built-By" value="IzPack"/>
+ <attribute name="Class-Path" value=""/>
+ <attribute name="Main-Class" value="${uninstaller.class}"/>
+ </manifest>
+ <fileset dir="${build.dir}">
+ <include name="com/izforge/izpack/LocaleDatabase.class"/>
+ <include name="com/izforge/izpack/gui/*.class"/>
+ <include name="com/izforge/izpack/uninstaller/*.class"/>
+ <include name="com/izforge/izpack/ExecutableFile.class"/>
+ <exclude name="com/izforge/izpack/gui/IzPackKMetalTheme.class"/>
+ <!--<include name="net/n3/nanoxml/*.class"/>-->
+ <include name="com/izforge/izpack/adaptator/**/*.class"/>
+ <include name="com/izforge/izpack/adaptator/*.class"/>
+ <include name="com/izforge/izpack/installer/PrivilegedRunner.class"/>
+ </fileset>
+ <fileset dir="${src.dir}">
+ <include name="com/izforge/izpack/installer/run-with-privileges-on-osx"/>
+ <include name="com/izforge/izpack/installer/elevate.js"/>
+ <include name="com/izforge/izpack/adaptator/styleSheet.xsl"/>
+ <include name="com/izforge/izpack/util/**/*.sh"/>
+ </fileset>
+ <fileset dir="${build.dir}">
+ <include name="com/izforge/izpack/util/**/*.class"/>
+ </fileset>
+ <fileset dir="${img.dir}/uninstaller">
+ <include name="**/*"/>
+ </fileset>
+ <zipfileset src="${izevent.jar}">
+ <include name="com/izforge/izpack/event/*UninstallerListener.class"/>
+ </zipfileset>
+ </jar>
+ </target>
+
+ <!-- Compiles the extended uninstaller src files -->
+ <target name="compile.uninstaller-ext" depends="prepare">
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ optimize="on"
+ source="${compat.source}"
+ target="${compat.target}"
+ deprecation="on"
+ debug="${debug}"
+ debuglevel="${debuglevel}">
+ <include name="com/izforge/izpack/util/*.java"/>
+ <include name="com/izforge/izpack/util/os/*.java"/>
+ <include name="com/izforge/izpack/util/os/unix/*.java"/>
+ <include name="com/izforge/izpack/util/xml/*.java"/>
+
+ <exclude name="com/izforge/izpack/gui/IzPackKMetalTheme.java"/>
+ <!--<include name="net/n3/nanoxml/*.java"/>-->
+ <include name="com/izforge/izpack/adaptator/**/*.java"/>
+ <include name="com/izforge/izpack/adaptator/*.java"/>
+ </javac>
+ </target>
+ <!-- Package extended uninstaller.jar used if one ore more native libs are
+ declared for uninstallation -->
+ <target name="build.uninstaller-ext" depends="compile.uninstaller-ext">
+ <jar jarfile="${uninstaller-ext.jar}">
+ <fileset dir="${build.dir}">
+ <include name="com/izforge/izpack/util/**/*.class"/>
+ </fileset>
+ </jar>
+ </target>
+
+ <!--
+ ======================================================================
+ Create Panel Modules
+ ======================================================================
+ -->
+
+ <!-- Macro to compile a panel's classes and create it's jar file -->
+ <macrodef name="build-panel">
+ <attribute name="name" description="The panels jar will get this name"/>
+ <attribute name="srcdir"
+ default="${src.dir}"
+ description="Source directory. Defaults to izpack src dir"/>
+ <element name="panel-fileset"
+ implicit="yes"
+ description="include and exclude elements indicating panel sources"/>
+ <sequential>
+ <echo message="build-panel: @{name}"/>
+ <mkdir dir="${bin.dir}/panels/@{name}"/>
+ <!-- sourcepath is cleared so there's no mistaking what goes into the Panel -->
+ <javac srcdir="@{srcdir}"
+ destdir="${bin.dir}/panels/@{name}"
+ classpath="${installer.jar}"
+ sourcepath=""
+ optimize="on"
+ deprecation="on"
+ debug="${debug}"
+ source="${compat.source}"
+ target="${compat.target}"
+ debuglevel="${debuglevel}">
+ <panel-fileset/>
+ </javac>
+ <jar jarfile="${bin.dir}/panels/@{name}.jar" basedir="${bin.dir}/panels/@{name}"/>
+ </sequential>
+ </macrodef>
+
+ <!-- Compile all panels and put them at the right location -->
+ <!--
+ If you add a another, and the build fails because it can't find a class,
+ be sure to explicitly include the .java file in the nested fileset.
+ This also acts as a check to help limit dependancies.
+ -->
+ <target name="build.panels" depends="build.installer">
+ <mkdir dir="${bin.dir}/panels"/>
+
+ <build-panel name="FinishPanel">
+ <include name="com/izforge/izpack/panels/FinishPanel.java"/>
+ <include name="com/izforge/izpack/panels/FinishPanelConsoleHelper.java" />
+ </build-panel>
+ <build-panel name="HelloPanel">
+ <include name="com/izforge/izpack/panels/HelloPanel.java"/>
+ <include name="com/izforge/izpack/panels/HelloPanelConsoleHelper.java" />
+ </build-panel>
+ <build-panel name="SelectPrinterPanel">
+ <include name="com/izforge/izpack/panels/SelectPrinterPanel.java"/>
+ </build-panel>
+ <build-panel name="DataCheckPanel">
+ <include name="com/izforge/izpack/panels/DataCheckPanel.java"/>
+ </build-panel>
+ <build-panel name="CheckedHelloPanel">
+ <include name="com/izforge/izpack/panels/CheckedHelloPanel.java"/>
+ <include name="com/izforge/izpack/panels/HelloPanel.java"/>
+ <include name="com/izforge/izpack/util/os/*RegistryHandler.java"/>
+ <include name="com/izforge/izpack/util/OSClassHelper.java"/>
+ <include name="com/izforge/izpack/util/os/WrappedNativeLibException.java"/>
+ <include name="com/coi/tools/os/win/*.java"/>
+ <include name="com/coi/tools/os/win/resources/NativeLibErr*.java"/>
+ <include name="com/coi/tools/os/izpack/Registry.java"/>
+ <include name="com/coi/tools/os/izpack/COIOSHelper.java"/>
+ </build-panel>
+ <build-panel name="InfoPanel">
+ <include name="com/izforge/izpack/panels/InfoPanel.java"/>
+ </build-panel>
+ <build-panel name="InstallPanel">
+ <include name="com/izforge/izpack/panels/InstallPanel.java"/>
+ <include name="com/izforge/izpack/panels/InstallPanelAutomationHelper.java"/>
+ <include name="com/izforge/izpack/panels/InstallPanelConsoleHelper.java" />
+ </build-panel>
+ <build-panel name="ExtendedInstallPanel">
+ <include name="com/izforge/izpack/panels/ExtendedInstallPanel.java"/>
+ <include name="com/izforge/izpack/panels/ExtendedInstallPanelAutomationHelper.java"/>
+ <include name="com/izforge/izpack/panels/InstallPanel.java"/>
+ </build-panel>
+ <build-panel name="LicencePanel">
+ <include name="com/izforge/izpack/panels/LicencePanel.java"/>
+ <include name="com/izforge/izpack/panels/LicencePanelConsoleHelper.java"/>
+ </build-panel>
+ <build-panel name="PacksPanel">
+ <include name="com/izforge/izpack/panels/ImgPacksPanelAutomationHelper.java"/>
+ <include name="com/izforge/izpack/panels/ImgPacksPanelBase.java"/>
+ <include name="com/izforge/izpack/panels/PacksModel.java"/>
+ <include name="com/izforge/izpack/panels/PacksPanel.java"/>
+ <include name="com/izforge/izpack/panels/PacksPanelAutomationHelper.java"/>
+ <include name="com/izforge/izpack/panels/PacksPanelBase.java"/>
+ <include name="com/izforge/izpack/panels/PacksPanelInterface.java"/>
+ </build-panel>
+ <build-panel name="ImgPacksPanel">
+ <include name="com/izforge/izpack/panels/ImgPacksPanel.java"/>
+ <include name="com/izforge/izpack/panels/ImgPacksPanelAutomationHelper.java"/>
+ <include name="com/izforge/izpack/panels/PacksModel.java"/>
+ <include name="com/izforge/izpack/panels/PacksPanelBase.java"/>
+ <include name="com/izforge/izpack/panels/PacksPanelInterface.java"/>
+ <include name="com/izforge/izpack/panels/PacksPanelAutomationHelper.java"/>
+ </build-panel>
+ <build-panel name="HTMLLicencePanel">
+ <include name="com/izforge/izpack/panels/HTMLLicencePanel.java"/>
+ <include name="com/izforge/izpack/panels/HTMLLicencePanelConsoleHelper.java"/>
+ </build-panel>
+ <build-panel name="HTMLInfoPanel">
+ <include name="com/izforge/izpack/panels/HTMLInfoPanel.java"/>
+ </build-panel>
+ <build-panel name="TargetPanel">
+ <include name="com/izforge/izpack/panels/PathInputPanel.java"/>
+ <include name="com/izforge/izpack/panels/PathSelectionPanel.java"/>
+ <include name="com/izforge/izpack/panels/TargetPanel.java"/>
+ <include name="com/izforge/izpack/panels/TargetPanelAutomationHelper.java"/>
+ <include name="com/izforge/izpack/panels/TargetPanelConsoleHelper.java" />
+ </build-panel>
+ <build-panel name="DefaultTargetPanel">
+ <include name="com/izforge/izpack/panels/PathInputPanel.java"/>
+ <include name="com/izforge/izpack/panels/PathSelectionPanel.java"/>
+ <include name="com/izforge/izpack/panels/DefaultTargetPanel.java"/>
+ <include name="com/izforge/izpack/panels/DefaultTargetPanelAutomationHelper.java"/>
+ </build-panel>
+ <build-panel name="JDKPathPanel">
+ <include name="com/izforge/izpack/panels/JDKPathPanel.java"/>
+ <include name="com/izforge/izpack/panels/PathInputPanel.java"/>
+ <include name="com/izforge/izpack/panels/PathSelectionPanel.java"/>
+ <include name="com/izforge/izpack/util/os/*RegistryHandler.java"/>
+ <include name="com/izforge/izpack/util/OSClassHelper.java"/>
+ <include name="com/izforge/izpack/util/os/WrappedNativeLibException.java"/>
+ <include name="com/coi/tools/os/win/*.java"/>
+ <include name="com/coi/tools/os/win/resources/NativeLibErr*.java"/>
+ <include name="com/coi/tools/os/izpack/Registry.java"/>
+ <include name="com/coi/tools/os/izpack/COIOSHelper.java"/>
+ </build-panel>
+ <build-panel name="XInfoPanel">
+ <include name="com/izforge/izpack/panels/XInfoPanel.java"/>
+ </build-panel>
+ <build-panel name="ShortcutPanel">
+ <include name="com/izforge/izpack/panels/ShortcutData.java"/>
+ <include name="com/izforge/izpack/panels/ShortcutPanel*.java"/>
+ <include name="com/izforge/izpack/util/xml/*.java"/>
+ </build-panel>
+ <build-panel name="UserInputPanel">
+ <include name="com/izforge/izpack/panels/PasswordGroup.java"/>
+ <include name="com/izforge/izpack/panels/ProcessingClient.java"/>
+ <include name="com/izforge/izpack/panels/StringInputProcessingClient.java"/>
+ <include name="com/izforge/izpack/panels/Processor.java"/>
+ <include name="com/izforge/izpack/panels/RuleInputField.java"/>
+ <include name="com/izforge/izpack/panels/RuleTextField.java"/>
+ <include name="com/izforge/izpack/panels/TextInputField.java"/>
+ <include name="com/izforge/izpack/panels/FileInputField.java"/>
+ <include name="com/izforge/izpack/panels/DirInputField.java"/>
+ <include name="com/izforge/izpack/panels/MultipleFileInputField.java"/>
+ <include name="com/izforge/izpack/panels/UserInputPanel.java"/>
+ <include name="com/izforge/izpack/panels/UserInputPanelAutomationHelper.java"/>
+ <include name="com/izforge/izpack/panels/Validator.java"/>
+ <include name="com/izforge/izpack/panels/ValidatorContainer.java"/>
+ <include name="com/izforge/izpack/panels/UIElementType.java"/>
+ <include name="com/izforge/izpack/panels/UIElement.java"/>
+ <include name="com/izforge/izpack/panels/RadioButtonUIElement.java"/>
+ <include name="com/izforge/izpack/panels/PasswordUIElement.java"/>
+ <include name="com/izforge/izpack/panels/UserInputPanelConsoleHelper.java" />
+ </build-panel>
+ <build-panel name="UserPathPanel">
+ <include name="com/izforge/izpack/panels/UserPathInputPanel.java"/>
+ <include name="com/izforge/izpack/panels/UserPathSelectionPanel.java"/>
+ <include name="com/izforge/izpack/panels/UserPathPanel.java"/>
+ <include name="com/izforge/izpack/panels/UserPathPanelAutomationHelper.java"/>
+ </build-panel>
+ <build-panel name="ConditionalUserInputPanel">
+ <include name="com/izforge/izpack/panels/ConditionalUserInputPanel.java"/>
+ <include name="com/izforge/izpack/panels/PasswordGroup.java"/>
+ <include name="com/izforge/izpack/panels/ProcessingClient.java"/>
+ <include name="com/izforge/izpack/panels/StringInputProcessingClient.java"/>
+ <include name="com/izforge/izpack/panels/Processor.java"/>
+ <include name="com/izforge/izpack/panels/RuleInputField.java"/>
+ <include name="com/izforge/izpack/panels/RuleTextField.java"/>
+ <include name="com/izforge/izpack/panels/FileInputField.java"/>
+ <include name="com/izforge/izpack/panels/DirInputField.java"/>
+ <include name="com/izforge/izpack/panels/MultipleFileInputField.java"/>
+ <include name="com/izforge/izpack/panels/TextInputField.java"/>
+ <include name="com/izforge/izpack/panels/UserInputPanel.java"/>
+ <include name="com/izforge/izpack/panels/UserInputPanelAutomationHelper.java"/>
+ <include name="com/izforge/izpack/panels/Validator.java"/>
+ <include name="com/izforge/izpack/panels/ValidatorContainer.java"/>
+ <include name="com/izforge/izpack/panels/UIElementType.java"/>
+ <include name="com/izforge/izpack/panels/UIElement.java"/>
+ <include name="com/izforge/izpack/panels/RadioButtonUIElement.java"/>
+ <include name="com/izforge/izpack/panels/PasswordUIElement.java"/>
+ </build-panel>
+ <build-panel name="CompilePanel">
+ <include name="com/izforge/izpack/panels/CompilePanel.java"/>
+ <include name="com/izforge/izpack/panels/CompilePanelAutomationHelper.java"/>
+ </build-panel>
+ <build-panel name="ProcessPanel">
+ <include name="com/izforge/izpack/panels/ProcessPanel.java"/>
+ <include name="com/izforge/izpack/panels/ProcessPanelAutomationHelper.java"/>
+ </build-panel>
+ <build-panel name="SudoPanel">
+ <include name="com/izforge/izpack/panels/SudoPanel.java"/>
+ </build-panel>
+ <build-panel name="SimpleFinishPanel">
+ <include name="com/izforge/izpack/panels/SimpleFinishPanel.java"/>
+ </build-panel>
+ <build-panel name="SummaryPanel">
+ <include name="com/izforge/izpack/panels/SummaryPanel.java"/>
+ </build-panel>
+ <build-panel name="InstallationGroupPanel">
+ <include name="com/izforge/izpack/panels/InstallationGroupPanel.java"/>
+ <include name="com/izforge/izpack/panels/InstallationGroupPanelAutomationHelper.java"/>
+ </build-panel>
+ <build-panel name="TreePacksPanel">
+ <include name="com/izforge/izpack/panels/TreePacksPanel.java"/>
+ <include name="com/izforge/izpack/panels/TreePacksPanelAutomationHelper.java"/>
+ <include name="com/izforge/izpack/panels/ImgPacksPanelAutomationHelper.java"/>
+ <include name="com/izforge/izpack/panels/ImgPacksPanelBase.java"/>
+ <include name="com/izforge/izpack/panels/PacksModel.java"/>
+ <include name="com/izforge/izpack/panels/PacksPanelAutomationHelper.java"/>
+ <include name="com/izforge/izpack/panels/PacksPanelBase.java"/>
+ <include name="com/izforge/izpack/panels/PacksPanelInterface.java"/>
+ </build-panel>
+ <build-panel name="InstallationTypePanel">
+ <include name="com/izforge/izpack/panels/InstallationTypePanel.java"/>
+ </build-panel>
+ <build-panel name="HTMLHelloPanel">
+ <include name="com/izforge/izpack/panels/HTMLHelloPanel.java"/>
+ <include name="com/izforge/izpack/panels/HTMLInfoPanel.java"/>
+ </build-panel>
+ <build-panel name="NonBlankTargetPanel">
+ <include name="com/izforge/izpack/panels/PathInputPanel.java"/>
+ <include name="com/izforge/izpack/panels/PathSelectionPanel.java"/>
+ <include name="com/izforge/izpack/panels/TargetPanel.java"/>
+ <include name="com/izforge/izpack/panels/TargetPanelAutomationHelper.java"/>
+ <include name="com/izforge/izpack/panels/NonBlankTargetPanel.java"/>
+ </build-panel>
+ </target>
+
+ <!--
+ ======================================================================
+ Create Listener Modules
+ ======================================================================
+ -->
+
+ <!-- Compiles the base custom action classes which should placed into
+ izevent.jar -->
+ <target name="compile.listener-base">
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ optimize="on"
+ source="${compat.source}"
+ target="${compat.target}"
+ deprecation="on"
+ debug="${debug}"
+ debuglevel="${debuglevel}"
+ classpath="${installer.jar};${compiler.jar}">
+ <include name="com/izforge/izpack/event/ActionBase.java"/>
+ <include name="com/izforge/izpack/event/Simple*nstallerListener.java"/>
+ <include name="com/izforge/izpack/event/SimpleCompilerListener.java"/>
+ <include name="com/izforge/izpack/event/InstallerListener.java"/>
+ <include name="com/izforge/izpack/event/ProgressBarInstallerListener.java"/>
+ <include name="com/izforge/izpack/event/CompilerListener.java"/>
+ <include name="com/izforge/izpack/event/UninstallerListener.java"/>
+ <include name="com/izforge/izpack/util/IoHelper.java"/>
+ </javac>
+ </target>
+ <!-- Package izevent.jar -->
+ <target name="build.listener-base" depends="compile.listener-base">
+ <jar jarfile="${izevent.jar}">
+ <fileset dir="${build.dir}">
+ <include name="com/izforge/izpack/event/*.class"/>
+ <include name="com/izforge/izpack/util/IoHelper.class"/>
+ </fileset>
+ </jar>
+ </target>
+
+
+ <!-- Macro to compile a listener's classes and create its jar file -->
+ <macrodef name="build-listener">
+ <attribute name="name" description="The listener jar will get this name"/>
+ <attribute name="classpath-ext" description="An extension of the classpath required to build the listener"
+ default=""/>
+ <attribute name="srcdir"
+ default="${src.dir}"
+ description="Source directory. Defaults to izpack src dir"/>
+ <attribute name="izeventExcludes"
+ description="excludes patter for files in the ${izevent.jar} file"/>
+ <element name="listener-fileset"
+ implicit="yes"
+ description="include and exclude elements indicating listener sources"/>
+ <sequential>
+ <echo message="build-listener: @{name}"/>
+ <mkdir dir="${bin.dir}/customActions/@{name}"/>
+ <!-- sourcepath is cleared so there's no mistaking what goes into the Listener -->
+ <javac srcdir="@{srcdir}"
+ destdir="${bin.dir}/customActions/@{name}"
+ classpath="${installer.jar};${compiler.jar};${izevent.jar};@{classpath-ext}"
+ sourcepath=""
+ optimize="on"
+ deprecation="on"
+ debug="${debug}"
+ source="${compat.source}"
+ target="${compat.target}"
+ debuglevel="${debuglevel}">
+ <listener-fileset/>
+ </javac>
+ <jar jarfile="${bin.dir}/customActions/@{name}.jar"
+ basedir="${bin.dir}/customActions/@{name}">
+ <!-- also include files from the previously built ${izevent.jar} -->
+ <zipfileset src="${izevent.jar}" excludes="@{izeventExcludes}"/>
+ </jar>
+ </sequential>
+ </macrodef>
+
+ <!-- Convenience macro to call build-listener for compiler listeners -->
+ <macrodef name="build-compiler-listener">
+ <attribute name="name"/>
+ <attribute name="srcdir" default="${src.dir}"/>
+ <element name="compiler-fileset"
+ implicit="yes"
+ description="include and exclude elements indicating listener sources"/>
+ <sequential>
+ <build-listener name="@{name}"
+ srcdir="@{srcdir}"
+ izeventExcludes="**/*Installer*,**/*Uninstaller*">
+ <compiler-fileset/>
+ </build-listener>
+ </sequential>
+ </macrodef>
+
+ <!-- Convenience macro to call build-listener for installer listeners -->
+ <macrodef name="build-installer-listener">
+ <attribute name="name"/>
+ <attribute name="classpath-ext" description="An extension of the classpath required to build the listener"
+ default=""/>
+ <attribute name="srcdir" default="${src.dir}"/>
+ <element name="installer-fileset"
+ implicit="yes"
+ description="include and exclude elements indicating listener sources"/>
+ <sequential>
+ <build-listener name="@{name}" srcdir="@{srcdir}" izeventExcludes="**/*Uninstaller*,**/*Compiler*"
+ classpath-ext="@{classpath-ext}">
+ <installer-fileset/>
+ </build-listener>
+ </sequential>
+ </macrodef>
+
+ <!-- Convenience macro to call build-listener for uninstaller listeners -->
+ <macrodef name="build-uninstaller-listener">
+ <attribute name="name"/>
+ <attribute name="srcdir" default="${src.dir}"/>
+ <attribute name="classpath-ext" description="An extension of the classpath required to build the listener"
+ default=""/>
+ <element name="uninstaller-fileset"
+ implicit="yes"
+ description="include and exclude elements indicating listener sources"/>
+ <sequential>
+ <build-listener name="@{name}" srcdir="@{srcdir}" izeventExcludes="**/*Installer*,**/*Compiler*"
+ classpath-ext="@{classpath-ext}">
+ <uninstaller-fileset/>
+ </build-listener>
+ </sequential>
+ </macrodef>
+
+ <!-- Compile all custom actions (listener) and put them at the right location -->
+ <!--
+ If you add a another, and the build fails because it can't find a class,
+ be sure to explicitly include the .java file in the nested fileset.
+ This also acts as a check to help limit dependancies.
+ -->
+ <target name="build.listeners" depends="build.compiler,build.installer,build.listener-base">
+ <!-- This dependency is mandatory -->
+ <build-installer-listener name="LateShortcutInstallListener"
+ classpath-ext="${bin.dir}/panels/ShortcutPanel.jar">
+ <include name="com/izforge/izpack/event/LateShortcutInstallListener.java"/>
+ </build-installer-listener>
+
+ <build-installer-listener name="AntActionInstallerListener">
+ <include name="com/izforge/izpack/event/AntActionInstallerListener.java"/>
+ <include name="com/izforge/izpack/event/AntAction.java"/>
+ </build-installer-listener>
+
+ <build-uninstaller-listener name="AntActionUninstallerListener">
+ <include name="com/izforge/izpack/event/AntActionUninstallerListener.java"/>
+ <include name="com/izforge/izpack/event/AntAction.java"/>
+ </build-uninstaller-listener>
+
+ <build-installer-listener name="SummaryLoggerInstallerListener">
+ <include name="com/izforge/izpack/event/SummaryLoggerInstallerListener.java"/>
+ </build-installer-listener>
+
+ <build-installer-listener name="RegistryInstallerListener">
+ <include name="com/izforge/izpack/event/RegistryInstallerListener.java"/>
+ <include name="com/izforge/izpack/event/NativeInstallerListener.java"/>
+ <include name="com/izforge/izpack/util/os/*RegistryHandler.java"/>
+ <include name="com/izforge/izpack/util/OSClassHelper.java"/>
+ <include name="com/izforge/izpack/util/os/WrappedNativeLibException.java"/>
+ <include name="com/coi/tools/os/win/*.java"/>
+ <include name="com/coi/tools/os/win/resources/NativeLibErr*.java"/>
+ <include name="com/coi/tools/os/izpack/Registry.java"/>
+ <include name="com/coi/tools/os/izpack/COIOSHelper.java"/>
+ </build-installer-listener>
+
+ <build-uninstaller-listener name="RegistryUninstallerListener">
+ <include name="com/izforge/izpack/event/RegistryUninstallerListener.java"/>
+ <include name="com/izforge/izpack/event/NativeUninstallerListener.java"/>
+ <include name="com/izforge/izpack/util/os/*RegistryHandler.java"/>
+ <include name="com/izforge/izpack/util/OSClassHelper.java"/>
+ <include name="com/izforge/izpack/util/os/WrappedNativeLibException.java"/>
+ <include name="com/coi/tools/os/win/*.java"/>
+ <include name="com/coi/tools/os/win/resources/NativeLibErr*.java"/>
+ <include name="com/coi/tools/os/izpack/Registry.java"/>
+ <include name="com/coi/tools/os/izpack/COIOSHelper.java"/>
+ </build-uninstaller-listener>
+
+ <build-installer-listener name="BSFInstallerListener" classpath-ext="$${basedir}/lib/bsf.jar">
+ <include name="com/izforge/izpack/event/BSFInstallerListener.java" />
+ <include name="com/izforge/izpack/event/BSFAction.java" />
+ </build-installer-listener>
+
+ <build-installer-listener name="ProgressBarInstallerListener">
+ <include name="com/izforge/izpack/event/ProgressBarInstallerListener.java"/>
+ </build-installer-listener>
+
+ <build-uninstaller-listener name="BSFUninstallerListener" classpath-ext="$${basedir}/lib/bsf.jar">
+ <include name="com/izforge/izpack/event/BSFUninstallerListener.java" />
+ <include name="com/izforge/izpack/event/BSFAction.java" />
+ </build-uninstaller-listener>
+
+ <!-- CUSTOM ACTION test START
+ <build-compiler-listener name="ChmodCompilerListener">
+ <include name="com/myCompany/tools/install/listener/ChmodCompilerListener.java"/>
+ </build-compiler-listener>
+
+ <build-installer-listener name="ChmodInstallerListener">
+ <include name="com/myCompany/tools/install/listener/ChmodInstallerListener.java"/>
+ </build-installer-listener>
+ COSTOM ACTION test END -->
+ </target>
+
+ <!-- ====================================================================== -->
+
+ <!-- Performs some cleanups -->
+ <target name="clean" description="cleans up the dist">
+ <echo message="Cleaning-up"/>
+ <delete includeEmptyDirs="true" quiet="true">
+ <fileset dir="${build.dir}"/>
+ <fileset dir="${dist.dir}"/>
+ <fileset dir="${basedir}/bin/panels/">
+ <include name="**/*"/>
+ </fileset>
+ <fileset dir="${basedir}/bin/customActions/">
+ <include name="**/*"/>
+ </fileset>
+ <fileset dir="${basedir}/lib/">
+ <include name="compiler.jar"/>
+ <include name="izevent.jar"/>
+ <include name="standalone-compiler.jar"/>
+ <include name="frontend.jar"/>
+ <include name="installer.jar"/>
+ <include name="uninstaller.jar"/>
+ <include name="uninstaller-ext.jar"/>
+ </fileset>
+ </delete>
+ <delete file="bin/native/3rdparty/COIOSHelper.dll"/>
+ <delete dir="${basedir}/bin/native/izpack"/>
+ <delete dir="${basedir}/src/doc-reST/html"/>
+ <delete dir="${basedir}/src/doc-reST/pdf"/>
+ <delete includeEmptyDirs="true" dir="${basedir}/doc/izpack"/>
+ <delete dir="${basedir}/_src${dist.subdir}"/>
+ </target>
+
+ <!-- Builds all compilation targets -->
+ <target name="all"
+ depends="splashscreen, copy.dist.natives,build.compiler, build.compiler, build.installer, build.uninstaller, build.uninstaller-ext, build.panels, build.listeners, build.standalone-compiler"
+ description="base: compiles a developer version"/>
+
+ <!-- Builds the Javadoc -->
+ <target name="build.javadoc" depends="prepare" description="Builds the javadoc">
+ <mkdir dir="${build.dir}/javadoc"/>
+ <javadoc destdir="${build.dir}/javadoc" access="private" classpathref="classpath">
+ <packageset dir="${src.dir}">
+ <exclude name="**/CVS"/>
+ </packageset>
+ </javadoc>
+ <copy todir="${doc.dir}/izpack/javadoc" preservelastmodified="true">
+ <fileset dir="${build.dir}/javadoc">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="build.docu" description="Builds the customer documentation">
+ <exec executable="${basedir}/src/doc-reST/build.py" dir="${basedir}/src/doc-reST">
+ <arg value="build.py"/>
+ </exec>
+
+ <mkdir dir="${doc.dir}/izpack/html"/>
+ <copy todir="${doc.dir}/izpack/html" preservelastmodified="true">
+ <fileset dir="${basedir}/src/doc-reST/html">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+ <mkdir dir="${doc.dir}/izpack/pdf"/>
+ <copy todir="${doc.dir}/izpack/pdf" preservelastmodified="true">
+ <fileset dir="${basedir}/src/doc-reST/pdf">
+ <include name="manual.pdf"/>
+ </fileset>
+ </copy>
+
+ <delete file="${basedir}/src/texput.log"/>
+ <delete dir="${basedir}/src/doc-reST/html"/>
+ <delete dir="${basedir}/src/doc-reST/pdf"/>
+ </target>
+
+ <target name="create.docu"
+ depends="build.javadoc, build.docu"
+ description="Creates the javadoc-api and customer documentation">
+
+ </target>
+
+
+ <!-- - - - - - - - - - - - - - - - - -
+ target: taskdef
+ - - - - - - - - - - - - - - - - - -->
+ <target name="taskdef.dist">
+ <!-- Allows us to use the IzPack Ant task -->
+ <taskdef name="izpack"
+ classpath="${basedir}/lib/compiler.jar"
+ classname="com.izforge.izpack.ant.IzPackTask"/>
+ </target>
+
+
+ <!-- - - - - - - - - - - - - - - - - -
+ target: copy.natives
+ - - - - - - - - - - - - - - - - - -->
+ <target name="copy.dist.natives">
+ <echo message="Copies the recent changed native files to the ${basedir}/bin directory"/>
+
+ <mkdir dir="${basedir}/bin/native/izpack"/>
+ <copy todir="${basedir}/bin/native/izpack"
+ file="${basedir}/src/native/ShellLink/src/lib/ShellLink.dll"
+ verbose="true"
+ overwrite="yes"
+ preservelastmodified="true"/>
+ <copy todir="${basedir}/bin/native/izpack"
+ file="${basedir}/src/native/ShellLink/src/lib/ShellLink_x64.dll"
+ verbose="true"
+ overwrite="yes"
+ preservelastmodified="true"/>
+ <copy todir="${basedir}/bin/native/3rdparty"
+ file="${basedir}/src/native/COIOSHelper/src/lib/COIOSHelper.dll"
+ verbose="true"
+ overwrite="yes"
+ preservelastmodified="true"/>
+ <copy todir="${basedir}/bin/native/3rdparty"
+ file="${basedir}/src/native/COIOSHelper/src/lib/COIOSHelper_x64.dll"
+ verbose="true"
+ overwrite="yes"
+ preservelastmodified="true"/>
+ </target>
+
+
+ <!-- - - - - - - - - - - - - - - - - -
+ target: copy.distfiles
+ - - - - - - - - - - - - - - - - - -->
+ <target name="copy.dist.files">
+ <echo message="Copies the general files to the dist directory"/>
+ <copy todir="${dist.dir}" includeEmptyDirs="yes" preservelastmodified="true">
+ <fileset dir="${basedir}">
+ <include name="bin/**"/>
+ <include name="utils/**"/>
+ <include name="lib/*.jar"/>
+ <include name="doc/**"/>
+ <include name="legal/**"/>
+ <include name="src/**"/>
+ <include name="sample/**"/>
+ <include name="*.txt"/>
+ <include name="*.html"/>
+ </fileset>
+ </copy>
+ <echo message="Copies the langpacks to the dist directory"/>
+ <copy todir="${dist.dir}/bin" includeEmptyDirs="yes" preservelastmodified="true">
+ <fileset dir="${basedir}">
+ <include name="langpacks/**"/>
+ </fileset>
+ </copy>
+ <echo message="Copies the license images and specs to the dist directory"/>
+ <copy todir="${dist.dir}" includeEmptyDirs="yes" preservelastmodified="true">
+ <fileset dir="${dist-files.dir}">
+ <include name="useNativeLAF"/>
+ <include name="*.jpg"/>
+ <include name="*.png"/>
+ <include name="*.html"/>
+ <include name="Licence.txt"/>
+ <include name="IzPack-install*.xml"/>
+ <include name="shortcutSpec.xml"/>
+ <include name="Unix_shortcutSpec.xml"/>
+ <include name="RegistrySpec.xml"/>
+ <include name="conditions.xml"/>
+ </fileset>
+ </copy>
+ <echo message="Copies the bin files to the dist directory"/>
+ <copy todir="${dist.dir}/bin" includeEmptyDirs="yes" overwrite="yes" preservelastmodified="true">
+ <fileset dir="${dist-files.dir}">
+ <include name="compile*"/>
+ <include name="lcp.bat"/>
+ <include name="start.sh"/>
+ </fileset>
+ </copy>
+ </target>
+
+
+ <!-- - - - - - - - - - - - - - - - - -
+ target: replace.dist.buildnumber
+ - - - - - - - - - - - - - - - - - -->
+ <target name="replace.dist.buildnumber">
+ <replace file="${dist.dir}/shortcutSpec.xml"
+ token="@build.number@"
+ value="${build.number}"
+ summary="yes"/>
+ <replace file="${dist.dir}/shortcutSpec.xml" token="@ver@" value="${ver}" summary="yes"/>
+
+ <replace file="${dist.dir}/Unix_shortcutSpec.xml"
+ token="@build.number@"
+ value="${build.number}"
+ summary="yes"/>
+ <replace file="${dist.dir}/Unix_shortcutSpec.xml"
+ token="@ver@"
+ value="${ver}"
+ summary="yes"/>
+ </target>
+
+ <!-- Creates an installer for IzPack -->
+ <target name="exec.izpack.compiler">
+
+ <!-- We call IzPack -->
+ <echo message="Makes the installer using IzPack" level="verbose"/>
+ <izpack input="${dist.dir}/${installer.xmlfile}"
+ output="${dist.dir}/${installer.name}${ver}.${rel}.jar"
+ installerType="standard"
+ basedir="${dist.dir}"
+ izPackDir="${dist.dir}/"
+ compression="deflate"
+ compressionlevel="9"/>
+ <echo>
+ sucessfully created:
+ ${dist.dir}/${installer.name}${ver}.${rel}.jar
+ </echo>
+ </target>
+
+
+ <!-- - - - - - - - - - - - - - - - - -
+ target: prepare.install.dist
+ - - - - - - - - - - - - - - - - - -->
+ <target name="prepare.install.dist"
+ depends="taskdef.dist, copy.dist.natives, copy.dist.files, replace.dist.buildnumber, fix.crlf">
+
+ </target>
+
+ <!-- =================================
+ Creates a normal installer for IzPack
+ ================================= -->
+ <target name="generate.installer" depends="prepare.install.dist">
+ <antcall target="exec.izpack.compiler">
+ <param name="installer.xmlfile" value="IzPack-install.xml"/>
+ <param name="installer.name" value="${product}-install-"/>
+ </antcall>
+ </target>
+
+ <!--
+ Fixes CR/LF by applying the Unix convention (\n for endlines).
+ It also fixes the encoding problems by moving it to UTF-8.
+ -->
+ <target name="fix.crlf">
+ <property name="dist.src.dir" location="${dist.dir}/src"/>
+ <property name="dist.bin.dir" location="${dist.dir}/bin"/>
+ <echo>
+ Fixing linefeeds for several files in:
+ "${dist.src.dir}"
+ and
+ "${dist.bin.dir}"
+ </echo>
+ <fixcrlf srcDir="${dist.src.dir}" eol="lf" eof="remove" encoding="UTF-8">
+ <include name="**/*.java"/>
+ <include name="**/*.xml"/>
+ <include name="**/*.properties"/>
+ </fixcrlf>
+ <fixcrlf srcdir="${dist.dir}" eol="unix" eof="remove">
+ <include name="**/*.sh"/>
+ <include name="dist-files/compile"/>
+ </fixcrlf>
+ <fixcrlf srcdir="${dist.bin.dir}" eol="unix" eof="remove">
+ <include name="**/*.sh"/>
+ <include name="compile"/>
+ </fixcrlf>
+ <fixcrlf srcdir="${dist.dir}" eol="dos" eof="add">
+ <include name="**/*.bat"/>
+ </fixcrlf>
+ <fixcrlf srcdir="${dist.bin.dir}" eol="dos" eof="add">
+ <include name="**/*.bat"/>
+ </fixcrlf>
+ </target>
+
+ <!-- Runs a testing installer. -->
+ <target name="run.installer">
+ <java jar="${basedir}/_dist/IzPack-install-${build.number}.jar" fork="true"/>
+ </target>
+
+ <!-- Makes everything, from compilation to generating an installer. -->
+ <target name="quickdist"
+ depends="all, generate.installer"
+ description="makes a installer without docu"/>
+
+ <!-- Makes everything, from compilation, customer and javadoc to generating an installer. -->
+ <target name="dist"
+ depends="src.tar.gz, all, create.docu, generate.installer"
+ description="makes a complete installer"/>
+
+ <!-- Makes everything, from Cleaning to generating both installers: normal and reg support. -->
+ <target name="cleandistreg"
+ depends="clean, splashscreen, dist, generate.installer"
+ description="creates a full dist with Win32 uninstall registry support"/>
+
+ <!-- =================================
+ target: clean.src.tar.gz
+ ================================= -->
+ <target name="clean.src.tar.gz" depends="clean, src.tar.gz" description="--> creates a src.tar.gz after clean up">
+ </target>
+
+
+ <!-- =================================
+ target: src.tar.gz
+ ================================= -->
+ <target name="src.tar.gz" description="--> creates a src.tar.gz ">
+ <mkdir dir="${basedir}/_src${dist.subdir}"/>
+ <property name="src.tar.gz" value="${basedir}/_src${dist.subdir}/${product}-src-${ver}.${rel}.tar.gz"/>
+ <tar compression="gzip" destfile="${src.tar.gz}" basedir="${basedir}"
+ excludes="_src${dist.subdir}/**, _dist/**, _build/**, bin/panels/**, bin/customActions/**, doc/izpack/**, eclipse-bin/**, lib/standalone-compiler.jar, lib/izevent.jar, lib/uninstaller*, lib/installer.jar, lib/compiler.jar"/>
+ </target>
+
+
+ <!-- convenient :) makes a quick dist (w/o docu), an installer and run them. -->
+ <target name="quickdist+run"
+ depends="quickdist, run.installer"
+ description="makes a quickdist installer and runs them"/>
+
+ <!-- convenient :) makes a complete dist an installer and run them. -->
+ <target name="dist+run"
+ depends="dist, run.installer"
+ description="makes a complete installer and runs them"/>
+
+ <!-- ** splashscreen **
+ shows some ANT specific- and JAVA-
+ but Platform and Project-independed Properties.
+ ================================================================ -->
+ <target name="splashscreen"
+ depends="time"
+ description="shows the used environment and project settings">
+
+ <property name="console_line" value="**************************************************"/>
+ <echo message="${console_line}"/>
+ <echo message="* ${ant.version}"/>
+ <echo message="* Java JRE version ${ant.java.version} ${java.vm.vendor}"/>
+ <exec executable="${java.home}/bin/java">
+ <arg line="-version"/>
+ </exec>
+ <echo message="${console_line}"/>
+ <echo message="* processing file ....... '${ant.file}'"/>
+ <echo message="* in base-directory ..... '${basedir}'"/>
+ <echo message="* building project ...... '${ant.project.name}'"/>
+ <echo message="* working in directory .. '${cwd}'"/>
+ <echo message="${console_line}"/>
+ </target>
+
+
+ <!-- =================================
+ target: ShellLink.Javah
+ ================================= -->
+ <target name="ShellLink.Javah"
+ depends="compile.installer"
+ description="--> rebuilds the shelllink jni *.h header file">
+ <javah class="com.izforge.izpack.util.os.ShellLink"
+ destdir="${basedir}/src/native/ShellLink">
+ <classpath path="${build.dir}"/>
+ </javah>
+ </target>
+
+
+ <!-- =================================
+ target: time - takes a timestamp
+ ================================= -->
+ <target name="time">
+ <tstamp/>
+ </target>
+
+
+ <!-- =================================
+ target: dump.properties - dumps the curent properties into the $os_$timestamp.properties file
+ ================================= -->
+ <target name="dump.properties" depends="time" description="dump.environment (for debug)">
+ <echoproperties
+ destfile="${basedir}/ant_properties_at_${os.name}-${os.arch}-${os.version}_at_${DSTAMP}-${TSTAMP}.txt"/>
+ </target>
+
+
+</project>
--- /dev/null
+#!/bin/bash
+
+pushd .
+cd `dirname $0`
+#BUILD=$1
+#JOB_NAME=$1
+
+rm -f files/sdk.zip
+#rm -rf dist
+#wget -O dist.zip "http://www.simantics.org/hudson/job/${JOB_NAME}/${BUILD}/artifact/builder/dist/*zip*/dist.zip" || exit -1
+#unzip -o dist.zip || exit -1
+#cp -v dist/*sdk*.zip files/sdk.zip || exit -1
+#rm -rf dist.zip dist
+# Copy the SDK package directly from the hudson build directories
+cp -v ~/.hudson/jobs/1.2/lastSuccessful/archive/builder/dist/*sdk*.zip files/sdk.zip || exit -1
+
+popd > /dev/null
--- /dev/null
+@echo off\r
+\r
+setlocal\r
+pushd .\r
+cd %~dp0\r
+set BUILD=%1\r
+set JOB_NAME=%2\r
+\r
+del /s /q dist\r
+wget -O dist.zip "http://www.simantics.org/hudson/job/%JOB_NAME%/%BUILD%/artifact/builder/dist/*zip*/dist.zip"\r
+unzip -o dist.zip\r
+del files\sdk.zip\r
+copy dist\*sdk*.zip files\dist.zip\r
+del /s /q dist.zip dist\r
+\r
+popd\r
+endlocal\r
--- /dev/null
+@echo off\r
+"%~dp0Microsoft.VC90.CRT.setup.exe" /q
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<installation version="1.0">
+ <info>
+ <appname>Simantics System Dynamics</appname>
+ <appsubpath>Sysdyn</appsubpath>
+ <appversion>1.2</appversion>
+ <authors>
+ <author email="simantics-developers@simantics.org" name="VTT Technical Research Centre of Finland"/>
+ </authors>
+ <url>http://www.simantics.org</url>
+ <uninstaller name="Uninstaller.jar" write="yes"/>
+ <javaversion>1.6</javaversion>
+ <requiresjdk>no</requiresjdk>
+ <writeinstallationinformation>yes</writeinstallationinformation>
+ </info>
+ <installerrequirements>
+ <installerrequirement condition="izpack.windowsinstall" message="This installer only supports Windows operating systems."/>
+ </installerrequirements>
+ <guiprefs width="640" height="570" resizable="yes">
+ <laf name="substance">
+ <param name="variant" value="business"/>
+ <os family="windows"/>
+ <os family="unix"/>
+ <os family="mac"/>
+ </laf>
+ <modifier key="langDisplayType" value="default"/>
+ <modifier key="useHeadingPanel" value="yes"/>
+ <modifier key="headingImageOnLeft" value="yes"/>
+ <modifier key="useFlags" value="yes"/>
+ <modifier key="labelGap" value="2"/>
+ <!--<modifier key="layoutAnchor" value="NORTHWEST"/>-->
+ <modifier key="useButtonIcons" value="no"/>
+ <modifier key="useLabelIcons" value="no"/>
+ <modifier key="useHeadingForSummary" value="yes"/>
+ <modifier key="headingLineCount" value="1"/>
+ <modifier key="headingFontSize" value="1.5"/>
+ <modifier key="headingBackgroundColor" value="0x00ffffff"/>
+ <modifier key="headingPanelCounter" value="progressbar"/>
+ <modifier key="headingPanelCounterPos" value="inNavigationPanel"/>
+ </guiprefs>
+ <locale>
+ <langpack iso3="eng"/>
+ </locale>
+ <resources>
+ <res id="HTMLLicencePanel.licence" parse="yes" src="EPL.html"/>
+ <res id="Installer.image" src="side.png"/>
+ <res id="userInputSpec.xml" src="userInputSpec.xml" />
+ <res id="TargetPanel.dir.windows" src="TargetDir.txt.windows" />
+ <res id="TargetPanel.dir.unix" src="TargetDir.txt.unix" />
+ <res id="CustomLangpack.xml_eng" src="CustomLangpack_eng.xml" />
+ </resources>
+ <panels>
+ <panel classname="CheckedHelloPanel"/>
+ <panel classname="HTMLLicencePanel"/>
+ <panel classname="PacksPanel"/>
+ <panel classname="NonBlankTargetPanel"/>
+ <panel classname="SummaryPanel"/>
+ <panel classname="InstallPanel"/>
+ <!--<panel classname="SimpleFinishPanel"/>-->
+ </panels>
+ <variables>
+ <variable name="DesktopShortcutCheckboxEnabled" value="true"/>
+ <variable name="InstallerFrame.logfilePath" value="default"/>
+ </variables>
+ <packs>
+ <pack name="Java Runtime Environment 6" preselected="no" required="no">
+ <os family="windows"/>
+ <description>Simantics SDK requires an up-to-date version of the Java Runtime Environment version 6.
+If your JRE is old, you can install JRE 6 update 22 by selecting this.
+Other Java installers are available at http://www.java.com/en/download/manual.jsp.</description>
+ <file override="update"
+ src="files/jre-6u22-windows-i586-iftw-rv.exe" targetdir="$INSTALL_PATH"/>
+ <executable failure="ask" keep="false" stage="postinstall" targetfile="$INSTALL_PATH/jre-6u22-windows-i586-iftw-rv.exe">
+ <os family="windows"/>
+ </executable>
+ </pack>
+ <pack name="Microsoft Visual C++ Run-Time" preselected="yes" required="yes">
+ <os family="windows"/>
+ <description>Microsoft Visual C++ Run-Time 9.0 libraries.
+These are required by native Simantics components.
+Nothing is done if these are already installed on your system.</description>
+ <file override="update"
+ src="files/Microsoft.VC90.CRT.setup.exe" targetdir="$INSTALL_PATH/external"/>
+ <file override="update"
+ src="files/install_msvcrt.bat" targetdir="$INSTALL_PATH/external"/>
+ <executable failure="ask" keep="true" stage="postinstall" targetfile="$INSTALL_PATH/external/install_msvcrt.bat">
+ <os family="windows"/>
+ </executable>
+ </pack>
+ <pack name="Simantics System Dynamics" preselected="yes" required="yes">
+ <os family="windows"/>
+ <description>The Simantics System Dynamics application.</description>
+ <depends packname="Microsoft Visual C++ Run-Time"/>
+ <file override="true" unpack="true"
+ src="files/dist.zip" targetdir="$INSTALL_PATH"/>
+ </pack>
+ </packs>
+</installation>
--- /dev/null
+<?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="744.09448819"
+ height="1052.3622047"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="New document 1">
+ <defs
+ id="defs4">
+ <linearGradient
+ id="linearGradient5042">
+ <stop
+ style="stop-color:#000000;stop-opacity:1;"
+ offset="0"
+ id="stop5044" />
+ <stop
+ style="stop-color:#8caed8;stop-opacity:1"
+ offset="1"
+ id="stop5046" />
+ </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="perspective10" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient5042"
+ id="radialGradient5048"
+ cx="-538.94128"
+ cy="344.05646"
+ fx="-538.94128"
+ fy="344.05646"
+ r="347.30859"
+ gradientTransform="matrix(1.578967,0.43290519,-0.11724864,0.42764955,352.36941,430.23135)"
+ gradientUnits="userSpaceOnUse" />
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.35"
+ inkscape:cx="-70.714286"
+ inkscape:cy="520"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1051"
+ inkscape:window-height="790"
+ inkscape:window-x="89"
+ inkscape:window-y="115"
+ inkscape:window-maximized="0" />
+ <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>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1">
+ <text
+ xml:space="preserve"
+ style="font-size:144px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%;writing-mode:lr-tb;text-anchor:start;fill:url(#radialGradient5048);fill-opacity:1;stroke:none;font-family:Segoe Print;-inkscape-font-specification:Segoe Print"
+ x="-892.578"
+ y="399.04083"
+ id="text2816"
+ sodipodi:linespacing="100%"
+ transform="matrix(0,-1,1,0,0,0)"><tspan
+ sodipodi:role="line"
+ id="tspan2818"
+ x="-892.578"
+ y="399.04083"
+ style="fill-opacity:1;fill:url(#radialGradient5048)">Simantics</tspan></text>
+ </g>
+</svg>
--- /dev/null
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>\r
+<userInput>\r
+ <!-- Install -->\r
+ <panel order="0" layout="center">\r
+ <createForPack name="Simantics System Dynamics" />\r
+ <field type="title" txt="Select Installation Target" bold="true" size="1" />\r
+ <field type="staticText" align="left" txt="Select the installation path:"/>\r
+ <field type="dir" align="left" variable="TargetPanel.dir">\r
+ <spec txt="" size="35" set="$INSTALL_PATH$FILE_SEPARATOR$APP_VER" mustExist="false" />\r
+ <validator\r
+ class="com.izforge.izpack.util.RegularExpressionValidator"\r
+ txt="Sorry, installation path cannot contain spaces. Limited by OpenModelica and MinGW compiler.">\r
+ <param\r
+ name="pattern"\r
+ value="^(.*?/|.*?\\)?([^\./|^\.\\]+)(?:\.([^\\]*)|)$"\r
+ />\r
+ </validator> \r
+ </field>\r
+ </panel>\r
+</userInput>
\ No newline at end of file