diff --git a/build.xml b/build.xml
index 01634f12..c2011a87 100755
--- a/build.xml
+++ b/build.xml
@@ -473,4 +473,11 @@
+
+
+
+
+
+
+
diff --git a/ext/win-installer/AppFiles32/32-bit.txt b/ext/win-installer/AppFiles32/32-bit.txt
new file mode 100644
index 00000000..e69de29b
diff --git a/ext/win-installer/AppFiles32/icon.ico b/ext/win-installer/AppFiles32/icon.ico
new file mode 100644
index 00000000..2576289f
Binary files /dev/null and b/ext/win-installer/AppFiles32/icon.ico differ
diff --git a/ext/win-installer/AppFiles32/license.txt b/ext/win-installer/AppFiles32/license.txt
new file mode 100644
index 00000000..d159169d
--- /dev/null
+++ b/ext/win-installer/AppFiles32/license.txt
@@ -0,0 +1,339 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ , 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
diff --git a/ext/win-installer/AppFiles64/64-bit.txt b/ext/win-installer/AppFiles64/64-bit.txt
new file mode 100644
index 00000000..e69de29b
diff --git a/ext/win-installer/AppFiles64/icon.ico b/ext/win-installer/AppFiles64/icon.ico
new file mode 100644
index 00000000..2576289f
Binary files /dev/null and b/ext/win-installer/AppFiles64/icon.ico differ
diff --git a/ext/win-installer/AppFiles64/license.txt b/ext/win-installer/AppFiles64/license.txt
new file mode 100644
index 00000000..d159169d
--- /dev/null
+++ b/ext/win-installer/AppFiles64/license.txt
@@ -0,0 +1,339 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ , 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
diff --git a/ext/win-installer/Installer/Installer.nsi b/ext/win-installer/Installer/Installer.nsi
new file mode 100644
index 00000000..35115e3d
Binary files /dev/null and b/ext/win-installer/Installer/Installer.nsi differ
diff --git a/ext/win-installer/Installer/InstallerGraphics/header-r.bmp b/ext/win-installer/Installer/InstallerGraphics/header-r.bmp
new file mode 100644
index 00000000..5c862b6c
Binary files /dev/null and b/ext/win-installer/Installer/InstallerGraphics/header-r.bmp differ
diff --git a/ext/win-installer/Installer/InstallerGraphics/header-uninstall-r.bmp b/ext/win-installer/Installer/InstallerGraphics/header-uninstall-r.bmp
new file mode 100644
index 00000000..1672afa6
Binary files /dev/null and b/ext/win-installer/Installer/InstallerGraphics/header-uninstall-r.bmp differ
diff --git a/ext/win-installer/Installer/InstallerGraphics/header-uninstall.bmp b/ext/win-installer/Installer/InstallerGraphics/header-uninstall.bmp
new file mode 100644
index 00000000..97be6746
Binary files /dev/null and b/ext/win-installer/Installer/InstallerGraphics/header-uninstall.bmp differ
diff --git a/ext/win-installer/Installer/InstallerGraphics/header.bmp b/ext/win-installer/Installer/InstallerGraphics/header.bmp
new file mode 100644
index 00000000..b96e203b
Binary files /dev/null and b/ext/win-installer/Installer/InstallerGraphics/header.bmp differ
diff --git a/ext/win-installer/Installer/InstallerGraphics/installer.ico b/ext/win-installer/Installer/InstallerGraphics/installer.ico
new file mode 100644
index 00000000..e906a954
Binary files /dev/null and b/ext/win-installer/Installer/InstallerGraphics/installer.ico differ
diff --git a/ext/win-installer/Installer/InstallerGraphics/uninstaller.ico b/ext/win-installer/Installer/InstallerGraphics/uninstaller.ico
new file mode 100644
index 00000000..59c79f32
Binary files /dev/null and b/ext/win-installer/Installer/InstallerGraphics/uninstaller.ico differ
diff --git a/ext/win-installer/Installer/InstallerGraphics/welcomefinish-uninstall.bmp b/ext/win-installer/Installer/InstallerGraphics/welcomefinish-uninstall.bmp
new file mode 100644
index 00000000..4ea6a653
Binary files /dev/null and b/ext/win-installer/Installer/InstallerGraphics/welcomefinish-uninstall.bmp differ
diff --git a/ext/win-installer/Installer/InstallerGraphics/welcomefinish.bmp b/ext/win-installer/Installer/InstallerGraphics/welcomefinish.bmp
new file mode 100644
index 00000000..ebd3ce6d
Binary files /dev/null and b/ext/win-installer/Installer/InstallerGraphics/welcomefinish.bmp differ
diff --git a/ext/win-installer/InstallerConfig.nsh b/ext/win-installer/InstallerConfig.nsh
new file mode 100644
index 00000000..48116eab
Binary files /dev/null and b/ext/win-installer/InstallerConfig.nsh differ
diff --git a/ext/win-installer/InstallerLicense.txt b/ext/win-installer/InstallerLicense.txt
new file mode 100644
index 00000000..13dcde33
--- /dev/null
+++ b/ext/win-installer/InstallerLicense.txt
@@ -0,0 +1,5 @@
+This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
\ No newline at end of file
diff --git a/ext/win-installer/NSISPortable/App/AppInfo/Launcher/NSISPortable.ini b/ext/win-installer/NSISPortable/App/AppInfo/Launcher/NSISPortable.ini
new file mode 100644
index 00000000..2e7b6073
--- /dev/null
+++ b/ext/win-installer/NSISPortable/App/AppInfo/Launcher/NSISPortable.ini
@@ -0,0 +1,28 @@
+[Launch]
+ProgramExecutable=NSIS\NSIS.exe
+ProgramExecutableWhenParameters=NSIS\makensisw.exe
+WaitForEXE1=makensisw.exe
+CloseEXE=makensisw.exe
+DirectoryMoveOK=yes
+SupportsUNC=yes
+
+[Activate]
+Registry=true
+
+[RegistryKeys]
+Unicode_NSIS_Portable=HKEY_CURRENT_USER\Software\NSIS
+
+[FilesMove]
+settings\nsisconf.nsh=%PAL:AppDir%\NSIS
+
+[FileWrite1]
+Type=Replace
+File=%PAL:DataDir%\settings\Unicode_NSIS_Portable.reg
+Find=%PAL:LastDrive%%PAL:LastPackagePartialDir:DoubleBackslash%
+Replace=%PAL:Drive%%PAL:PackagePartialDir:DoubleBackslash%
+
+[FileWrite2]
+Type=Replace
+File=%PAL:DataDir%\settings\Unicode_NSIS_Portable.reg
+Find=%PAL:LastDrive%\
+Replace=%PAL:Drive%\
diff --git a/ext/win-installer/NSISPortable/App/AppInfo/appicon.ico b/ext/win-installer/NSISPortable/App/AppInfo/appicon.ico
new file mode 100644
index 00000000..0548d6e7
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/AppInfo/appicon.ico differ
diff --git a/ext/win-installer/NSISPortable/App/AppInfo/appicon_128.png b/ext/win-installer/NSISPortable/App/AppInfo/appicon_128.png
new file mode 100644
index 00000000..05957561
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/AppInfo/appicon_128.png differ
diff --git a/ext/win-installer/NSISPortable/App/AppInfo/appicon_16.png b/ext/win-installer/NSISPortable/App/AppInfo/appicon_16.png
new file mode 100644
index 00000000..e150671f
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/AppInfo/appicon_16.png differ
diff --git a/ext/win-installer/NSISPortable/App/AppInfo/appicon_32.png b/ext/win-installer/NSISPortable/App/AppInfo/appicon_32.png
new file mode 100644
index 00000000..ac79e8ed
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/AppInfo/appicon_32.png differ
diff --git a/ext/win-installer/NSISPortable/App/AppInfo/appinfo.ini b/ext/win-installer/NSISPortable/App/AppInfo/appinfo.ini
new file mode 100644
index 00000000..33d4b6ec
--- /dev/null
+++ b/ext/win-installer/NSISPortable/App/AppInfo/appinfo.ini
@@ -0,0 +1,29 @@
+[Format]
+Type=PortableApps.comFormat
+Version=3.0
+
+[Details]
+Name=NSIS Portable (Unicode)
+AppID=NSISPortable
+Publisher=NSIS Team & PortableApps.com
+Homepage=portableapps.com/nsisportable
+Category=Development
+Description=Scriptable installer creation
+Language=English
+
+[License]
+Shareable=true
+OpenSource=true
+Freeware=true
+CommercialUse=true
+
+[Version]
+PackageVersion=2.46.5.2
+DisplayVersion=2.46.5 Rev 2
+
+[Control]
+Icons=1
+Start=NSISPortable.exe
+
+[Associations]
+FileTypes=nsi,nsh
\ No newline at end of file
diff --git a/ext/win-installer/NSISPortable/App/AppInfo/installer.ini b/ext/win-installer/NSISPortable/App/AppInfo/installer.ini
new file mode 100644
index 00000000..7f2d29e5
--- /dev/null
+++ b/ext/win-installer/NSISPortable/App/AppInfo/installer.ini
@@ -0,0 +1,8 @@
+[MainDirectories]
+RemoveAppDirectory=false
+
+[FilesToRemove]
+RemoveFile1=App\AppInfo\appinfo_128.png
+RemoveFile2=App\NSIS\NSIS.chw
+RemoveFile3=App\NSIS\Examples\RegistryTest.nsi
+RemoveFile4=App\NSIS\Include\GetParameters.nsh
\ No newline at end of file
diff --git a/ext/win-installer/NSISPortable/App/DefaultData/settings/nsisconf.nsh b/ext/win-installer/NSISPortable/App/DefaultData/settings/nsisconf.nsh
new file mode 100644
index 00000000..ded5b9aa
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/DefaultData/settings/nsisconf.nsh differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Bin/GenPat.exe b/ext/win-installer/NSISPortable/App/NSIS/Bin/GenPat.exe
new file mode 100644
index 00000000..04373fcb
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Bin/GenPat.exe differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Bin/LibraryLocal.exe b/ext/win-installer/NSISPortable/App/NSIS/Bin/LibraryLocal.exe
new file mode 100644
index 00000000..39063e90
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Bin/LibraryLocal.exe differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Bin/MakeLangId.exe b/ext/win-installer/NSISPortable/App/NSIS/Bin/MakeLangId.exe
new file mode 100644
index 00000000..16ade139
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Bin/MakeLangId.exe differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Bin/RegTool.bin b/ext/win-installer/NSISPortable/App/NSIS/Bin/RegTool.bin
new file mode 100644
index 00000000..5d11756f
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Bin/RegTool.bin differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Bin/zip2exe.exe b/ext/win-installer/NSISPortable/App/NSIS/Bin/zip2exe.exe
new file mode 100644
index 00000000..6a335409
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Bin/zip2exe.exe differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/COPYING b/ext/win-installer/NSISPortable/App/NSIS/COPYING
new file mode 100644
index 00000000..afd4902a
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/COPYING differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/ExDll/exdll.h b/ext/win-installer/NSISPortable/App/NSIS/Contrib/ExDll/exdll.h
new file mode 100644
index 00000000..506132fc
--- /dev/null
+++ b/ext/win-installer/NSISPortable/App/NSIS/Contrib/ExDll/exdll.h
@@ -0,0 +1,116 @@
+#ifndef _EXDLL_H_
+#define _EXDLL_H_
+
+// only include this file from one place in your DLL.
+// (it is all static, if you use it in two places it will fail)
+
+#define EXDLL_INIT() { \
+ g_stringsize=string_size; \
+ g_stacktop=stacktop; \
+ g_variables=variables; }
+
+// For page showing plug-ins
+#define WM_NOTIFY_OUTER_NEXT (WM_USER+0x8)
+#define WM_NOTIFY_CUSTOM_READY (WM_USER+0xd)
+#define NOTIFY_BYE_BYE 'x'
+
+typedef struct _stack_t {
+ struct _stack_t *next;
+ TCHAR text[1]; // this should be the length of string_size
+} stack_t;
+
+
+static unsigned int g_stringsize;
+static stack_t **g_stacktop;
+static TCHAR *g_variables;
+
+static int __stdcall popstring(TCHAR *str); // 0 on success, 1 on empty stack
+static void __stdcall pushstring(const TCHAR *str);
+
+enum
+{
+INST_0, // $0
+INST_1, // $1
+INST_2, // $2
+INST_3, // $3
+INST_4, // $4
+INST_5, // $5
+INST_6, // $6
+INST_7, // $7
+INST_8, // $8
+INST_9, // $9
+INST_R0, // $R0
+INST_R1, // $R1
+INST_R2, // $R2
+INST_R3, // $R3
+INST_R4, // $R4
+INST_R5, // $R5
+INST_R6, // $R6
+INST_R7, // $R7
+INST_R8, // $R8
+INST_R9, // $R9
+INST_CMDLINE, // $CMDLINE
+INST_INSTDIR, // $INSTDIR
+INST_OUTDIR, // $OUTDIR
+INST_EXEDIR, // $EXEDIR
+INST_LANG, // $LANGUAGE
+__INST_LAST
+};
+
+typedef struct {
+ int autoclose;
+ int all_user_var;
+ int exec_error;
+ int abort;
+ int exec_reboot;
+ int reboot_called;
+ int cur_insttype;
+ int insttype_changed;
+ int silent;
+ int instdir_error;
+ int rtl;
+ int errlvl;
+} exec_flags;
+
+typedef struct {
+ exec_flags *exec_flags;
+ int (__stdcall *ExecuteCodeSegment)(int, HWND);
+} extra_parameters;
+
+// utility functions (not required but often useful)
+static int __stdcall popstring(TCHAR *str)
+{
+ stack_t *th;
+ if (!g_stacktop || !*g_stacktop) return 1;
+ th=(*g_stacktop);
+ lstrcpy(str,th->text);
+ *g_stacktop = th->next;
+ GlobalFree((HGLOBAL)th);
+ return 0;
+}
+
+static void __stdcall pushstring(const TCHAR *str)
+{
+ stack_t *th;
+ if (!g_stacktop) return;
+ th=(stack_t*)GlobalAlloc(GPTR,sizeof(stack_t)+g_stringsize*sizeof(TCHAR));
+ lstrcpyn(th->text,str,g_stringsize);
+ th->next=*g_stacktop;
+ *g_stacktop=th;
+}
+
+static TCHAR * __stdcall getuservariable(const int varnum)
+{
+ if (varnum < 0 || varnum >= __INST_LAST) return NULL;
+ return g_variables+varnum*g_stringsize;
+}
+
+static void __stdcall setuservariable(const int varnum, const TCHAR *var)
+{
+ if (var != NULL && varnum >= 0 && varnum < __INST_LAST)
+ lstrcpy(g_variables + varnum*g_stringsize, var);
+}
+
+
+
+#endif//_EXDLL_H_
\ No newline at end of file
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/big.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/big.bmp
new file mode 100644
index 00000000..d6db0779
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/big.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/classic-cross.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/classic-cross.bmp
new file mode 100644
index 00000000..a4d37a14
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/classic-cross.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/classic.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/classic.bmp
new file mode 100644
index 00000000..83e3cf56
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/classic.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/colorful.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/colorful.bmp
new file mode 100644
index 00000000..7713942e
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/colorful.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/grey-cross.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/grey-cross.bmp
new file mode 100644
index 00000000..b28b59bb
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/grey-cross.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/grey.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/grey.bmp
new file mode 100644
index 00000000..b374432b
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/grey.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/modern.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/modern.bmp
new file mode 100644
index 00000000..62468ded
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/modern.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/red-round.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/red-round.bmp
new file mode 100644
index 00000000..31d3c025
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/red-round.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/red.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/red.bmp
new file mode 100644
index 00000000..e14e6b4a
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/red.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/simple-round.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/simple-round.bmp
new file mode 100644
index 00000000..69502322
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/simple-round.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/simple-round2.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/simple-round2.bmp
new file mode 100644
index 00000000..ee1ec842
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/simple-round2.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/simple.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/simple.bmp
new file mode 100644
index 00000000..c687a1d9
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Checks/simple.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/nsis-r.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/nsis-r.bmp
new file mode 100644
index 00000000..eb3650f7
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/nsis-r.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/nsis.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/nsis.bmp
new file mode 100644
index 00000000..cbb52312
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/nsis.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-nsis.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-nsis.bmp
new file mode 100644
index 00000000..b4a0cf94
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-nsis.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-r-nsis.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-r-nsis.bmp
new file mode 100644
index 00000000..2da34f17
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-r-nsis.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-r.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-r.bmp
new file mode 100644
index 00000000..c74fbdd5
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-r.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-uninstall-nsis.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-uninstall-nsis.bmp
new file mode 100644
index 00000000..635596b2
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-uninstall-nsis.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-uninstall-r-nsis.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-uninstall-r-nsis.bmp
new file mode 100644
index 00000000..5f215d77
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-uninstall-r-nsis.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-uninstall-r.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-uninstall-r.bmp
new file mode 100644
index 00000000..1672afa6
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-uninstall-r.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-uninstall.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-uninstall.bmp
new file mode 100644
index 00000000..97be6746
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange-uninstall.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange.bmp
new file mode 100644
index 00000000..4ac1413b
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/orange.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/win.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/win.bmp
new file mode 100644
index 00000000..6612357a
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Header/win.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/arrow-install.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/arrow-install.ico
new file mode 100644
index 00000000..0441d5ce
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/arrow-install.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/arrow-uninstall.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/arrow-uninstall.ico
new file mode 100644
index 00000000..f3e7bfed
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/arrow-uninstall.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/arrow2-install.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/arrow2-install.ico
new file mode 100644
index 00000000..e047f7db
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/arrow2-install.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/arrow2-uninstall.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/arrow2-uninstall.ico
new file mode 100644
index 00000000..fa6064fa
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/arrow2-uninstall.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/box-install.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/box-install.ico
new file mode 100644
index 00000000..fd6c7c1f
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/box-install.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/box-uninstall.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/box-uninstall.ico
new file mode 100644
index 00000000..bc275415
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/box-uninstall.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/classic-install.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/classic-install.ico
new file mode 100644
index 00000000..5afcc62e
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/classic-install.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/classic-uninstall.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/classic-uninstall.ico
new file mode 100644
index 00000000..09532909
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/classic-uninstall.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/llama-blue.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/llama-blue.ico
new file mode 100644
index 00000000..08288b6d
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/llama-blue.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/llama-grey.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/llama-grey.ico
new file mode 100644
index 00000000..4749479f
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/llama-grey.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-install-blue-full.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-install-blue-full.ico
new file mode 100644
index 00000000..8f1c5122
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-install-blue-full.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-install-blue.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-install-blue.ico
new file mode 100644
index 00000000..fecdc273
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-install-blue.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-install-colorful.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-install-colorful.ico
new file mode 100644
index 00000000..2908f58b
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-install-colorful.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-install-full.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-install-full.ico
new file mode 100644
index 00000000..3aa83e9f
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-install-full.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-install.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-install.ico
new file mode 100644
index 00000000..f8fbd5ff
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-install.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-uninstall-blue-full.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-uninstall-blue-full.ico
new file mode 100644
index 00000000..cd922797
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-uninstall-blue-full.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-uninstall-blue.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-uninstall-blue.ico
new file mode 100644
index 00000000..77031b58
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-uninstall-blue.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-uninstall-colorful.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-uninstall-colorful.ico
new file mode 100644
index 00000000..461035cc
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-uninstall-colorful.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-uninstall-full.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-uninstall-full.ico
new file mode 100644
index 00000000..a134f586
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-uninstall-full.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-uninstall.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-uninstall.ico
new file mode 100644
index 00000000..6c7410c2
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/modern-uninstall.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/nsis1-install.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/nsis1-install.ico
new file mode 100644
index 00000000..e1804492
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/nsis1-install.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/nsis1-uninstall.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/nsis1-uninstall.ico
new file mode 100644
index 00000000..a37774cf
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/nsis1-uninstall.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/orange-install-nsis.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/orange-install-nsis.ico
new file mode 100644
index 00000000..ef3975f5
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/orange-install-nsis.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/orange-install.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/orange-install.ico
new file mode 100644
index 00000000..1db75f8e
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/orange-install.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/orange-uninstall-nsis.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/orange-uninstall-nsis.ico
new file mode 100644
index 00000000..431eb2e0
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/orange-uninstall-nsis.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/orange-uninstall.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/orange-uninstall.ico
new file mode 100644
index 00000000..59c79f32
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/orange-uninstall.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/pixel-install.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/pixel-install.ico
new file mode 100644
index 00000000..f2106d61
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/pixel-install.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/pixel-uninstall.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/pixel-uninstall.ico
new file mode 100644
index 00000000..2003b2df
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/pixel-uninstall.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/win-install.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/win-install.ico
new file mode 100644
index 00000000..a5eb774b
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/win-install.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/win-uninstall.ico b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/win-uninstall.ico
new file mode 100644
index 00000000..93291769
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Icons/win-uninstall.ico differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/arrow.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/arrow.bmp
new file mode 100644
index 00000000..9f7426bc
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/arrow.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/llama.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/llama.bmp
new file mode 100644
index 00000000..1e1d9425
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/llama.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/nsis.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/nsis.bmp
new file mode 100644
index 00000000..dcc38094
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/nsis.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/nullsoft.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/nullsoft.bmp
new file mode 100644
index 00000000..d4145d4f
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/nullsoft.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/orange-nsis.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/orange-nsis.bmp
new file mode 100644
index 00000000..ec46bd85
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/orange-nsis.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/orange-uninstall-nsis.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/orange-uninstall-nsis.bmp
new file mode 100644
index 00000000..661e7023
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/orange-uninstall-nsis.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/orange-uninstall.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/orange-uninstall.bmp
new file mode 100644
index 00000000..097d0942
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/orange-uninstall.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/orange.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/orange.bmp
new file mode 100644
index 00000000..196a5b7a
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/orange.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/win.bmp b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/win.bmp
new file mode 100644
index 00000000..5524eef9
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Graphics/Wizard/win.bmp differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Inetc/Example.nsi b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Inetc/Example.nsi
new file mode 100644
index 00000000..40676456
--- /dev/null
+++ b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Inetc/Example.nsi
@@ -0,0 +1,53 @@
+
+;--------------------------------
+; General Attributes
+
+Name "Inetc plug-in Test"
+OutFile "inetc.exe"
+;SilentInstall silent
+
+
+;--------------------------------
+;Interface Settings
+
+ !include "MUI.nsh"
+ !define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install-colorful.ico"
+ !insertmacro MUI_PAGE_WELCOME
+ !insertmacro MUI_PAGE_INSTFILES
+ !insertmacro MUI_LANGUAGE "English"
+
+;SetFont 14
+
+;--------------------------------
+;Installer Sections
+
+Section "Dummy Section" SecDummy
+
+ SetDetailsView hide
+
+; two files download, popup mode
+ inetc::get /caption "2003-2004 reports" /popup "" "http://ineum.narod.ru/spr_2003.htm" "$EXEDIR\spr3.htm" "http://ineum.narod.ru/spr_2004.htm" "$EXEDIR\spr4.htm" /end
+ Pop $0 # return value = exit code, "OK" means OK
+
+; single file, NSISdl-style embedded progress bar with specific cancel button text
+ inetc::get /caption "2005 report" /canceltext "interrupt!" "http://ineum.narod.ru/spr_2005.htm" "$EXEDIR\spr5.htm" /end
+ Pop $1 # return value = exit code, "OK" means OK
+
+; banner with 2 text lines and disabled Cancel button
+ inetc::get /caption "2006 report" /banner "Banner mode with /nocancel option setten$\nSecond Line" /nocancel "http://ineum.narod.ru/spr_2006.htm" "$EXEDIR\spr6.htm" /end
+ Pop $2 # return value = exit code, "OK" means OK
+
+ MessageBox MB_OK "Download Status: $0, $1, $2"
+SectionEnd
+
+
+;--------------------------------
+;Installer Functions
+
+Function .onInit
+
+; plug-in auto-recognizes 'no parent dlg' in onInit and works accordingly
+; inetc::head /RESUME "Network error. Retry?" "http://ineum.narod.ru/spr_2003.htm" "$EXEDIR\spr3.txt"
+; Pop $4
+
+FunctionEnd
\ No newline at end of file
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Contrib/Inetc/Readme.htm b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Inetc/Readme.htm
new file mode 100644
index 00000000..d6261ea2
--- /dev/null
+++ b/ext/win-installer/NSISPortable/App/NSIS/Contrib/Inetc/Readme.htm
@@ -0,0 +1,140 @@
+
+Internet client plug-in for files download and upload. Based on the InetLoad plug-in.
+Network implementation uses MS WinInet API, supports http/https and ftp protocols.
+Plugin has better proxy support compare to NSISdl plug-in. Command line may include
+few URL/File pairs to be transfered. If server or proxy login/password are not setten in the script,
+displays IE-style authentication dialog (except silent mode). Plug-in supports 3
+"transfer in progress" display modes:
+
+
old NSISdl style - additional embedded progress bar and text on the INSTFILES page;
+
POPUP dialog mode with detailed info;
+
BANNER mode with simple popup window.
+
+Plug-in recognizes Installer's Silent mode and this case hides any output (this feature
+requires NSIS 2.03 or later). Program implements simple re-get functionality - host
+reconnect and download from current position after short pause. While program depends on IE settings,
+it changes current IE mode to online. NSISdl code fragment was used for progress bar displaying
+in the "old style" mode. For ftp use "host/path" for file location relative to user's home dir and
+"host//path" for absolute path.
+
+
Command line
+
+Plug-in DLL functions (entry points): get, post, head, put
+
+
This call returns "OK" string if successful, error description string if failed (see included InetLoad.cpp file for a full set of status strings). Usage and result processing samples are included to the package.
+
/PROXY -
+Overwrites current proxy settings, not required in most cases. IE settings will be used by default.
+
/USERNAME -
+Proxy username (http only).
+
/PASSWORD -
+Proxy password (http only). For server (http/ftp) authentication it is possible to use URL encoded name and password, for example http://username:password@nsis.sourceforge.net.
+
/NOPROXY -
+Disables proxy settings for this connection (if any)
+
/NOCANCEL -
+Prevents download from being interrupted by user (locks Esc, Alt-F4, Cancel handling, removes sysmenu)
+
/SILENT -
+Key hides plug-in' output (both popup dialog and embedded progress bar). Not required if 'SilentInstall silent' mode was defined in script (NSIS 2.03 or later).
+
/RESUME -
+On the permanent connection/transfer error instead of exit first displays message box with "resume download" question. Useful for dial-up connections and big files - allows user to restore connection and resume download. Default is "Your internet connection seems to have dropped out!\nPlease reconnect and click Retry to resume downloading...".
+
/CAPTION -
+Defines caption text for /BANNER mode, caption prefix (left of '-') for /POPUP mode and caption for RESUME MessageBox. Default is "InetLoad plug-in" if not set or "". 127 chars maximum.
+
/POPUP -
+This mode displays detailed download dialog instead of embedded progress bar. Also useful in .onInit function (i.e. not in Section). If HOST_ALIAS is not "", text will replace URL in the dialog - this allows to hide real URL (including password).
+
/BANNER -
+Displays simple popup dialog (MSI Banner mode) and sets dialog TEXT (up to 3 lines using $\n).
+
/CANCELTEXT -
+Text for the Cancel button in the NSISdl mode. Default is NSIS dialog Cancel button text (current lang).
+
/QUESTION -
+Text for the optional MessageBox if user tries to cancel download. If /QUESTION "" was used default
+"Are you sure that you want to stop download?" will be substituted.
+
Sets POST http mode and defines text string to be used in the POST (http only). Disables auto re-get. No char replaces used (%20 and others).
+If /FILE presents in command line, TEXT2POST is filename to be sent in POST request. Also 'Filename:' header will be added to HTTP headers.
+
+
head DLL Function
+
+The same as get, but requests http headers only. Writes raw headers to file.
+
+
+ Plug-ins
+ AdvSplash - splash with fade in/out
+ Banner - banner with custom text
+ BgImage - background image
+ Dialer - internet connection
+ Math - math operations
+ nsDialogs - custom wizard pages
+ nsExec - launch command line tools
+ NSISdl - download files
+ Splash - splash screen
+ StartMenu - Start Menu folder selection
+ System - Windows API calls
+ VPatch - update existing files
+
+
+
+
+
+
diff --git a/ext/win-installer/NSISPortable/App/NSIS/NSIS.exe b/ext/win-installer/NSISPortable/App/NSIS/NSIS.exe
new file mode 100644
index 00000000..ba4dcae7
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/NSIS.exe differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/NSIS.exe.manifest b/ext/win-installer/NSISPortable/App/NSIS/NSIS.exe.manifest
new file mode 100644
index 00000000..21999db0
--- /dev/null
+++ b/ext/win-installer/NSISPortable/App/NSIS/NSIS.exe.manifest
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/AdvSplash.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/AdvSplash.dll
new file mode 100644
index 00000000..9d40006f
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/AdvSplash.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/Banner.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/Banner.dll
new file mode 100644
index 00000000..7cbc3a1d
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/Banner.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/BgImage.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/BgImage.dll
new file mode 100644
index 00000000..d79334f9
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/BgImage.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/Dialer.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/Dialer.dll
new file mode 100644
index 00000000..4d163e1f
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/Dialer.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/EmbeddedLists.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/EmbeddedLists.dll
new file mode 100644
index 00000000..5a27af02
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/EmbeddedLists.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/EnumINI.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/EnumINI.dll
new file mode 100644
index 00000000..168cc505
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/EnumINI.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/FindProcDLL.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/FindProcDLL.dll
new file mode 100644
index 00000000..22c8398f
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/FindProcDLL.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/InstallOptions.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/InstallOptions.dll
new file mode 100644
index 00000000..b6de1b68
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/InstallOptions.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/KillProcDLL.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/KillProcDLL.dll
new file mode 100644
index 00000000..8119afa2
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/KillProcDLL.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/LangDLL.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/LangDLL.dll
new file mode 100644
index 00000000..35b0b461
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/LangDLL.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/Math.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/Math.dll
new file mode 100644
index 00000000..d5a6d4e5
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/Math.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/MoreInfo.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/MoreInfo.dll
new file mode 100644
index 00000000..274d9819
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/MoreInfo.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/NSISdl.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/NSISdl.dll
new file mode 100644
index 00000000..5747dc6b
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/NSISdl.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/RealProgress.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/RealProgress.dll
new file mode 100644
index 00000000..12292166
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/RealProgress.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/SelfDel.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/SelfDel.dll
new file mode 100644
index 00000000..3cb288c2
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/SelfDel.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/Splash.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/Splash.dll
new file mode 100644
index 00000000..bd1ec597
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/Splash.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/StartMenu.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/StartMenu.dll
new file mode 100644
index 00000000..0f69f3a9
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/StartMenu.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/System.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/System.dll
new file mode 100644
index 00000000..19a876ef
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/System.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/TypeLib.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/TypeLib.dll
new file mode 100644
index 00000000..b4440fdf
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/TypeLib.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/UserInfo.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/UserInfo.dll
new file mode 100644
index 00000000..586871cd
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/UserInfo.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/VPatch.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/VPatch.dll
new file mode 100644
index 00000000..af1b4e69
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/VPatch.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/dialogsEx.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/dialogsEx.dll
new file mode 100644
index 00000000..0a582159
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/dialogsEx.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/execDos.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/execDos.dll
new file mode 100644
index 00000000..0234253e
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/execDos.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/inetc.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/inetc.dll
new file mode 100644
index 00000000..6f09386c
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/inetc.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/md5dll.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/md5dll.dll
new file mode 100644
index 00000000..d265788b
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/md5dll.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/newadvsplash.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/newadvsplash.dll
new file mode 100644
index 00000000..5e58c391
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/newadvsplash.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/newtextreplace.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/newtextreplace.dll
new file mode 100644
index 00000000..206dc2c6
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/newtextreplace.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/nsDialogs.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/nsDialogs.dll
new file mode 100644
index 00000000..1f142a27
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/nsDialogs.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/nsExec.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/nsExec.dll
new file mode 100644
index 00000000..788bfe37
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/nsExec.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/registry.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/registry.dll
new file mode 100644
index 00000000..18059805
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/registry.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Plugins/w7tbp.dll b/ext/win-installer/NSISPortable/App/NSIS/Plugins/w7tbp.dll
new file mode 100644
index 00000000..0b71718c
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Plugins/w7tbp.dll differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Stubs/bzip2 b/ext/win-installer/NSISPortable/App/NSIS/Stubs/bzip2
new file mode 100644
index 00000000..0a63d055
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Stubs/bzip2 differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Stubs/bzip2_solid b/ext/win-installer/NSISPortable/App/NSIS/Stubs/bzip2_solid
new file mode 100644
index 00000000..313d679f
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Stubs/bzip2_solid differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Stubs/lzma b/ext/win-installer/NSISPortable/App/NSIS/Stubs/lzma
new file mode 100644
index 00000000..a4038f9f
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Stubs/lzma differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Stubs/lzma_solid b/ext/win-installer/NSISPortable/App/NSIS/Stubs/lzma_solid
new file mode 100644
index 00000000..f992aec8
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Stubs/lzma_solid differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Stubs/uninst b/ext/win-installer/NSISPortable/App/NSIS/Stubs/uninst
new file mode 100644
index 00000000..90d7d225
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Stubs/uninst differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Stubs/zlib b/ext/win-installer/NSISPortable/App/NSIS/Stubs/zlib
new file mode 100644
index 00000000..ad55bb1d
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Stubs/zlib differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/Stubs/zlib_solid b/ext/win-installer/NSISPortable/App/NSIS/Stubs/zlib_solid
new file mode 100644
index 00000000..5855cff8
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/Stubs/zlib_solid differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/makensis.exe b/ext/win-installer/NSISPortable/App/NSIS/makensis.exe
new file mode 100644
index 00000000..6845bb2c
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/makensis.exe differ
diff --git a/ext/win-installer/NSISPortable/App/NSIS/makensisw.exe b/ext/win-installer/NSISPortable/App/NSIS/makensisw.exe
new file mode 100644
index 00000000..db65e000
Binary files /dev/null and b/ext/win-installer/NSISPortable/App/NSIS/makensisw.exe differ
diff --git a/ext/win-installer/NSISPortable/Data/settings/NSISPortableSettings.ini b/ext/win-installer/NSISPortable/Data/settings/NSISPortableSettings.ini
new file mode 100644
index 00000000..48019ed5
--- /dev/null
+++ b/ext/win-installer/NSISPortable/Data/settings/NSISPortableSettings.ini
@@ -0,0 +1,5 @@
+[NSISPortableSettings]
+LastDrive=Z:
+LastDirectory=\home\anton\dev\ipscan\ext\win-installer\NSISPortable
+[PortableApps.comLauncherLastRunEnvironment]
+PAL:LastPortableAppsBaseDir=Z:\home\anton\dev\ipscan\ext
diff --git a/ext/win-installer/NSISPortable/Data/settings/Unicode_NSIS_Portable.reg b/ext/win-installer/NSISPortable/Data/settings/Unicode_NSIS_Portable.reg
new file mode 100644
index 00000000..bb039731
Binary files /dev/null and b/ext/win-installer/NSISPortable/Data/settings/Unicode_NSIS_Portable.reg differ
diff --git a/ext/win-installer/NSISPortable/Data/settings/nsisconf.nsh b/ext/win-installer/NSISPortable/Data/settings/nsisconf.nsh
new file mode 100644
index 00000000..ded5b9aa
Binary files /dev/null and b/ext/win-installer/NSISPortable/Data/settings/nsisconf.nsh differ
diff --git a/ext/win-installer/NSISPortable/NSISPortable.exe b/ext/win-installer/NSISPortable/NSISPortable.exe
new file mode 100644
index 00000000..ffb5854a
Binary files /dev/null and b/ext/win-installer/NSISPortable/NSISPortable.exe differ
diff --git a/ext/win-installer/NSISPortable/Other/Help/images/donation_button.png b/ext/win-installer/NSISPortable/Other/Help/images/donation_button.png
new file mode 100644
index 00000000..f19dea7a
Binary files /dev/null and b/ext/win-installer/NSISPortable/Other/Help/images/donation_button.png differ
diff --git a/ext/win-installer/NSISPortable/Other/Help/images/favicon.ico b/ext/win-installer/NSISPortable/Other/Help/images/favicon.ico
new file mode 100644
index 00000000..ed849b2d
Binary files /dev/null and b/ext/win-installer/NSISPortable/Other/Help/images/favicon.ico differ
diff --git a/ext/win-installer/NSISPortable/Other/Help/images/help_background_footer.png b/ext/win-installer/NSISPortable/Other/Help/images/help_background_footer.png
new file mode 100644
index 00000000..5ebdc028
Binary files /dev/null and b/ext/win-installer/NSISPortable/Other/Help/images/help_background_footer.png differ
diff --git a/ext/win-installer/NSISPortable/Other/Help/images/help_background_header.png b/ext/win-installer/NSISPortable/Other/Help/images/help_background_header.png
new file mode 100644
index 00000000..cf1ebf76
Binary files /dev/null and b/ext/win-installer/NSISPortable/Other/Help/images/help_background_header.png differ
diff --git a/ext/win-installer/NSISPortable/Other/Help/images/help_logo_top.png b/ext/win-installer/NSISPortable/Other/Help/images/help_logo_top.png
new file mode 100644
index 00000000..1a705050
Binary files /dev/null and b/ext/win-installer/NSISPortable/Other/Help/images/help_logo_top.png differ
diff --git a/ext/win-installer/NSISPortable/Other/Source/AppSource.txt b/ext/win-installer/NSISPortable/Other/Source/AppSource.txt
new file mode 100644
index 00000000..2ad91d84
--- /dev/null
+++ b/ext/win-installer/NSISPortable/Other/Source/AppSource.txt
@@ -0,0 +1,5 @@
+Unicode NSIS source code is available from the Unicode NSIS home page:
+http://code.google.com/p/unsis/downloads/list
+
+The launchers source code is available from PortableApps.com:
+http://portableapps.com/node/22364
\ No newline at end of file
diff --git a/ext/win-installer/NSISPortable/Other/Source/License.txt b/ext/win-installer/NSISPortable/Other/Source/License.txt
new file mode 100644
index 00000000..f119115a
--- /dev/null
+++ b/ext/win-installer/NSISPortable/Other/Source/License.txt
@@ -0,0 +1,344 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE,
+THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT
+PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED
+IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
+EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY
+AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
+NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR
+AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY
+OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM
+AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING
+ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
+ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
+(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY
+OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS
+BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C) 19yy
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19yy name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ , 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
\ No newline at end of file
diff --git a/ext/win-installer/NSISPortable/Other/Source/PortableApps.comInstallerCustom.nsh b/ext/win-installer/NSISPortable/Other/Source/PortableApps.comInstallerCustom.nsh
new file mode 100644
index 00000000..a1c5f39b
--- /dev/null
+++ b/ext/win-installer/NSISPortable/Other/Source/PortableApps.comInstallerCustom.nsh
@@ -0,0 +1,11 @@
+!macro CustomCodePreInstall
+ ${If} ${FileExists} "$INSTDIR\App\AppInfo\AppInfo.ini"
+ ReadINIStr $0 "$INSTDIR\App\AppInfo\appinfo.ini" "Version" "PackageVersion"
+ ${VersionCompare} "$0" "2.46.2.2" $1
+ ${If} $1 == "2" ;$0 is older than
+ Delete "$INSTDIR\Data\settings\nsisconf.nsh"
+ Delete "$INSTDIR\App\NSIS\nsisconf.nsh"
+ CopyFiles "$INSTDIR\App\DefaultData\settings\nsisconf.nsh" "$INSTDIR\Data\settings\"
+ ${EndIf}
+ ${EndIf}
+!macroend
\ No newline at end of file
diff --git a/ext/win-installer/NSISPortable/Other/Source/Readme.txt b/ext/win-installer/NSISPortable/Other/Source/Readme.txt
new file mode 100644
index 00000000..066c0ff2
--- /dev/null
+++ b/ext/win-installer/NSISPortable/Other/Source/Readme.txt
@@ -0,0 +1,50 @@
+The base application's source code is available from the portable app's
+homepage listed in the help.html file.
+
+Details of most other things are available there as well.
+
+LICENSE
+=======
+
+This package and its launcher are released under the GPL. The launcher is the
+PortableApps.com Launcher, available with full source and documentation from
+http://portableapps.com/development. We request that developers using the
+PortableApps.com Launcher please leave this directory intact and unchanged.
+
+USER CONFIGURATION
+==================
+
+(For this section, AppNamePortable is the executable base file name, normally
+the App ID of the package)
+
+Some configuration in the PortableApps.com Launcher can be overridden by the
+user in an INI file next to AppNamePortable.exe called AppNamePortable.ini. If
+you are happy with the default options, it is not necessary, though. There is
+an example INI included with this package to get you started. To use it, copy
+PortableApps.comLauncher.ini from this directory to AppNamePortable.ini next to
+AppNamePortable.exe. You will need to change the INI header (the
+"[AppNamePortable]" bit) to match the file name. The options in the INI file
+are as follows:
+
+[AppNamePortable]
+AdditionalParameters=
+DisableSplashScreen=false
+RunLocally=false
+
+The AdditionalParameters entry allows you to pass additional command-line
+parameters to the application.
+
+The DisableSplashScreen entry allows you to run the launcher without the splash
+screen showing up. The default is false.
+
+The RunLocally entry allows you to run the portable application from a read-
+only medium. This is known as Live mode. It copies what it needs to to a
+temporary directory on the host computer, runs the application, and then
+deletes it afterwards, leaving nothing behind. This can be useful for running
+the application from a CD or if you work on a computer that may have spyware or
+viruses and you'd like to keep your device set to read-only. As a consequence
+of this technique, any changes you make during the Live mode session aren't
+saved back to your device. The default is false.
+
+There may be other values also permitted in the user configuration file by the
+portable application; refer to help.html for any details of them.
diff --git a/ext/win-installer/NSISPortable/help.html b/ext/win-installer/NSISPortable/help.html
new file mode 100644
index 00000000..5e9f0225
--- /dev/null
+++ b/ext/win-installer/NSISPortable/help.html
@@ -0,0 +1,177 @@
+
+NSIS Portable Help
+
+
+
+
+
+
+
+
Unicode NSIS Portable Help
+
the portable Unicode NSIS compiler
+
Unicode NSIS is the Nullsoft Scriptable Installer System with unicode support packaged as a portable app. NSIS is the language used to write all of the launchers at PortableApps.com, so you can make portable apps from an iPod, USB flash drive, portable hard drive, CD or any other portable media.It leaves no personal information behind on the machine you run it on, so you can take your compiler wherever you go. Learn more about Unicode NSIS...
+
+ - Support PortableApps.com's Hosting and Development
+
+
+
+
+
\ No newline at end of file
diff --git a/ext/win-installer/Readme.txt b/ext/win-installer/Readme.txt
new file mode 100644
index 00000000..30df8429
--- /dev/null
+++ b/ext/win-installer/Readme.txt
@@ -0,0 +1,25 @@
+This installer creator is designed to make creating a fully functional
+dual-mode (32-bit and 64-bit) Windows installer as easy as possible.
+
+To use, follow these instructions:
+
+1. Place the 32-bit and 64-bit files that will be installed for the
+ application within the AppFiles32 and AppFiles64 directories,
+ respectively.
+
+ Note: Do note remove the icon.ico files from either directory as
+ these are used by the uninstaller
+
+2. Edit the InstallerLicense.txt file if you would like to change
+ anything about the license shown to the end user as they install.
+
+3. Edit the InstallerConfig.nsh file to set the name, version number,
+ and any other information appropriate for the new release of your
+ software. Note that you will need to set the version in multiple
+ places. Also be sure to update the install size manually.
+
+4. Once you are happy with your settings, run _build.bat. Your installer
+ will be created within this directory.
+
+
+Prepared on 2013-08-21 by John T. Haller of PortableApps.com
\ No newline at end of file
diff --git a/ext/win-installer/build.bat b/ext/win-installer/build.bat
new file mode 100644
index 00000000..9c30c472
--- /dev/null
+++ b/ext/win-installer/build.bat
@@ -0,0 +1,2 @@
+NSISPortable/NSISPortable.exe Installer\Installer.nsi
+
diff --git a/ext/win-installer/build.sh b/ext/win-installer/build.sh
new file mode 100755
index 00000000..3cdcaeb7
--- /dev/null
+++ b/ext/win-installer/build.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+cd `dirname $0`
+wine NSISPortable/NSISPortable.exe Installer/Installer.nsi