summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/WinSCP/WinSCP.bat1
-rw-r--r--tools/installer_ng_stable/Common/Files/DbChecker.bat1
-rw-r--r--tools/installer_ng_stable/Common/Files/Docs/license.txt351
-rw-r--r--tools/installer_ng_stable/Common/Files/Settings/autoexec_sounds.ini53
-rw-r--r--tools/installer_ng_stable/Common/Files/Settings/mirandaboot_default.ini118
-rw-r--r--tools/installer_ng_stable/Common/Files/Settings/mirandaboot_portable.ini118
-rw-r--r--tools/installer_ng_stable/Common/Installer/ISWin7.dllbin0 -> 38400 bytes
-rw-r--r--tools/installer_ng_stable/Common/Installer/ISWin7.iss85
-rw-r--r--tools/installer_ng_stable/Common/Installer/SetupMNGSmall.bmpbin0 -> 6966 bytes
-rw-r--r--tools/installer_ng_stable/Common/Installer/WizModernImage-IS.bmpbin0 -> 52574 bytes
-rw-r--r--tools/installer_ng_stable/Common/Installer/descctrl.dllbin0 -> 6656 bytes
-rw-r--r--tools/installer_ng_stable/Common/Installer/mng_installer.icobin0 -> 15086 bytes
-rw-r--r--tools/installer_ng_stable/MirandaNG.iss1040
-rw-r--r--tools/installer_ng_stable/Tools/7z.dllbin0 -> 941568 bytes
-rw-r--r--tools/installer_ng_stable/Tools/7z.exebin0 -> 168448 bytes
-rw-r--r--tools/installer_ng_stable/Tools/wget.exebin0 -> 401408 bytes
-rw-r--r--tools/installer_ng_stable/cleanup.bat7
-rw-r--r--tools/installer_ng_stable/createstructure.bat51
-rw-r--r--tools/installer_ng_stable/make.bat30
-rw-r--r--tools/installer_ng_stable/makeclean.bat34
20 files changed, 1889 insertions, 0 deletions
diff --git a/tools/WinSCP/WinSCP.bat b/tools/WinSCP/WinSCP.bat
new file mode 100644
index 0000000000..e5ff6c5219
--- /dev/null
+++ b/tools/WinSCP/WinSCP.bat
@@ -0,0 +1 @@
+start /b WinSCP.exe /ini="E:\Dropbox\Docs\watcher\WinSCP_dsk6500.ini" \ No newline at end of file
diff --git a/tools/installer_ng_stable/Common/Files/DbChecker.bat b/tools/installer_ng_stable/Common/Files/DbChecker.bat
new file mode 100644
index 0000000000..0a51917d11
--- /dev/null
+++ b/tools/installer_ng_stable/Common/Files/DbChecker.bat
@@ -0,0 +1 @@
+start /B Miranda64.exe /svc:dbchecker \ No newline at end of file
diff --git a/tools/installer_ng_stable/Common/Files/Docs/license.txt b/tools/installer_ng_stable/Common/Files/Docs/license.txt
new file mode 100644
index 0000000000..e6c86ba968
--- /dev/null
+++ b/tools/installer_ng_stable/Common/Files/Docs/license.txt
@@ -0,0 +1,351 @@
+ NOTE: This copyright does *not* cover dynamically linked plugin libraries
+ that link to Miranda - this is merely considered normal use of the
+ programme, and does *not* fall under the heading of "derived work".
+ Also note that the GPL below is copyrighted by the Free Software
+ Foundation, but the instance of code that it refers to (Miranda NG)
+ is copyrighted by me and others who actually wrote it.
+
+ Richard Hughes
+
+ -------------------------------------------------------------------------
+
+ 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.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) 19yy <name of author>
+
+ 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.
+
+ <signature of Ty Coon>, 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.
diff --git a/tools/installer_ng_stable/Common/Files/Settings/autoexec_sounds.ini b/tools/installer_ng_stable/Common/Files/Settings/autoexec_sounds.ini
new file mode 100644
index 0000000000..f12535d7c3
--- /dev/null
+++ b/tools/installer_ng_stable/Common/Files/Settings/autoexec_sounds.ini
@@ -0,0 +1,53 @@
+SETTINGS:
+
+[Skin]
+UseSound=b1
+
+[SkinSounds]
+AddedEvent=uSkins\Sounds\added_event.wav
+AuthRequest=uSkins\Sounds\authorisation_request.wav
+FileDone=uSkins\Sounds\complete.wav
+FileDenied=uSkins\Sounds\denied.wav
+FileFailed=uSkins\Sounds\error.wav
+RecvFile=uSkins\Sounds\incoming_file.wav
+ChatMessage=uSkins\Sounds\incoming_group_message.wav
+ChatSent=uSkins\Sounds\outgoing.wav
+ChatHighlight=uSkins\Sounds\message_highlight.wav
+ChatTopic=uSkins\Sounds\topic_changed.wav
+ChatNick=uSkins\Sounds\user_name.wav
+ChatQuit=uSkins\Sounds\user_disconnect.wav
+ChatKick=uSkins\Sounds\user_kicked.wav
+ChatPart=uSkins\Sounds\user_left.wav
+ChatAction=uSkins\Sounds\user_action.wav
+ChatNotice=uSkins\Sounds\user_notice.wav
+ChatMode=uSkins\Sounds\user_status.wav
+TNStart=uSkins\Sounds\typing_start.wav
+TNStop=uSkins\Sounds\typing_stop.wav
+RecvMsgActive=uSkins\Sounds\incoming_focused.wav
+AlertMsg=uSkins\Sounds\incoming_new.wav
+RecvMsgInactive=uSkins\Sounds\incoming_unfocused.wav
+SendMsg=uSkins\Sounds\outgoing.wav
+SendError=uSkins\Sounds\error.wav
+Nudge : Default=uSkins\Sounds\nudge.wav
+MetaContacts: Nudge=uSkins\Sounds\nudge.wav
+RecvUrl=uSkins\Sounds\incoming_url.wav
+weatheralert=uSkins\Sounds\weather_alert.wav
+weatherupdated=uSkins\Sounds\weather_update.wav
+NewsFeed=uSkins\Sounds\news_feed.wav
+Notification=uSkins\Sounds\notification.wav
+OtherEvent=uSkins\Sounds\other_event.wav
+ChatJoin=uSkins\Sounds\user_connect.wav
+MSN:Alerts=uSkins\Sounds\live_alert.wav
+MSN:Hotmail=uSkins\Sounds\live_mail.wav
+MSN_1:Alerts=uSkins\Sounds\live_alert.wav
+MSN_1:Hotmail=uSkins\Sounds\live_mail.wav
+UserOnline=uSkins\Sounds\online.wav
+UserFromOffline=uSkins\Sounds\online.wav
+WWIBirthdayNear=uSkins\Sounds\birthdaycoming.wav
+WWIBirthdayToday=uSkins\Sounds\birthday.wav
+Anniversary=uSkins\Sounds\reminder.wav
+Birthday=uSkins\Sounds\birthday.wav
+BirthdayComing=uSkins\Sounds\birthdaycoming.wav
+
+[TopToolBar]
+Enable/Disable sounds_Visible=b1 \ No newline at end of file
diff --git a/tools/installer_ng_stable/Common/Files/Settings/mirandaboot_default.ini b/tools/installer_ng_stable/Common/Files/Settings/mirandaboot_default.ini
new file mode 100644
index 0000000000..c723854eaf
--- /dev/null
+++ b/tools/installer_ng_stable/Common/Files/Settings/mirandaboot_default.ini
@@ -0,0 +1,118 @@
+;This file contains the information required to get Miranda up and running,
+;i.e. everything before a database is loaded
+
+;Settings relating to the location and loading of the database
+[Database]
+
+;ProfileDir
+;The directory to search for database files. If it's a relative path then
+;it's relative to the directory containing miranda32.exe.
+;If no directory specified Profles subdirectory in miranda executable
+;directory is assumed. You can use environment variables.
+;To comply with Windows security guidelines, it is recommended to keep
+;your profile in %APPDATA%\Miranda NG
+ProfileDir=%APPDATA%\Miranda NG
+
+;ShowProfileMgr
+;Selects the test to use to decide whether to show the profile manager on
+;startup
+;"never": Only show it if the profile to use can't be guessed by any means
+;"yes": Always show it
+;"smart": (default) Show it if the command line doesn't contain a db name
+; that exists or there is more or less than 1 db in the ProfileDir.
+ShowProfileMgr=smart
+
+;DefaultProfile
+;Name of the profile to use if there's a choice. If Miranda is run with a
+;command line parameter then that is used instead of this setting.
+;Default is empty
+;If ShowProfileMgr=never then this profile is run without question
+;Otherwise the profile manager is run as usual but initially this profile
+;is selected
+;
+;0.4.1+ (2005/05/16) Only: This string can contain environment variables, e.g. %USERNAME%
+;
+DefaultProfile=
+
+;AutoCreate
+;"yes": If DefaultProfile or the command line parameter gives a profile
+;name that doesn't exist then that profile is created.
+;"no": (default) The profile manager is shown in this case
+AutoCreate=no
+
+;AutoExec is a system for batch addition of multiple settings to the database.
+;See http://trac.miranda-ng.org/browser/trunk/docs/autoexec_sample.ini for documentation.
+[AutoExec]
+
+;Use
+;"yes": Install .ini files automatically
+;"no": Disable the autoexec system entirely
+;"prompt": (default) Prompt the user before each installation
+;This setting doesn't affect the decision of whether to display further prompts
+Use=yes
+
+;Glob
+;A global expression containing the files to watch for database settings
+;This will be checked just after database load and continuously all the
+;time Miranda is running
+;If this contains a relative path, it's relative to the directory containing
+;miranda32.exe
+;Default: autoexec_*.ini
+Glob=autoexec_*.ini
+
+;Safe
+;A space-separated list of database module names known to be safe to alter
+;Default: CLC Icons CLUI CList SkinSounds PluginUpdater
+Safe=CLC Icons CLUI CList Skin SkinSounds TopToolBar PluginUpdater
+
+;Unsafe
+;A space-separated list of database module names that could be alter to
+;malicious purposes (eg by faking a login server to steal passwords)
+;Default: AIM Facebook GG ICQ IRC JABBER MRA MSN SKYPE Tlen TWITTER XFire
+Unsafe=AIM Facebook GG ICQ IRC JABBER MRA MSN SKYPE Tlen TWITTER XFire
+
+;OverrideSecurityFilename
+;System admins may find it desirable to install settings without prompting
+;the user. In that case all prompts and security will be overridden if
+;the name of the ini matches the name given here.
+;If this is used, make sure it's suitably random and hence not likely
+;to be downloaded.
+;Default is empty (no override possible)
+OverrideSecurityFilename=autoexec_forced_*.ini
+
+;OnCreateFilename
+;Defines ini file that will be executed every time new profile is created.
+;Default is empty (no override possible)
+OnCreateFilename=
+
+;Warn
+;"all": Warn the user before each setting change is made
+;"notsafe": (default) Warn before each change to a setting in a group
+; that isn't listed in the 'Safe' setting
+;"onlyunsafe": Warn before each change to a setting in a group that is
+; listed in the 'Unsafe' setting
+;"none": Never warn the user
+Warn=notsafe
+
+;OnCompletion
+;What to do with the ini file once it's imported
+;"delete": Delete the file from the disk
+;"recycle": (default) Move the file to the recycle bin (same as delete
+; if you've disabled Windows' recycle bin)
+;"rename": Add the string in RenamePrefix to the beginning of the filename
+;"leave": Leave the file as-is. Note that this could cause it to be
+; imported multiple times until it's moved.
+;"ask": Show a dialog to ask the user
+OnCompletion=recycle
+
+;RenamePrefix
+;A string to add before the filename if the 'rename' option is used for
+;OnCompletion. This can include a path specifier to move the file, eg ..\
+;Default: done_
+RenamePrefix=imported_
+
+; decisions about how Miranda loads plugins
+[PluginLoader]
+
+; if enabled, will ask the user if they want to re-enable a disabled plugin
+AskAboutIgnoredPlugins=0 \ No newline at end of file
diff --git a/tools/installer_ng_stable/Common/Files/Settings/mirandaboot_portable.ini b/tools/installer_ng_stable/Common/Files/Settings/mirandaboot_portable.ini
new file mode 100644
index 0000000000..0bdb18e8f6
--- /dev/null
+++ b/tools/installer_ng_stable/Common/Files/Settings/mirandaboot_portable.ini
@@ -0,0 +1,118 @@
+;This file contains the information required to get Miranda up and running,
+;i.e. everything before a database is loaded
+
+;Settings relating to the location and loading of the database
+[Database]
+
+;ProfileDir
+;The directory to search for database files. If it's a relative path then
+;it's relative to the directory containing miranda32.exe.
+;If no directory specified Profles subdirectory in miranda executable
+;directory is assumed. You can use environment variables.
+;To comply with Windows security guidelines, it is recommended to keep
+;your profile in %APPDATA%\Miranda NG
+ProfileDir=
+
+;ShowProfileMgr
+;Selects the test to use to decide whether to show the profile manager on
+;startup
+;"never": Only show it if the profile to use can't be guessed by any means
+;"yes": Always show it
+;"smart": (default) Show it if the command line doesn't contain a db name
+; that exists or there is more or less than 1 db in the ProfileDir.
+ShowProfileMgr=smart
+
+;DefaultProfile
+;Name of the profile to use if there's a choice. If Miranda is run with a
+;command line parameter then that is used instead of this setting.
+;Default is empty
+;If ShowProfileMgr=never then this profile is run without question
+;Otherwise the profile manager is run as usual but initially this profile
+;is selected
+;
+;0.4.1+ (2005/05/16) Only: This string can contain environment variables, e.g. %USERNAME%
+;
+DefaultProfile=
+
+;AutoCreate
+;"yes": If DefaultProfile or the command line parameter gives a profile
+;name that doesn't exist then that profile is created.
+;"no": (default) The profile manager is shown in this case
+AutoCreate=no
+
+;AutoExec is a system for batch addition of multiple settings to the database.
+;See http://trac.miranda-ng.org/browser/trunk/docs/autoexec_sample.ini for documentation.
+[AutoExec]
+
+;Use
+;"yes": Install .ini files automatically
+;"no": Disable the autoexec system entirely
+;"prompt": (default) Prompt the user before each installation
+;This setting doesn't affect the decision of whether to display further prompts
+Use=yes
+
+;Glob
+;A global expression containing the files to watch for database settings
+;This will be checked just after database load and continuously all the
+;time Miranda is running
+;If this contains a relative path, it's relative to the directory containing
+;miranda32.exe
+;Default: autoexec_*.ini
+Glob=autoexec_*.ini
+
+;Safe
+;A space-separated list of database module names known to be safe to alter
+;Default: CLC Icons CLUI CList SkinSounds PluginUpdater
+Safe=CLC Icons CLUI CList Skin SkinSounds TopToolBar PluginUpdater
+
+;Unsafe
+;A space-separated list of database module names that could be alter to
+;malicious purposes (eg by faking a login server to steal passwords)
+;Default: AIM Facebook GG ICQ IRC JABBER MRA MSN SKYPE Tlen TWITTER XFire
+Unsafe=AIM Facebook GG ICQ IRC JABBER MRA MSN SKYPE Tlen TWITTER XFire
+
+;OverrideSecurityFilename
+;System admins may find it desirable to install settings without prompting
+;the user. In that case all prompts and security will be overridden if
+;the name of the ini matches the name given here.
+;If this is used, make sure it's suitably random and hence not likely
+;to be downloaded.
+;Default is empty (no override possible)
+OverrideSecurityFilename=autoexec_forced_*.ini
+
+;OnCreateFilename
+;Defines ini file that will be executed every time new profile is created.
+;Default is empty (no override possible)
+OnCreateFilename=
+
+;Warn
+;"all": Warn the user before each setting change is made
+;"notsafe": (default) Warn before each change to a setting in a group
+; that isn't listed in the 'Safe' setting
+;"onlyunsafe": Warn before each change to a setting in a group that is
+; listed in the 'Unsafe' setting
+;"none": Never warn the user
+Warn=notsafe
+
+;OnCompletion
+;What to do with the ini file once it's imported
+;"delete": Delete the file from the disk
+;"recycle": (default) Move the file to the recycle bin (same as delete
+; if you've disabled Windows' recycle bin)
+;"rename": Add the string in RenamePrefix to the beginning of the filename
+;"leave": Leave the file as-is. Note that this could cause it to be
+; imported multiple times until it's moved.
+;"ask": Show a dialog to ask the user
+OnCompletion=recycle
+
+;RenamePrefix
+;A string to add before the filename if the 'rename' option is used for
+;OnCompletion. This can include a path specifier to move the file, eg ..\
+;Default: done_
+RenamePrefix=imported_
+
+; decisions about how Miranda loads plugins
+[PluginLoader]
+
+; if enabled, will ask the user if they want to re-enable a disabled plugin
+AskAboutIgnoredPlugins=0 \ No newline at end of file
diff --git a/tools/installer_ng_stable/Common/Installer/ISWin7.dll b/tools/installer_ng_stable/Common/Installer/ISWin7.dll
new file mode 100644
index 0000000000..116a42a3fd
--- /dev/null
+++ b/tools/installer_ng_stable/Common/Installer/ISWin7.dll
Binary files differ
diff --git a/tools/installer_ng_stable/Common/Installer/ISWin7.iss b/tools/installer_ng_stable/Common/Installer/ISWin7.iss
new file mode 100644
index 0000000000..efa6803aad
--- /dev/null
+++ b/tools/installer_ng_stable/Common/Installer/ISWin7.iss
@@ -0,0 +1,85 @@
+; ISWin7 v0.4.2
+;
+; Windows Vista
+;
+; .
+; Windows 7, Windows 8
+;
+; Windows XP Windows Vista
+;
+;
+; : VoLT
+;
+; Windows 7
+;
+; s00p ( nnm-club.ru)
+; R.G. ReCoding ( rustorka.com)
+
+[Setup]
+AppName=My Program
+AppVerName=My Program version 1.5
+DefaultDirName={pf}\My Program
+DefaultGroupName=My Program
+UninstallDisplayIcon={app}\MyProg.exe
+Compression=lzma
+SolidCompression=yes
+OutputDir=.
+
+[Files]
+Source: ISWin7.dll; DestDir: {tmp}; Flags: dontcopy
+
+ // Handle WizardForm.Handle.
+ // Left, Top, Right Bottom ,
+ // -1
+[Code]
+function win7_init(Handle:HWND; Left, Top, Right, Bottom : Integer): Boolean;
+external 'win7_init@files:ISWin7.dll stdcall';
+
+procedure win7_free;
+external 'win7_free@files:ISWin7.dll stdcall';
+
+procedure InitializeWizard();
+begin
+ //
+ WizardForm.Bevel.Height := 1;
+ //
+ if win7_init(WizardForm.Handle, 0, 0, 0, 47) then
+ begin
+ WizardForm.Caption := '';
+ end
+ else
+ begin
+ WizardForm.Caption := '';
+ end;
+end;
+
+procedure DeinitializeSetup();
+begin
+ //
+ win7_free;
+end;
+
+procedure CurPageChanged(CurPageID: Integer);
+begin
+ WizardForm.ReadyPage.Hide;
+end;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tools/installer_ng_stable/Common/Installer/SetupMNGSmall.bmp b/tools/installer_ng_stable/Common/Installer/SetupMNGSmall.bmp
new file mode 100644
index 0000000000..c592e0455b
--- /dev/null
+++ b/tools/installer_ng_stable/Common/Installer/SetupMNGSmall.bmp
Binary files differ
diff --git a/tools/installer_ng_stable/Common/Installer/WizModernImage-IS.bmp b/tools/installer_ng_stable/Common/Installer/WizModernImage-IS.bmp
new file mode 100644
index 0000000000..cf844e093a
--- /dev/null
+++ b/tools/installer_ng_stable/Common/Installer/WizModernImage-IS.bmp
Binary files differ
diff --git a/tools/installer_ng_stable/Common/Installer/descctrl.dll b/tools/installer_ng_stable/Common/Installer/descctrl.dll
new file mode 100644
index 0000000000..f750a4ae7c
--- /dev/null
+++ b/tools/installer_ng_stable/Common/Installer/descctrl.dll
Binary files differ
diff --git a/tools/installer_ng_stable/Common/Installer/mng_installer.ico b/tools/installer_ng_stable/Common/Installer/mng_installer.ico
new file mode 100644
index 0000000000..e1ecba35ca
--- /dev/null
+++ b/tools/installer_ng_stable/Common/Installer/mng_installer.ico
Binary files differ
diff --git a/tools/installer_ng_stable/MirandaNG.iss b/tools/installer_ng_stable/MirandaNG.iss
new file mode 100644
index 0000000000..4e2a164812
--- /dev/null
+++ b/tools/installer_ng_stable/MirandaNG.iss
@@ -0,0 +1,1040 @@
+#ifdef ptx86
+ #define MirName "Miranda32.exe"
+ #define MirGroupName "Miranda NG"
+ #define MirPtf ""
+ #define ArcAllow ""
+ #define VcRedistName "vcredist_x86.exe"
+ #define Ptf "x86"
+ #define RedistRegChk "(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}')"
+ #define MirPfInstDir "ExpandConstant('{pf32}')"
+#else
+ #define MirName "Miranda64.exe"
+ #define MirGroupName "Miranda NG x64"
+ #define MirPtf "_x64"
+ #define ArcAllow "x64"
+ #define VcRedistName "vcredist_x64.exe"
+ #define Ptf "x64"
+ #define RedistRegChk "(HKLM64, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1D8E6291-B0D5-35EC-8441-6616F567A0F7}')"
+ #define MirPfInstDir "ExpandConstant('{pf64}')"
+#endif
+
+[Setup]
+AppVersion={#AppVer}
+AppName=Miranda NG
+AppVerName=Miranda NG {#SetupSetting("AppVersion")}
+AppPublisher=Miranda NG Team
+AppCopyRight=2013 © Miranda NG Team
+VersionInfoVersion={#SetupSetting("AppVersion")}
+MinVersion=5.0
+ArchitecturesAllowed={#ArcAllow}
+DefaultDirName={pf}\Miranda NG
+DefaultGroupName={#MirGroupName}
+LicenseFile=Files\Docs\license.txt
+UninstallFilesDir={app}\Uninstall
+UninstallDisplayIcon={#MirName}
+UninstallDisplayName=Miranda NG
+UninstallLogMode=overwrite
+Uninstallable=IsDefault()
+CreateUninstallRegKey=IsDefault()
+Compression=lzma2/max
+SolidCompression=yes
+PrivilegesRequired=poweruser
+OutputDir=..\
+OutputBaseFilename=miranda-ng-v{#SetupSetting("AppVersion")}{#MirPtf}
+WizardImageFile=Installer\WizModernImage-IS.bmp
+WizardSmallImageFile=Installer\SetupMNGSmall.bmp
+SetupIconFile=Installer\mng_installer.ico
+DirExistsWarning=no
+UsePreviousAppDir=no
+UsePreviousGroup=no
+UsePreviousSetupType=no
+UsePreviousTasks=no
+
+
+[Files]
+; Folders
+Source: "Files\Docs\*"; DestDir: "{app}\Docs"; Components: program; Flags: ignoreversion recursesubdirs createallsubdirs; AfterInstall: ShowPercent()
+Source: "Files\Skins\Sounds\*"; DestDir: "{app}\Skins\Sounds"; Components: sounds; Flags: ignoreversion recursesubdirs createallsubdirs; AfterInstall: ShowPercent()
+
+; Icons
+Source: "Files\Icons\Proto_AIM.dll"; DestDir: "{app}\Icons"; Components: protocols\aim; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Icons\Proto_Facebook.dll"; DestDir: "{app}\Icons"; Components: protocols\facebook; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Icons\Proto_GG.dll"; DestDir: "{app}\Icons"; Components: protocols\gg; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Icons\Proto_ICQ.dll"; DestDir: "{app}\Icons"; Components: protocols\icq; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Icons\Proto_IRC.dll"; DestDir: "{app}\Icons"; Components: protocols\irc; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Icons\Proto_Jabber.dll"; DestDir: "{app}\Icons"; Components: protocols\jabber; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Icons\Proto_MSN.dll"; DestDir: "{app}\Icons"; Components: protocols\msn; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Icons\Proto_Yahoo.dll"; DestDir: "{app}\Icons"; Components: protocols\yahoo; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Icons\xstatus_icq.dll"; DestDir: "{app}\Icons"; Components: protocols\icq; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Icons\xstatus_jabber.dll"; DestDir: "{app}\Icons"; Components: protocols\jabber; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Icons\tabsrmm_icons.dll"; DestDir: "{app}\Icons"; Components: messagewin\tabsrmm; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Icons\toolbar_icons.dll"; DestDir: "{app}\Icons"; Components: clicts\modern; Flags: ignoreversion; AfterInstall: ShowPercent()
+
+; Core and core modules
+Source: "Files\{#MirName}"; DestDir: "{app}"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\mir_core.dll"; DestDir: "{app}"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\zlib.dll"; DestDir: "{app}"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\DbChecker.bat"; DestDir: "{app}"; Components: program; Check: IsPortable(); Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\msvcp100.dll"; DestDir: "{app}"; Components: program; Check: IsPortable(); Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\msvcr100.dll"; DestDir: "{app}"; Components: program; Check: IsPortable(); Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Core\stdauth.dll"; DestDir: "{app}\Core"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Core\stdautoaway.dll"; DestDir: "{app}\Core"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Core\stdaway.dll"; DestDir: "{app}\Core"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Core\stdchat.dll"; DestDir: "{app}\Core"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Core\stdclist.dll"; DestDir: "{app}\Core"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Core\stdcrypt.dll"; DestDir: "{app}\Core"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Core\stdemail.dll"; DestDir: "{app}\Core"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Core\stdfile.dll"; DestDir: "{app}\Core"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Core\stdhelp.dll"; DestDir: "{app}\Core"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Core\stdidle.dll"; DestDir: "{app}\Core"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Core\stdmsg.dll"; DestDir: "{app}\Core"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Core\stduihist.dll"; DestDir: "{app}\Core"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Core\stdurl.dll"; DestDir: "{app}\Core"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Core\stduserinfo.dll"; DestDir: "{app}\Core"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Core\stduseronline.dll"; DestDir: "{app}\Core"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+
+; LangPacks
+Source: "Files\langpack_czech.txt"; DestDir: "{app}"; Components: lang\czech; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\langpack_german.txt"; DestDir: "{app}"; Components: lang\german; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\langpack_polish.txt"; DestDir: "{app}"; Components: lang\polish; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\langpack_russian.txt"; DestDir: "{app}"; Components: lang\russian; Flags: ignoreversion; AfterInstall: ShowPercent()
+
+;Plugins - not selectable
+Source: "Files\Plugins\AdvaImg.dll"; DestDir: "{app}\Plugins"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\AVS.dll"; DestDir: "{app}\Plugins"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\DbChecker.dll"; DestDir: "{app}\Plugins"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\Import.dll"; DestDir: "{app}\Plugins"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\PluginUpdater.dll"; DestDir: "{app}\Plugins"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\pu_stub.exe"; DestDir: "{app}"; Components: program; Flags: ignoreversion; AfterInstall: ShowPercent()
+
+; Protocols
+Source: "Files\Plugins\AIM.dll"; DestDir: "{app}\Plugins"; Components: protocols\aim; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\Facebook.dll"; DestDir: "{app}\Plugins"; Components: protocols\facebook; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\GG.dll"; DestDir: "{app}\Plugins"; Components: protocols\gg; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\ICQ.dll"; DestDir: "{app}\Plugins"; Components: protocols\icq; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\IRC.dll"; DestDir: "{app}\Plugins"; Components: protocols\irc; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\Jabber.dll"; DestDir: "{app}\Plugins"; Components: protocols\jabber; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\MSN.dll"; DestDir: "{app}\Plugins"; Components: protocols\msn; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\Yahoo.dll"; DestDir: "{app}\Plugins"; Components: protocols\yahoo; Flags: ignoreversion; AfterInstall: ShowPercent()
+
+; Clists
+Source: "Files\Plugins\Clist_blind.dll"; DestDir: "{app}\Plugins"; Components: clicts\blind; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\Clist_modern.dll"; DestDir: "{app}\Plugins"; Components: clicts\modern; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\Clist_nicer.dll"; DestDir: "{app}\Plugins"; Components: clicts\nicer; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\Cln_skinedit.dll"; DestDir: "{app}\Plugins"; Components: clicts\nicer; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\TopToolBar.dll"; DestDir: "{app}\Plugins"; Components: clicts\modern or clicts\nicer; Flags: ignoreversion; AfterInstall: ShowPercent()
+
+; Message sessions
+Source: "Files\Plugins\TabSRMM.dll"; DestDir: "{app}\Plugins"; Components: messagewin\tabsrmm; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\Scriver.dll"; DestDir: "{app}\Plugins"; Components: messagewin\scriver; Flags: ignoreversion; AfterInstall: ShowPercent()
+
+; DB drivers
+Source: "Files\Plugins\Dbx_mmap.dll"; DestDir: "{app}\Plugins"; Components: dbx\mmap; Flags: ignoreversion; AfterInstall: ShowPercent()
+Source: "Files\Plugins\Dbx_3x.dll"; DestDir: "{app}\Plugins"; Components: dbx\3x; Flags: ignoreversion; AfterInstall: ShowPercent()
+
+; Config files
+Source: "Files\Settings\mirandaboot_default.ini"; DestDir: "{app}"; Components: program; DestName: "mirandaboot.ini"; Check: IsDefault(); Flags: ignoreversion onlyifdoesntexist; AfterInstall: ShowPercent()
+Source: "Files\Settings\mirandaboot_portable.ini"; DestDir: "{app}"; Components: program; DestName: "mirandaboot.ini"; Check: IsPortable(); Flags: ignoreversion onlyifdoesntexist; AfterInstall: ShowPercent()
+Source: "Files\Settings\autoexec_sounds.ini"; DestDir: "{app}"; Components: sounds; Flags: ignoreversion; AfterInstall: ShowPercent()
+
+; Installer add-ons
+Source: "Installer\ISWin7.dll"; Flags: dontcopy
+Source: "Installer\descctrl.dll"; Flags: dontcopy
+Source: "Installer\{#VcRedistName}"; DestDir: {tmp}; Flags: deleteafterinstall; Check: RedistIsNotInstalled
+
+[Components]
+Name: "program"; Description: "{cm:Program}"; Types: extended regular minimal custom; Flags: fixed
+Name: "sounds"; Description: "{cm:Sounds}"; Types: extended custom
+Name: "protocols"; Description: "{cm:Protocols}"; Types: extended regular minimal
+Name: "protocols\aim"; Description: "{cm:Aim}"; Types: extended regular minimal
+Name: "protocols\facebook"; Description: "{cm:Facebook}"; Types: extended regular minimal
+Name: "protocols\gg"; Description: "{cm:Gg}"; Types: extended regular minimal
+Name: "protocols\icq"; Description: "{cm:Icq}"; Types: extended regular minimal
+Name: "protocols\irc"; Description: "{cm:Irc}"; Types: extended regular minimal
+Name: "protocols\jabber"; Description: "{cm:Jabber}"; Types: extended regular minimal
+Name: "protocols\msn"; Description: "{cm:Msn}"; Types: extended regular minimal
+Name: "protocols\yahoo"; Description: "{cm:Yahoo}"; Types: extended regular minimal
+Name: "clists"; Description: "{cm:Clists}"; Types: extended regular minimal custom; Flags: fixed
+Name: "clicts\stdclist"; Description: "{cm:StdClist}"; Types: minimal; Flags: exclusive
+Name: "clicts\blind"; Description: "{cm:BlindClist}"; Types: custom; Flags: exclusive
+Name: "clicts\nicer"; Description: "{cm:NicerClist}"; Types: custom; Flags: exclusive
+Name: "clicts\modern"; Description: "{cm:ModernClist}"; Types: extended regular; Flags: exclusive
+Name: "messagewin"; Description: "{cm:MessageWin}"; Types: extended regular minimal custom; Flags: fixed
+Name: "messagewin\stdmsg"; Description: "{cm:StdMsg}"; Types: minimal; Flags: exclusive
+Name: "messagewin\scriver"; Description: "{cm:Scriver}"; Types: custom; Flags: exclusive
+Name: "messagewin\tabsrmm"; Description: "{cm:Tabsrmm}"; Types: extended regular; Flags: exclusive
+Name: "dbx"; Description: "{cm:Dbx}"; Types: extended regular minimal custom ; Flags: fixed
+Name: "dbx\3x"; Description: "{cm:Dbx_3x}"; Types: custom; Flags: exclusive
+Name: "dbx\mmap"; Description: "{cm:Mmap}"; Types: extended regular minimal; Flags: exclusive
+Name: "lang"; Description: "{cm:Lang}"; Types: extended regular custom minimal; Flags: fixed
+Name: "lang\russian"; Description: "{cm:LangRussian}"; Flags: exclusive
+Name: "lang\czech"; Description: "{cm:LangCzech}"; Flags: exclusive
+Name: "lang\polish"; Description: "{cm:LangPolish}"; Flags: exclusive
+Name: "lang\german"; Description: "{cm:LangGerman}"; Flags: exclusive
+Name: "lang\english"; Description: "{cm:LangEnglish}"; Flags: exclusive
+
+[Types]
+Name: "regular"; Description: "{cm:TypeRegular}"
+Name: "minimal"; Description: "{cm:TypeMinimal}"
+Name: "extended"; Description: "{cm:TypeExtended}"
+Name: "custom"; Description: "{cm:TypeCustom}"; Flags: iscustom
+
+[Tasks]
+Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
+Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
+
+[Icons]
+Name: "{app}\DbChecker"; Filename: "{app}\{#MirName}"; Parameters: "/svc:dbchecker"; Check: IsDefault()
+Name: "{group}\{#MirGroupName}"; Filename: "{app}\{#MirName}"
+Name: "{group}\{cm:UninstallProgram,Miranda NG}"; Filename: {app}\Uninstall\Unins000.exe
+Name: "{userdesktop}\{#MirGroupName}"; Filename: "{app}\{#MirName}"; WorkingDir: {app}; Tasks: desktopicon
+Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MirGroupName}"; Filename: "{app}\{#MirName}"; WorkingDir: {app}; Tasks: quicklaunchicon
+
+[Run]
+Filename: "{tmp}\{#VcRedistName}"; Parameters: "/passive /Q:a /c:""msiexec /qb /i vcredist.msi"" "; Check: RedistIsNotInstalled(); StatusMsg: Installing Microsoft Visual C++ 2010 SP1 Redistributable Package ({#Ptf})
+Filename: "{app}\{#MirName}"; Description: "{cm:LaunchProgram,Miranda NG}"; Flags: nowait postinstall skipifsilent
+
+[UninstallDelete]
+Type: filesandordirs; Name: {app}
+
+[CustomMessages]
+; English
+en.InstTypeHeader=Installation Mode
+en.InstTypeText=Select installation type
+en.DefTypeInstRadio=Normal Installation (recommended)
+en.PortTypeInstRadio=Portable Installation
+en.DefTypeInstLabel=Profiles and user data files are stored in Application Data.%nUAC compatible (Windows Vista/7/8)
+en.PortTypeInstLabel=Profiles and user data files are stored in program folder.%nVersion for installation on removable storage devices (such as USB flash drive)%n(Do not install to Program Files with enabled UAC!!!)
+
+en.ProfileUninst=WARNING!!!%nYou are about to delete profile folder containing all your settings, contacts and message history!%nAre you sure you want to remove profile?%n(You may need it later)
+
+en.FolderExists1=Folder
+en.FolderExists2=already exists. This installer is for a first time install only! Please select another folder for a new installation.%nIf you wish to upgrade your current program, please use PluginUpdater ("Check for plugin updates" item in Miranda's main menu).
+
+en.PercentDone=% done
+
+en.TypeRegular=Regular installation
+en.TypeMinimal=Minimal installation
+en.TypeExtended=Extended installation
+en.TypeCustom=Custom installation
+
+en.Program=Core components
+en.Sounds=Sound files
+en.Protocols=Protocols
+en.Aim=AIM protocol
+en.Facebook=Facebook protocol
+en.GG=GG protocol
+en.Icq=ICQ protocol
+en.Irc=IRC protocol
+en.Jabber=Jabber protocol
+en.Msn=MSN protocol
+en.Yahoo=Yahoo protocol
+en.Clists=Contact lists
+en.StdClist=Classic contact list
+en.BlindClist=Contact list for blind folks
+en.NicerClist=Nicer contact list
+en.ModernClist=Modern contact list
+en.MessageWin=Message session
+en.StdMsg=SRMM and Chat plugins
+en.Scriver=Scriver message plugin
+en.Tabsrmm=TabSRMM message plugin
+en.Dbx=Database drivers
+en.Mmap=Dbx_mmap database driver (recommended)
+en.Dbx_3x=Dbx_3x database driver
+en.Lang=Localization files
+en.LangRussian=Russian langpack
+en.LangCzech=Czech langpack
+en.LangPolish=Polish langpack
+en.LangGerman=German langpack
+en.LangEnglish=English interface
+
+en.DescriptionTitle=Description
+en.InfoCaption=Hover over the component to get additional information
+en.CoreFilesDescription=The minimum set of files needed to run the program.
+en.SoundsDescription=Sound notification support for various events.
+en.ProtocolsDescription=Various protocols for instant messaging and more.
+en.ProtocolsAIMDescription=AOL Instant Messenger (AIM) protocol support for Miranda NG.
+en.ProtocolsFbDescription=Facebook protocol support for Miranda NG. More advanced than XMPP facebook chat, supporting posting statuses, authorizations, searching contacts, and much more.
+en.ProtocolsGGDescription=Gadu-Gadu protocol support for Miranda NG.
+en.ProtocolsICQDescription=ICQ (OSCAR) protocol support for Miranda NG.
+en.ProtocolsIRCDescription=Internet Relay Chat (IRC) protocol support for Miranda NG.
+en.ProtocolsJabberDescription=Open-standard communications protocol (XMPP) for message-oriented middleware based on XML.
+en.ProtocolsMSNDescription=Microsoft Network (MSN) protocol support for Miranda NG.
+en.ProtocolsYahooDescription=Yahoo protocol support for Miranda NG.
+en.ClistsDescription=Contact list plugins.
+en.StdClistDescription=Basic contact list core module.
+en.BlindClistDescription=This is a contact list for blind folks. It uses a list control to show all contacts, so screen readers can "read" the clist to the user.
+en.ModernClistDescription=Supports skins, displays contacts, event notifications, protocol status with advantage visual modifications. Supports MW modifications, enhanced metacontact cooperation.
+en.NicerClistDescription=Displays contacts, event notifications, protocol status.
+en.MessageWinDescription=Message session plugins.
+en.StdMsgDescription=Basic messaging and group chats core modules. No tabs support.
+en.ScriverDescription=Easy and lightweight messaging plugin.
+en.TabsrmmDescription=Advanced IM and group chat module for Miranda NG. Supports skins.
+en.DBXDescription=Various database drivers.
+en.MMAPDescription=Provides Miranda database support: global settings, contacts, history, settings per contact.(Recommended)
+en.DBX_3xDescription=Provides Miranda database support: global settings, contacts, history, settings per contact.
+en.LangDescription=Localization files for Miranda NG.
+en.LangRussianDescription=Translation of Miranda NG user interface to Russian.
+en.LangCzechDescription=Translation of Miranda NG user interface to Czech.
+en.LangPolishDescription=Translation of Miranda NG user interface to Polish.
+en.LangGermanDescription=Translation of Miranda NG user interface to German.
+en.LangEnglishDescription=Original Miranda NG user interface in English.
+
+; Russian
+ru.InstTypeHeader=Тип установки
+ru.InstTypeText=Выберите тип установки программы.
+ru.DefTypeInstRadio=Обычная установка (рекомендуется)
+ru.PortTypeInstRadio=Портативная установка
+ru.DefTypeInstLabel=Профиль и все необходимые файлы хранятся в папке пользователя%n(Application Data).%nСовместимо с UAC (Windows Vista/7/8)
+ru.PortTypeInstLabel=Профиль и файлы пользователя находятся в папке с программой.%nПодходит для установки на Flash-накопители, не оставляет следов в ОС.%n(Не устанавливать в Program Files при включенном UAC!!!)
+
+ru.ProfileUninst=ПРЕДУПРЕЖДЕНИЕ!!!%nВы можете удалить папку профиля, включающую в себя настройки, контакты и историю переписки!%nВы действительно хотите удалить файлы профиля?%n(Может понадобиться в дальнейшем)
+
+ru.FolderExists1=Выбранная папка
+ru.FolderExists2=включает в себя предыдущую установку! Установщик не предназначен для обновления. Пожалуйста, выберите иную папку для новой установки.%nДля обновления уже установленной программы воспользуйтесь плагином PluginUpdater (Пункт "Проверить обновления плагинов" в главном меню).
+
+ru.PercentDone=% выполнено
+
+ru.TypeRegular=Обычная установка
+ru.TypeMinimal=Минимальная установка
+ru.TypeExtended=Расширенная установка
+ru.TypeCustom=Выборочная установка
+
+ru.Program=Основные файлы
+ru.Sounds=Звуки
+ru.Protocols=Протоколы
+ru.Aim=Протокол AIM
+ru.Facebook=Протокол Facebook
+ru.GG=Протокол GG
+ru.Icq=Протокол ICQ
+ru.Irc=Протокол IRC
+ru.Jabber=Протокол Jabber
+ru.Msn=Протокол MSN
+ru.Yahoo=Протокол Yahoo
+ru.Clists=Списки контактов
+ru.StdClist=Список контактов Classic
+ru.BlindClist=Список контактов для слабовидящих
+ru.NicerClist=Список контактов Nicer
+ru.ModernClist=Список контактов Modern
+ru.MessageWin=Диалоговые окна
+ru.StdMsg=Плагины SRMM и Chat
+ru.Scriver=Диалоговое окно Scriver
+ru.Tabsrmm=Диалоговое окно TabSRMM
+ru.Dbx=Драйверы базы данных
+ru.Mmap=Драйвер Dbx_mmap (рекомендуется)
+ru.Dbx_3x=Драйвер Dbx_3x
+ru.Lang=Языковые пакеты
+ru.LangRussian=Русский
+ru.LangCzech=Чешский
+ru.LangPolish=Польский
+ru.LangGerman=Немецкий
+ru.LangEnglish=Английский
+
+ru.DescriptionTitle=Описание
+ru.InfoCaption=Наведите на компонент, чтобы получить дополнительную информацию
+ru.CoreFilesDescription=Минимальный набор файлов, необходимый для работы программы.
+ru.SoundsDescription=Звуковые эффекты, проигрываемые при различных событиях в программе.
+ru.ProtocolsDescription=Различные протоколы для обмена сообщениями и не только.
+ru.ProtocolsAIMDescription=Поддержка протокола AOL Instant Messenger (AIM) в Miranda NG.
+ru.ProtocolsFbDescription=Поддержка протокола Facebook в Miranda NG. Поддержка статусов, поиск контактов, авторизация и не только.
+ru.ProtocolsGGDescription=Поддержка протокола Gadu-Gadu в Miranda NG.
+ru.ProtocolsICQDescription=Поддержка протокола ICQ в Miranda NG.
+ru.ProtocolsIRCDescription=Поддержка протокола Internet Relay Chat (IRC) в Miranda NG.
+ru.ProtocolsJabberDescription=Поддержка протокола Jabber (XMPP) в Miranda NG. Протокол основан на открытых стандартах, базирующихся на XML.
+ru.ProtocolsMSNDescription=Поддержка протокола Microsoft Network (MSN) в Miranda NG.
+ru.ProtocolsYahooDescription=Поддержка протокола Yahoo в Miranda NG.
+ru.ClistsDescription=Плагины списков контактов.
+ru.StdClistDescription=Список контактов, являющийся модулем ядра, обеспечивает базовый функционал.
+ru.BlindClistDescription=Список контактов для слабовидящих. Вспомогательные программы для людей с проблемами зрения могут легко "считать" информацию пользователю.
+ru.ModernClistDescription=Показывает контакты, события, статусы протоколов с расширенными функциями оформления (скины). Мультиоконная модификация, расширенная поддержка метаконтактов.
+ru.NicerClistDescription=Показывает контакты, события, статусы протоколов.
+ru.MessageWinDescription=Плагины диалоговых окон.
+ru.StdMsgDescription=Модули ядра, обеспечивающие базовый функционал переписки и чатов. Нет поддержки табов.
+ru.ScriverDescription=Простой плагин диалоговых окон с поддержкой вкладок. Не поддерживает скины.
+ru.TabsrmmDescription=Продвинутый плагин диалоговых окон с поддержкой вкладок и скинов.
+ru.DBXDescription=Выбор драйвера базы данных Miranda NG.
+ru.MMAPDescription=Поддержка базы Miranda NG: глобальные настройки, контакты, история, настройки контактов и т. п. Отличается меньшим количеством обращений к базе данных в процессе работы.(Рекомендуется).
+ru.DBX_3xDescription=Поддержка базы Miranda NG: глобальные настройки, контакты, история, настройки контактов и т. п.
+ru.LangDescription=Файлы перевода для Miranda NG.
+ru.LangRussianDescription=Перевод интерфейса Miranda NG на русский язык.
+ru.LangCzechDescription=Перевод интерфейса Miranda NG на чешский язык.
+ru.LangPolishDescription=Перевод интерфейса Miranda NG на польский язык.
+ru.LangGermanDescription=Перевод интерфейса Miranda NG на немецкий язык.
+ru.LangEnglishDescription=Интерфейс Miranda NG по умолчанию — английский.
+
+; Czech
+cz.InstTypeHeader=Režim instalace
+cz.InstTypeText=Zvolte režim instalace
+cz.DefTypeInstRadio=Běžná instalace (doporučeno)
+cz.PortTypeInstRadio=Přenositelná verze
+cz.DefTypeInstLabel=Profily a uživatelská data jsou uložena ve složce Data aplikací.%nKompatibilní se zapnutým Řízením uživatelských účtů (UAC) (Windows Vista/7/8)
+cz.PortTypeInstLabel=Profily a uživatelská data jsou uložena ve složce spolu s programem.%nTento způsob je vhodný pro přenosné disky (jako USB flash disky)%n(Neinstalujte do Program Files, pokud máte zapnuté UAC!!!)
+
+cz.ProfileUninst=VAROVÁNÍ!!!%nChystáte se odstranit složku s profily, která obsahuje všechno vaše nastavení, kontakty a historii komunikace!%nOpravdu si přejete odstranit vaše data?%n(V budoucnu se vám ještě mohou hodit.)
+
+cz.FolderExists1=Složka
+cz.FolderExists2=již existuje. Tento instalátor slouží pouze pro prvotní instalaci! Zvolte prosím jinou složku, pokud si přejete provést novou instalaci.%nPokud si přejete aktualizovat vaši stávající verzi, použijte doplněk PluginUpdater (položka "Zkontrolovat aktualizace" v hlavní nabídce Mirandy).
+
+cz.PercentDone=% dokončeno
+
+cz.TypeRegular=Běžná instalace
+cz.TypeMinimal=Minimální instalace
+cz.TypeExtended=Rozšířená instalace
+cz.TypeCustom=Vlastní instalace
+
+cz.Program=Základní komponenty
+cz.Sounds=Zvukové soubory
+cz.protocols=Protokoly
+cz.Aim=AIM protokol
+cz.Facebook=Facebook protokol
+cz.GG=GG protokol
+cz.Icq=ICQ protokol
+cz.Irc=IRC protokol
+cz.Jabber=Jabber protokol
+cz.Msn=MSN protokol
+cz.Yahoo=Yahoo protokol
+cz.Clists=Seznamy kontaktů
+cz.StdClist=Clist_classic
+cz.BlindClist=Clist_blind (pro nevidomé)
+cz.NicerClist=Clist_nicer
+cz.ModernClist=Clist_modern
+cz.MessageWin=Komunikační okna
+cz.StdMsg=SRMM a Chat
+cz.Scriver=Scriver
+cz.Tabsrmm=TabSRMM
+cz.Dbx=Ovladače databáze
+cz.Mmap=Dbx_mmap (doporučeno)
+cz.Dbx_3x=Dbx_3x
+cz.Lang=Jazykové rozhraní
+cz.LangRussian=Ruština
+cz.LangCzech=Čeština
+cz.LangPolish=Polština
+cz.LangGerman=Němčina
+cz.LangEnglish=Angličtina
+
+cz.DescriptionTitle=Popis
+cz.InfoCaption=Najeďte myší na název komponenty pro zobrazení více informací
+cz.CoreFilesDescription=Balíček základních komponent vyžadovaných pro spuštění programu.
+cz.SoundsDescription=Podpora zvukových efektů pro různé události.
+cz.protocolsDescription=Různé protokoly pro rychlou komunikaci a další funkce.
+cz.protocolsAIMDescription=AOL Instant Messenger (AIM) protokol pro Mirandu NG.
+cz.protocolsFbDescription=Facebook protokol pro Mirandu NG. Pokročilejší verze než Facebook chat přes Jabber (XMPP). Podporuje sdílení stavů, neviditelnost, autorizace, vyhledávání kontaktů a mnohem více.
+cz.protocolsGGDescription=Gadu-Gadu protokol pro Mirandu NG.
+cz.protocolsICQDescription=ICQ (OSCAR) protokol pro Mirandu NG.
+cz.protocolsIRCDescription=Internet Relay Chat (IRC) protokol pro Mirandu NG.
+cz.protocolsJabberDescription=Otevřený komunikační protokol Jabber (XMPP) pro Mirandu NG.
+cz.protocolsMSNDescription=Microsoft Network (MSN) protokol pro Mirandu NG.
+cz.protocolsYahooDescription=Yahoo protokol pro Mirandu NG.
+cz.ClistsDescription=Doplňky pro seznamy kontaktů.
+cz.StdClistDescription=Základní integrovaný modul pro seznam kontaktů.
+cz.BlindClistDescription=Seznam kontaktů pro nevidomé uživatele. Pro zobrazení kontaktů využívá jednoduchý seznam, který může být jednoduše přečten.
+cz.ModernClistDescription=Podporuje skiny, zobrazuje kontakty, upozornění na události, stavy protokolů a umožňuje pokročilé úpravy vzhledu. Podporuje rámečky a rozšířenou práci s metakontakty.
+cz.NicerClistDescription=Zobrazuje kontakty, upozornění na události, stavy protokolů a podporuje rámečky.
+cz.MessageWinDescription=Doplňky pro komunikační okna.
+cz.StdMsgDescription=Základní integrovaný modul pro komunikaci a skupinové chaty. Bez podpory více záložek v jednom okně.
+cz.ScriverDescription=Jednoduchý a rychlý modul pro komunikaci a skupinové chaty. S podporou více záložek v jednom okně.
+cz.TabsrmmDescription=Pokročilý modul pro komunikaci a skupinové chaty. Podporuje skiny a více záložek v jednom okně.
+cz.DBXDescription=Různé ovladače databáze.
+cz.MMAPDescription=Podpora pro databáze Mirandy: globální nastavení, kontakty, historie, nastavení pro jednotlivé kontakty. (doporučeno)
+cz.DBX_3xDescription=Podpora pro databáze Mirandy: globální nastavení, kontakty, historie, nastavení pro jednotlivé kontakty.
+cz.LangDescription=Jazykové balíčky pro Mirandu NG.
+cz.LangRussianDescription=Překlad rozhraní Mirandy NG do ruštiny.
+cz.LangCzechDescription=Překlad rozhraní Mirandy NG do češtiny.
+cz.LangPolishDescription=Překlad rozhraní Mirandy NG do polštiny.
+cz.LangGermanDescription=Překlad rozhraní Mirandy NG do němčiny.
+cz.LangEnglishDescription=Výchozí rozhraní Mirandy NG v angličtině.
+
+; Deutsch
+de.InstTypeHeader=Installationsmodus
+de.InstTypeText=Wählen Sie die Art der Installation aus
+de.DefTypeInstRadio=Normale Installation (empfohlen)
+de.PortTypeInstRadio=Portable Installation
+de.DefTypeInstLabel=Profil- und Benutzerdaten werden in Anwendungsdaten gespeichert.%nUAC-kompatibel (Windows Vista/7/8).
+de.PortTypeInstLabel=Profil- und Benutzerdaten werden im Programmverzeichnis gespeichert.%nDies ist die Version zur Verwendung auf portablen Laufwerken (wie USB-Sticks).%n(Installieren Sie Miranda NG mit aktivierter UAC nicht im Programme-Ordner!)
+
+de.ProfileUninst=WARNUNG!%nSie sind dabei, Ihr Profil mitsamt all Ihren Einstellungen, Kontakten und Nachrichten zu löschen!%nSind Sie sich sicher, dass Sie das Profil löschen möchten?%n(Sie könnten es später brauchen.)
+
+de.FolderExists1=Verzeichnis
+de.FolderExists2=ist bereits vorhanden. Dieses Installationsprogramm ist nur für die erstmalige Installation geeignet! Bitte wählen Sie ein anderes Verzeichnis für eine Neuinstallation aus.%nFalls Sie Ihre aktuelle Installation aktualisieren möchten, verwenden Sie bitte den Plugin-Updater ("Auf Plugin-Aktualisierungen prüfen" im Miranda-Hauptmenü).
+
+de.PercentDone=% erledigt
+
+de.TypeRegular=Übliche Installation
+de.TypeMinimal=Minimale Installation
+de.TypeExtended=Erweiterte Installation
+de.TypeCustom=Benutzerdefinierte Installation
+
+de.Program=Kernkomponenten
+de.Sounds=Klangdateien
+de.Protocols=Protokolle
+de.Aim=AIM-Protokoll
+de.Facebook=Facebook-Protokoll
+de.GG=GG-Protokoll
+de.Icq=ICQ-Protokoll
+de.Irc=IRC-Protokoll
+de.Jabber=Jabber-Protokoll
+de.Msn=MSN-Protokoll
+de.Yahoo=Yahoo-Protokoll
+de.Clists=Kontaktlisten
+de.StdClist=Klassische Kontaktliste
+de.BlindClist=Kontaktliste für Blinde
+de.NicerClist=Nicer-Kontaktliste
+de.ModernClist=Moderne Kontaktliste
+de.MessageWin=Nachrichtensitzungen
+de.StdMsg=SRMM- und Chat-Plugins
+de.Scriver=Scriver-Nachrichtenplugin
+de.Tabsrmm=TabSRMM-Nachrichtenplugin
+de.Dbx=Datenbanktreiber
+de.Mmap=Dbx_mmap-Datenbanktreiber (empfohlen)
+de.Dbx_3x=Dbx_3x-Datenbanktreiber
+de.Lang=Sprachdateien
+de.LangRussian=Russische Sprachdatei
+de.LangCzech=Tschechische Sprachdatei
+de.LangPolish=Polnische Sprachdatei
+de.LangGerman=Deutsche Sprachdatei
+de.LangEnglish=Englischsprachige Oberfläche
+
+de.DescriptionTitle=Beschreibung
+de.InfoCaption=Fahren Sie mit der Maus über eine Komponente, um ihre Beschreibung anzeigen zu lassen.
+de.CoreFilesDescription=Die für den Betrieb von Miranda NG notwendigen Dateien.
+de.SoundsDescription=Klangbenachrichtigungen für eine Vielzahl an Ereignissen.
+de.ProtocolsDescription=Verschiedene Protokolle für Sofortnachrichten und mehr.
+de.ProtocolsAIMDescription=AOL-Instant-Messenger- (AIM-)Unterstützung für Miranda NG.
+de.ProtocolsFbDescription=Facebook-Protokollunterstützung für Miranda NG. Funktionsreicher als der XMPP-Facebook-Chat, unterstützt das Veröffentlichen neuer Statusnachrichren, Autorisierung, Kontaktsuche und vieles mehr.
+de.ProtocolsGGDescription=Gadu-Gadu-Protokollunterstützung für Miranda NG.
+de.ProtocolsICQDescription=ICQ- (OSCAR-)Protokollunterstützung für Miranda NG.
+de.ProtocolsIRCDescription=Internet-Relay-Chat- (IRC-)Protokollunterstützung für Miranda NG.
+de.ProtocolsJabberDescription=Unterstützung des Extensible Messaging and Presence Protocols (XMPP) für Miranda NG.
+de.ProtocolsMSNDescription=Microsoft-Network- (MSN)-Protokollunterstützung für Miranda NG.
+de.ProtocolsYahooDescription=Yahoo-Protokollunterstützung für Miranda NG.
+de.ClistsDescription=Kontaktlistenplugins.
+de.StdClistDescription=Grundlegendes Kontaktlisten-Kernmodul.
+de.BlindClistDescription=Dies ist eine Kontaktliste für Blinde. Sie benutzt eine Liste, um alle Kontakte anzuzeigen, so dass Bildschirmleser die Kontaktliste dem Benutzer "vorlesen" können.
+de.ModernClistDescription=Unterstützt Skins, zeigt Kontakte, Ereignisbenachrichtigungen und Protokollstatus mit visuellen Verbesserungen an. Unterstützt MW-Modifikationen, erweiterte Zusammenarbeit mit Metakontakten.
+de.NicerClistDescription=Zeigt Kontakte, Ereignisbenachrichtigungen und Protokollstatus an.
+de.MessageWinDescription=Nachrichtensitzungsplugins.
+de.StdMsgDescription=Grundlegende Nachrichten- und Gruppenchat-Kernmodule. Keine Tabunterstützung.
+de.ScriverDescription=Einfaches und leichtgewichtiges Nachrichtenplugin.
+de.TabsrmmDescription=Erweitertes Nachrichten- und Gruppenchatmodul für Miranda NG. Unterstützt Skins.
+de.DBXDescription=Verschiedene Datenbanktreiber.
+de.MMAPDescription=Stellt Miranda-Datenbankunterstützung bereit: globale Einstellungen, Kontakte, Verlauf, Per-Kontakt-Einstellungen. (Empfohlen.)
+de.DBX_3xDescription=Stellt Miranda-Datenbankunterstützung bereit: globale Einstellungen, Kontakte, Verlauf, Per-Kontakt-Einstellungen.
+de.LangDescription=Sprachdateien für Miranda NG.
+de.LangRussianDescription=Übersetzung der Miranda-NG-Benutzeroberfläche ins Russische.
+de.LangCzechDescription=Übersetzung der Miranda-NG-Benutzeroberfläche ins Tschechische.
+de.LangPolishDescription=Übersetzung der Miranda-NG-Benutzeroberfläche ins Polnische.
+de.LangGermanDescription=Übersetzung der Miranda-NG-Benutzeroberfläche ins Deutsche.
+de.LangEnglishDescription=Original-Miranda-NG-Benutzeroberfläche auf Englisch.
+
+; Polish
+pl.InstTypeHeader=Typ instalacji
+pl.InstTypeText=Wybierz typ instalacji
+pl.DefTypeInstRadio=Normalna (zalecana)
+pl.PortTypeInstRadio=Przenośna
+pl.DefTypeInstLabel=Profile i pliki danych użytkownika są przechowywane w folderze Dane aplikacji.%nZgodne z Kontrolą konta uzytkownika (Windows Vista/7/8)
+pl.PortTypeInstLabel=Profile i pliki danych użytkownika są przechowywane w folderze programu.%nWersja do instalowania na urządzeniach przenośnych (takich jak pamięć przenośna)%n(Nie instaluj w Program files/Pliki programów z włączoną Kontrolą konta użytkownika!!!)
+
+pl.ProfileUninst=UWAGA!!!%nZamierzasz usunąć folder z profilami, zawierający wszystkie Twoje ustawienia, kontakty i historię rozmów.%nCzy na pewno chcesz go usunąć?%n(Możesz go później potrzebować)
+
+pl.FolderExists1=Folder
+pl.FolderExists2=już istnieje. Ten instalator służy tylko do czystej instalacji! Wybierz inny folder aby zainstalować program.%nJeżeli chcesz zaktualizować Mirandę, użyj do tego celu wtyczki PluginUpdater (wybierając "Sprawdź aktualizacje" z menu głównego Mirandy).
+
+pl.PercentDone=% ukończono
+
+pl.TypeRegular=Typowa instalacja
+pl.TypeMinimal=Minimalna instalacja
+pl.TypeExtended=Rozszerzona instalacja
+pl.TypeCustom=Własna instalacja
+
+pl.Program=Pliki rdzenia
+pl.Sounds=Dźwięki
+pl.Protocols=Protokoły
+pl.Aim=AIM
+pl.Facebook=Facebook
+pl.GG=GG
+pl.Icq=ICQ
+pl.Irc=IRC
+pl.Jabber=Jabber
+pl.Msn=MSN
+pl.Yahoo=Yahoo
+pl.Clists=Lista kontaktów
+pl.StdClist=Lista klasyczna (Classic)
+pl.BlindClist=Dla niewidomych (Blind)
+pl.NicerClist=Lista Nicer
+pl.ModernClist=Lista Modern
+pl.MessageWin=Okno wiadomości
+pl.StdMsg=SRMM i Chat
+pl.Scriver=Scriver
+pl.Tabsrmm=TabSRMM
+pl.Dbx=Sterownik bazy danych
+pl.Mmap=Dbx_mmap (zalecany)
+pl.Dbx_3x=Dbx_3x
+pl.Lang=Język interfejsu
+pl.LangRussian=rosyjski
+pl.LangCzech=czeski
+pl.LangPolish=polski
+pl.LangGerman=niemiecki
+pl.LangEnglish=angielski
+
+pl.DescriptionTitle=Opis
+pl.InfoCaption=Najedź na element w celu dodatkowych informacji
+pl.CoreFilesDescription=Pliki konieczne do uruchomienia Mirandy.
+pl.SoundsDescription=Paczka predefiniowanych dźwięków dla różnych zdarzeń.
+pl.ProtocolsDescription=Wtyczki zapewniające wspracie dla różnych protokołów.
+pl.ProtocolsAIMDescription=Zapewnia obsługę protokołu AOL Instant Messenger (AIM).
+pl.ProtocolsFbDescription=Zapewnia obsługę protokołu Facebook. Dostarcza więcej niż czat facebooka przez XMPP. Wspiera ustawianie statusu, zatwierdzanie znajomości, wyszukiwanie kontaktów i wiele inncyh.
+pl.ProtocolsGGDescription=Zapewnia obsługę protokołu Gadu-Gadu.
+pl.ProtocolsICQDescription=Zapewnia obsługę protokołu ICQ (OSCAR).
+pl.ProtocolsIRCDescription=Zapewnia obsługę protokołu Internet Relay Chat (IRC).
+pl.ProtocolsJabberDescription=Zapewnia obsługę protokołu Jabber/XMPP.
+pl.ProtocolsMSNDescription=Zapewnia obsługę protokołu Microsoft Network (MSN).
+pl.ProtocolsYahooDescription=Zapewnia obsługę protokołu Yahoo.
+pl.ClistsDescription=Wtyczki listy kontaktów.
+pl.StdClistDescription=Podstawowy moduł listy kontaktów zawarty w rdzeniu.
+pl.BlindClistDescription=Jest to lista kontaktów dla ludzi niewidomych. Używa kontrolki listy, aby pokazać wszystkie kontakty, dzięki temu czytnik ekranu może "czytać" listę użtkownikowi.
+pl.ModernClistDescription=Wspiera skórki. Wyświetla kontakty, powiadomienia zdarzeń, statusy protokołów z dobrymi modyfikacjami wizualnymi. Wspierane zmiany z MW, rozszerzona współpraca z metakontaktami.
+pl.NicerClistDescription=Wyświetla kontakty, powiadomienia zdarzeń, statusy protokołów.
+pl.MessageWinDescription=Wtyczki okna wiadomości.
+pl.StdMsgDescription=Podstawowe moduły rdzenia do wiadomości i czatu. Brak wsparcia zakładek.
+pl.ScriverDescription=Łatwa i lekka wtyczka rozmów.
+pl.TabsrmmDescription=Zaawansowana wtyczka rozmów z modułem czatu. Wspiera skórki.
+pl.DBXDescription=Różna sterowniki baz danych (obsługują profile).
+pl.MMAPDescription=Zapewnia wsparcie profilu Mirandy: ustawień globalnych, kontaktów, historii, ustawień dla każdego kontaktu z osobna. (Zalecana)
+pl.DBX_3xDescription=Zapewnia wsparcie profilu Mirandy: ustawień globalnych, kontaktów, historii, ustawień dla każdego kontaktu z osobna.
+pl.LangDescription=Pakiety językowe dla Mirandy NG.
+pl.LangRussianDescription=Tłumaczy interfejs Mirandy na język rosyjski.
+pl.LangCzechDescription=Tłumaczy interfejs Mirandy na język czeski.
+pl.LangPolishDescription=Tłumaczy interfejs Mirandy na język polski.
+pl.LangGermanDescription=Tłumaczy interfejs Mirandy na język niemiecki.
+pl.LangEnglishDescription=Domyślny (angielski) język interfejsu.
+
+[Languages]
+Name: "en"; MessagesFile: "compiler:Default.isl"
+Name: "ru"; MessagesFile: "compiler:Languages\Russian.isl"
+Name: "cz"; MessagesFile: "compiler:Languages\Czech.isl"
+Name: "pl"; MessagesFile: "compiler:Languages\Polish.isl"
+Name: "de"; MessagesFile: "compiler:Languages\German.isl"
+
+[Code]
+// Global variables
+var
+ DefTypeInstLabel, PortTypeInstLabel, ProgressLabel: TLabel;
+ DefTypeInstRadio, PortTypeInstRadio: TRadioButton;
+ InstallTypePage: TWizardPage;
+ ComponentInfo: TNewStaticText;
+ ComponentList: TStringList;
+
+//--Functions called from external DLLs--
+
+// Aero effects
+procedure iswin7_add_glass(Handle:HWND; Left, Top, Right, Bottom : Integer; GDIPLoadMode: boolean);
+external 'iswin7_add_glass@files:iswin7.dll stdcall';
+procedure iswin7_add_button(Handle:HWND);
+external 'iswin7_add_button@files:iswin7.dll stdcall';
+procedure iswin7_free;
+external 'iswin7_free@files:iswin7.dll stdcall';
+
+// Components description
+function EnableDescription(ComponentsListHandle: HWND; DescLabelHandle: HWND; DescStrings: PAnsiChar): BOOL;
+external 'enabledesc@files:descctrl.dll stdcall';
+function DisableDescription: BOOL;
+external 'disabledesc@files:descctrl.dll stdcall';
+
+// Getting a list of all logical disk drives
+function GetLogicalDriveStrings(nLenDrives: LongInt; lpDrives: ansistring): integer;
+external 'GetLogicalDriveStringsA@kernel32.dll stdcall';
+
+// Determine disk drive type (removable, fixed, CD-ROM, RAM disk, or network)
+function GetDriveType(lpDisk: ansistring): integer;
+external 'GetDriveTypeA@kernel32.dll stdcall';
+
+// Drive type constants
+const
+ DRIVE_UNKNOWN = 0; // The drive type cannot be determined.
+ DRIVE_NO_ROOT_DIR = 1; // The root path is invalid. For example, no volume is mounted at the path.
+ DRIVE_REMOVABLE = 2; // The disk can be removed from the drive.
+ DRIVE_FIXED = 3; // The disk cannot be removed from the drive.
+ DRIVE_REMOTE = 4; // The drive is a remote (network) drive.
+ DRIVE_CDROM = 5; // The drive is a CD-ROM drive.
+ DRIVE_RAMDISK = 6; // The drive is a RAM disk.
+
+// Default installation check
+function IsDefault: Boolean;
+begin
+ if (DefTypeInstRadio.Checked) then
+ Result:= True;
+end;
+
+// Portable installation check
+function IsPortable: Boolean;
+begin
+ if (PortTypeInstRadio.Checked) then
+ Result:= True;
+end;
+
+// Visual C++ redistributable package installation check
+function RedistIsNotInstalled: Boolean;
+begin
+ Result := not RegKeyExists{#RedistRegChk};
+end;
+
+// Installation type page creation (default or portable)
+procedure CreateInstallTypePage();
+begin
+ InstallTypePage:=CreateCustomPage(wpLicense, ExpandConstant('{cm:InstTypeHeader}'), ExpandConstant('{cm:InstTypeText}'));
+ DefTypeInstRadio:=TRadioButton.Create(InstallTypePage);
+ with DefTypeInstRadio do
+ begin
+ Parent:=InstallTypePage.Surface;
+ Checked:=True;
+ Top:=35;
+ Left:=20;
+ Width:=210;
+ Caption:=ExpandConstant('{cm:DefTypeInstRadio}');
+ end;
+ DefTypeInstLabel:=TLabel.Create(InstallTypePage);
+ with DefTypeInstLabel do
+ begin
+ Parent:=InstallTypePage.Surface;
+ Top:=DefTypeInstRadio.Top+DefTypeInstRadio.Height+2;
+ Left:=DefTypeInstRadio.Left+15;
+ Caption:=ExpandConstant('{cm:DefTypeInstLabel}');
+ end;
+ PortTypeInstRadio:=TRadioButton.Create(InstallTypePage);
+ with PortTypeInstRadio do
+ begin
+ Parent:=InstallTypePage.Surface;
+ Checked:=False;
+ Top:=DefTypeInstLabel.Top+DefTypeInstLabel.Height+20;
+ Left:=20;
+ Width:=150;
+ Caption:=ExpandConstant('{cm:PortTypeInstRadio}');
+ end;
+ PortTypeInstLabel:=TLabel.Create(InstallTypePage);
+ with PortTypeInstLabel do
+ begin
+ Parent:=InstallTypePage.Surface;
+ Top:=PortTypeInstRadio.Top+PortTypeInstRadio.Height+2;
+ Left:=PortTypeInstRadio.Left+15;
+ Caption:=ExpandConstant('{cm:PortTypeInstLabel}');
+ end;
+end;
+
+// Components info-panel
+procedure CreateComponentsInfoPanel();
+var
+ InfoCaption: TNewStaticText;
+ InfoPanel: TPanel;
+begin
+ WizardForm.TypesCombo.Width := ScaleX(234);
+ WizardForm.ComponentsList.Width := ScaleX(234);
+
+ InfoPanel := TPanel.Create(WizardForm);
+ InfoPanel.Parent := WizardForm.SelectComponentsPage;
+ InfoPanel.Caption := '';
+ InfoPanel.Top := WizardForm.TypesCombo.Top;
+ InfoPanel.Left := ScaleX(250);
+ InfoPanel.Width := ScaleX(166);
+ InfoPanel.Height := WizardForm.ComponentsList.Height + WizardForm.TypesCombo.Height + 5;
+ InfoPanel.BevelInner := bvRaised;
+ InfoPanel.BevelOuter := bvLowered;
+ InfoCaption := TNewStaticText.Create(WizardForm);
+ InfoCaption.Parent := WizardForm.SelectComponentsPage;
+ InfoCaption.Caption := ExpandConstant('{cm:DescriptionTitle}');
+ InfoCaption.Left := ScaleX(258);
+ InfoCaption.Top := InfoPanel.Top - ScaleY(5);
+ //InfoCaption.Font.Color := clActiveCaption;
+
+ ComponentInfo := TNewStaticText.Create(WizardForm);
+ ComponentInfo.Parent := InfoPanel;
+ ComponentInfo.AutoSize := False;
+ ComponentInfo.Left := ScaleX(6);
+ ComponentInfo.Width := ScaleX(154);
+ ComponentInfo.Top := ScaleY(12);
+ ComponentInfo.Height := WizardForm.ComponentsList.Height - ScaleY(17);
+ ComponentInfo.Caption := ExpandConstant('{cm:InfoCaption}');
+ ComponentInfo.WordWrap := true;
+end;
+
+// Choosing installation folder
+procedure CheckFolder();
+var
+ drivesletters, drive: ansistring;
+ lenletters, disktype, posnull, n: integer;
+ FreeMB, TotalMB: Cardinal;
+begin
+ if (DefTypeInstRadio.Checked) then
+ WizardForm.DirEdit.Text := {#MirPfInstDir} + '\Miranda NG';
+
+ if (PortTypeInstRadio.Checked) then
+ begin
+ // Getting all the disk drives
+ drivesletters := StringOfChar(' ', 64);
+ lenletters := GetLogicalDriveStrings(63, drivesletters);
+ SetLength(drivesletters , lenletters);
+ drive := '';
+ n := 0;
+ // Checking all disks in cycle
+ while ((Length(drivesletters) > 0)) do
+ begin
+ posnull := Pos(#0, drivesletters);
+ if posnull > 0 then
+ begin
+ drive:= UpperCase(Copy(drivesletters, 1, posnull - 1));
+ // Getting disk drive type
+ disktype := GetDriveType(drive);
+ // If removable, checking available space and suggesting to install on it
+ if (disktype = DRIVE_REMOVABLE) then
+ begin
+ GetSpaceOnDisk(drive, True, FreeMB, TotalMB);
+ if (FreeMB > 26) then
+ begin
+ WizardForm.DirEdit.Text:=drive+'Miranda NG';
+ break;
+ end;
+ end;
+ Delete(drivesletters, 1, posnull);
+ posnull := Pos(#0, drivesletters);
+ end;
+ end;
+ if (drivesletters='') and (CompareStr(WizardForm.DirEdit.Text, drive+'Miranda NG') <> 0) then
+ WizardForm.DirEdit.Text := ExpandConstant('{sd}')+'\Miranda NG';
+ end;
+end;
+
+// Start Menu group
+procedure CheckGroup();
+begin
+ if DefTypeInstRadio.Checked then
+ WizardForm.NoIconsCheck.Checked := False;
+
+ if PortTypeInstRadio.Checked then
+ WizardForm.NoIconsCheck.Checked := True;
+end;
+
+// Checking if at least one protocol selected to be installed
+procedure ComponentOnClick(Sender: TObject);
+begin
+ if (Pos(ExpandConstant('{cm:Protocols}'), ' ' + WizardSelectedComponents(True)) = 0) then
+ begin
+ WizardForm.NextButton.Enabled := False;
+ end
+ else
+ WizardForm.NextButton.Enabled := True;
+end;
+
+// Checking if at least one protocol selected to be installed
+procedure ComponentOnKeyPress(Sender: TObject; var Key: Char);
+begin
+ if Key = ' ' then
+ if (Pos(ExpandConstant('{cm:Protocols}'), ' ' + WizardSelectedComponents(True)) = 0) then
+ begin
+ WizardForm.NextButton.Enabled := False;
+ end
+ else
+ WizardForm.NextButton.Enabled := True;
+end;
+
+// Calculation and output of installation process in percents to progress label
+procedure ShowPercent();
+begin
+ with WizardForm.ProgressGauge do
+ ProgressLabel.Caption:= IntToStr((Position-Min)/((Max - Min)/100)) + ExpandConstant('{cm:PercentDone}');
+end;
+
+// Initialization beginning
+procedure InitializeWizard();
+var
+ Version: TWindowsVersion;
+begin
+ // Shrinking bottom border (looks nicer this way)
+ WizardForm.Bevel.Height := 1;
+
+ GetWindowsVersionEx(Version);
+ if Version.NTPlatform and
+ (Version.Major <= 6) and
+ (Version.Minor < 2) then
+ begin
+ // Initializing library
+ iswin7_add_button(WizardForm.BackButton.Handle);
+ iswin7_add_button(WizardForm.NextButton.Handle);
+ iswin7_add_button(WizardForm.CancelButton.Handle);
+ //Do not touch 'True' parameter, it's for htuos ))
+ iswin7_add_glass(WizardForm.Handle, 0, 0, 0, 47, True);
+ end;
+
+ // Component list
+ ComponentList := TStringList.Create();
+ with ComponentList do
+ begin
+ ComponentList.Add('program');
+ ComponentList.Add('sounds');
+ ComponentList.Add('protocols');
+ ComponentList.Add('protocols\aim');
+ ComponentList.Add('protocols\facebook');
+ ComponentList.Add('protocols\gg');
+ ComponentList.Add('protocols\icq');
+ ComponentList.Add('protocols\irc');
+ ComponentList.Add('protocols\jabber');
+ ComponentList.Add('protocols\msn');
+ ComponentList.Add('protocols\yahoo');
+ ComponentList.Add('clists');
+ ComponentList.Add('clists\stdclist');
+ ComponentList.Add('clists\blind');
+ ComponentList.Add('ckists\nicer');
+ ComponentList.Add('ckists\modern');
+ ComponentList.Add('messagewin');
+ ComponentList.Add('messagewin\stdmsg');
+ ComponentList.Add('messagewin\scriver');
+ ComponentList.Add('messagewin\tabsrmm');
+ ComponentList.Add('dbx');
+ ComponentList.Add('dbx\3x');
+ ComponentList.Add('dbx\mmap');
+ ComponentList.Add('lang');
+ ComponentList.Add('lang\russian');
+ ComponentList.Add('lang\czech');
+ ComponentList.Add('lang\polish');
+ ComponentList.Add('lang\german');
+ ComponentList.Add('lang\english');
+ end;
+
+ WizardForm.NoIconsCheck.Visible:=True;
+ // Pages creation
+ CreateInstallTypePage(); //страница выбора типа установки (обычная или портативная)
+
+ // Adding component descriptions
+ CreateComponentsInfoPanel();
+
+ // 'At least 1 protocol selected' event handlers
+ WizardForm.ComponentsList.OnClick := @ComponentOnClick;
+ WizardForm.ComponentsList.OnKeyPress := @ComponentOnKeyPress;
+
+ // Creating label for displaying percents of installation progress
+ ProgressLabel := TLabel.Create(WizardForm);
+ with WizardForm.ProgressGauge do
+ begin
+ ProgressLabel.Top := Top + Height + ScaleY(8);
+ ProgressLabel.Left:= Left;
+ ProgressLabel.Caption := '0' + ExpandConstant('{cm:PercentDone}');
+ ProgressLabel.AutoSize := True;
+ ProgressLabel.Parent := WizardForm.InstallingPage;
+ end;
+end;
+
+// Skipping unused pages
+function ShouldSkipPage(PageID: Integer): Boolean;
+begin
+ if ((PageID = wpSelectProgramGroup) or (PageID = wpSelectTasks)) and (PortTypeInstRadio.Checked) then
+ Result := True;
+end;
+
+procedure CurPageChanged(CurPageID: Integer);
+begin
+ // Tasks creation preventing clutch
+ if CurPageID = wpSelectTasks then
+ WizardForm.TasksList.CheckItem(1, coCheck);
+ // Langpack selection
+ if CurPageID = wpSelectComponents then
+ begin
+ if ActiveLanguage = 'en' then
+ WizardForm.ComponentsList.Checked[28]:= True
+ else if ActiveLanguage = 'ru' then
+ WizardForm.ComponentsList.Checked[24]:= True
+ else if ActiveLanguage = 'cz' then
+ WizardForm.ComponentsList.Checked[25]:= True
+ else if ActiveLanguage = 'pl' then
+ WizardForm.ComponentsList.Checked[26]:= True
+ else if ActiveLanguage = 'de' then
+ WizardForm.ComponentsList.Checked[27]:= True;
+ end;
+end;
+
+// Next button click handler
+function NextButtonClick(CurPage: Integer): Boolean;
+begin
+ Result:=true;
+ if (CurPage=InstallTypePage.ID) then
+ CheckFolder();
+
+ if (CurPage = wpSelectDir) then
+ begin
+ EnableDescription(WizardForm.ComponentsList.Handle, ComponentInfo.Handle,
+ ExpandConstant('{cm:CoreFilesDescription}') + ';' +
+ ExpandConstant('{cm:SoundsDescription}') + ';' +
+ ExpandConstant('{cm:ProtocolsDescription}') + ';' +
+ ExpandConstant('{cm:ProtocolsAIMDescription}') + ';' +
+ ExpandConstant('{cm:ProtocolsFbDescription}') + ';' +
+ ExpandConstant('{cm:ProtocolsGGDescription}') + ';' +
+ ExpandConstant('{cm:ProtocolsICQDescription}') + ';' +
+ ExpandConstant('{cm:ProtocolsIRCDescription}') + ';' +
+ ExpandConstant('{cm:ProtocolsJabberDescription}') + ';' +
+ ExpandConstant('{cm:ProtocolsMSNDescription}') + ';' +
+ ExpandConstant('{cm:ProtocolsYahooDescription}') + ';' +
+ ExpandConstant('{cm:ClistsDescription}') + ';' +
+ ExpandConstant('{cm:StdClistDescription}') + ';' +
+ ExpandConstant('{cm:BlindClistDescription}') + ';' +
+ ExpandConstant('{cm:NicerClistDescription}') + ';' +
+ ExpandConstant('{cm:ModernClistDescription}') + ';' +
+ ExpandConstant('{cm:MessageWinDescription}') + ';' +
+ ExpandConstant('{cm:StdMsgDescription}') + ';' +
+ ExpandConstant('{cm:ScriverDescription}') + ';' +
+ ExpandConstant('{cm:TabsrmmDescription}') + ';' +
+ ExpandConstant('{cm:DBXDescription}') + ';' +
+ ExpandConstant('{cm:DBX_3xDescription}') + ';' +
+ ExpandConstant('{cm:MMAPDescription}') + ';' +
+ ExpandConstant('{cm:LangDescription}') + ';' +
+ ExpandConstant('{cm:LangRussianDescription}') + ';' +
+ ExpandConstant('{cm:LangCzechDescription}') + ';' +
+ ExpandConstant('{cm:LangPolishDescription}') + ';' +
+ ExpandConstant('{cm:LangGermanDescription}') + ';' +
+ ExpandConstant('{cm:LangEnglishDescription}') + ';' +
+ '');
+
+ if DirExists(WizardForm.DirEdit.Text) and (FileExists(WizardForm.DirEdit.Text+'\{#MirName}') or FileExists(WizardForm.DirEdit.Text+'\mir_core.dll')) then
+ begin
+ MsgBox(ExpandConstant('{cm:FolderExists1}')+#10+#10+WizardForm.DirEdit.Text+#10+#10+ExpandConstant('{cm:FolderExists2}'), mbError, MB_OK);
+ Result := False;
+ exit;
+ end;
+ end;
+
+ if CurPage = wpSelectComponents then
+ CheckGroup();
+
+ if CurPage=wpFinished then
+ begin
+ if DirExists(AddBackslash(ExpandConstant('{app}\Icons\Fp_ClientIcons'))) then
+ begin
+ DelTree(AddBackslash(ExpandConstant('{app}\Icons\Fp_ClientIcons')), True, True, True);
+ end;
+ end;
+end;
+
+// Uninstall
+procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
+begin
+ if CurUninstallStep=usPostUninstall then
+ begin
+ if DirExists(AddBackslash(ExpandConstant('{userappdata}\Miranda NG'))) then
+ if MsgBox(ExpandConstant('{cm:ProfileUninst}'), mbError, MB_YESNO or MB_DEFBUTTON2) = IDYES then
+ begin
+ DelTree(AddBackslash(ExpandConstant('{userappdata}\Miranda NG')), True, True, True);
+ end;
+ end;
+end;
+
+// Setup deinitialization
+procedure DeinitializeSetup();
+var
+ Version: TWindowsVersion;
+begin
+ GetWindowsVersionEx(Version);
+ if Version.NTPlatform and
+ (Version.Major <= 6) and
+ (Version.Minor < 2) then
+ begin
+ // Deinitializing library
+ iswin7_free;
+ end;
+ DisableDescription();
+end;
diff --git a/tools/installer_ng_stable/Tools/7z.dll b/tools/installer_ng_stable/Tools/7z.dll
new file mode 100644
index 0000000000..5152efb7b2
--- /dev/null
+++ b/tools/installer_ng_stable/Tools/7z.dll
Binary files differ
diff --git a/tools/installer_ng_stable/Tools/7z.exe b/tools/installer_ng_stable/Tools/7z.exe
new file mode 100644
index 0000000000..19fb44541b
--- /dev/null
+++ b/tools/installer_ng_stable/Tools/7z.exe
Binary files differ
diff --git a/tools/installer_ng_stable/Tools/wget.exe b/tools/installer_ng_stable/Tools/wget.exe
new file mode 100644
index 0000000000..f2a11c17dd
--- /dev/null
+++ b/tools/installer_ng_stable/Tools/wget.exe
Binary files differ
diff --git a/tools/installer_ng_stable/cleanup.bat b/tools/installer_ng_stable/cleanup.bat
new file mode 100644
index 0000000000..e5017d1cb3
--- /dev/null
+++ b/tools/installer_ng_stable/cleanup.bat
@@ -0,0 +1,7 @@
+@echo off
+rem Cleanup
+if exist tmp rd /S /Q tmp
+if exist InnoNG_32 rd /S /Q InnoNG_32
+if exist InnoNG_64 rd /S /Q InnoNG_64
+if exist Tools\InnoSetup5 rd /S /Q Tools\InnoSetup5
+rem end \ No newline at end of file
diff --git a/tools/installer_ng_stable/createstructure.bat b/tools/installer_ng_stable/createstructure.bat
new file mode 100644
index 0000000000..5a012c0912
--- /dev/null
+++ b/tools/installer_ng_stable/createstructure.bat
@@ -0,0 +1,51 @@
+@echo off
+rem Get version
+if not exist tmp mkdir tmp
+if exist tmp\build.no goto mkver
+Tools\wget.exe -O tmp\build.no http://svn.miranda-ng.org/main/trunk/build/build.no
+:mkver
+pushd tmp
+for /F "tokens=1,2 delims= " %%i in (build.no) do set ver1=%%i.%%j
+for /F "tokens=3 delims= " %%k in (build.no) do (set /a "ver2=%%k-1")
+set Mirver=%ver1%.%ver2%
+del /F /Q build.no
+popd
+rem end
+
+rem Create directories and copy script
+mkdir InnoNG_32
+mkdir InnoNG_64
+copy /V /Y MirandaNG.iss InnoNG_32\
+copy /V /Y MirandaNG.iss InnoNG_64\
+xcopy Common\* InnoNG_32 /I /S /V /Y
+xcopy Common\* InnoNG_64 /I /S /V /Y
+rem end
+
+rem Download
+Tools\wget.exe -O tmp\miranda-ng-v%MirVer%.7z http://miranda-ng.org/distr/stable/miranda-ng-v%MirVer%.7z
+Tools\wget.exe -O tmp\miranda-ng-v%MirVer%_x64.7z http://miranda-ng.org/distr/stable/miranda-ng-v%MirVer%_x64.7z
+Tools\wget.exe -O tmp\MNG_Sounds.7z http://miranda-ng.org/distr/addons/Sounds/MNG_Sounds.7z
+Tools\wget.exe -O tmp\clist_blind_x32.zip http://miranda-ng.org/distr/stable/x32/Plugins/clist_blind.zip
+Tools\wget.exe -O tmp\clist_blind_x64.zip http://miranda-ng.org/distr/stable/x64/Plugins/clist_blind.zip
+Tools\wget.exe -O tmp\scriver_x32.zip http://miranda-ng.org/distr/stable/x32/Plugins/scriver.zip
+Tools\wget.exe -O tmp\scriver_x64.zip http://miranda-ng.org/distr/stable/x64/Plugins/scriver.zip
+Tools\wget.exe -O tmp\langpack_czech.zip http://miranda-ng.org/distr/stable/x32/langpack_czech.zip
+Tools\wget.exe -O tmp\langpack_german.zip http://miranda-ng.org/distr/stable/x32/langpack_german.zip
+Tools\wget.exe -O tmp\langpack_polish.zip http://miranda-ng.org/distr/stable/x32/langpack_polish.zip
+Tools\wget.exe -O tmp\langpack_russian.zip http://miranda-ng.org/distr/stable/x32/langpack_russian.zip
+Tools\wget.exe -O InnoNG_32\Installer\vcredist_x86.exe http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe
+Tools\wget.exe -O InnoNG_64\Installer\vcredist_x64.exe http://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe
+rem end
+
+rem Extract
+..\7-zip\7z.exe x tmp\miranda-ng-v%MirVer%.7z -y -oInnoNG_32\Files
+..\7-zip\7z.exe x tmp\clist_blind_x32.zip -y -oInnoNG_32\Files
+..\7-zip\7z.exe x tmp\scriver_x32.zip -y -oInnoNG_32\Files
+..\7-zip\7z.exe x tmp\miranda-ng-v%MirVer%_x64.7z -y -oInnoNG_64\Files
+..\7-zip\7z.exe x tmp\clist_blind_x64.zip -y -oInnoNG_64\Files
+..\7-zip\7z.exe x tmp\scriver_x64.zip -y -oInnoNG_64\Files
+..\7-zip\7z.exe x tmp\MNG_Sounds.7z -y -oInnoNG_32\Files
+..\7-zip\7z.exe x tmp\MNG_Sounds.7z -y -oInnoNG_64\Files
+..\7-zip\7z.exe x tmp\lang*.zip -y -oInnoNG_32\Files
+..\7-zip\7z.exe x tmp\lang*.zip -y -oInnoNG_64\Files
+rem end \ No newline at end of file
diff --git a/tools/installer_ng_stable/make.bat b/tools/installer_ng_stable/make.bat
new file mode 100644
index 0000000000..ff30bef414
--- /dev/null
+++ b/tools/installer_ng_stable/make.bat
@@ -0,0 +1,30 @@
+@echo off
+rem Get version
+if not exist tmp mkdir tmp
+Tools\wget.exe -O tmp\build.no http://svn.miranda-ng.org/main/trunk/build/build.no
+pushd tmp
+for /F "tokens=1,2 delims= " %%i in (build.no) do set ver1=%%i.%%j
+for /F "tokens=3 delims= " %%k in (build.no) do (set /a "ver2=%%k-1")
+set Mirver=%ver1%.%ver2%
+popd
+rem end
+
+rem Download and extract compiler
+Tools\wget.exe -O tmp\InnoSetup5.7z http://miranda-ng.org/distr/installer/InnoSetup5.7z
+..\7-zip\7z.exe x tmp\InnoSetup5.7z -y -oTools
+rem end
+
+rem Set compiler variables
+set Compile32=Tools\InnoSetup5\ISCC.exe /Dptx86 /DAppVer=%MirVer% "InnoNG_32\MirandaNG.iss"
+set Compile64=Tools\InnoSetup5\ISCC.exe /DAppVer=%MirVer% "InnoNG_64\MirandaNG.iss"
+rem end
+
+rem Get archives if needed
+if not exist InnoNG_32 call createstructure.bat
+if not exist InnoNG_64 call createstructure.bat
+rem end
+
+rem Make
+%Compile32%
+%Compile64%
+rem end \ No newline at end of file
diff --git a/tools/installer_ng_stable/makeclean.bat b/tools/installer_ng_stable/makeclean.bat
new file mode 100644
index 0000000000..3415ecd02b
--- /dev/null
+++ b/tools/installer_ng_stable/makeclean.bat
@@ -0,0 +1,34 @@
+@echo off
+rem Get version
+if not exist tmp mkdir tmp
+Tools\wget.exe -O tmp\build.no http://svn.miranda-ng.org/main/trunk/build/build.no
+pushd tmp
+for /F "tokens=1,2 delims= " %%i in (build.no) do set ver1=%%i.%%j
+for /F "tokens=3 delims= " %%k in (build.no) do (set /a "ver2=%%k-1")
+set Mirver=%ver1%.%ver2%
+popd
+rem end
+
+rem Download and extract compiler
+Tools\wget.exe -O tmp\InnoSetup5.7z http://miranda-ng.org/distr/installer/InnoSetup5.7z
+..\7-zip\7z.exe x tmp\InnoSetup5.7z -y -oTools
+rem end
+
+rem Set compiler variables
+set Compile32=Tools\InnoSetup5\ISCC.exe /Dptx86 /DAppVer=%MirVer% "InnoNG_32\MirandaNG.iss"
+set Compile64=Tools\InnoSetup5\ISCC.exe /DAppVer=%MirVer% "InnoNG_64\MirandaNG.iss"
+rem end
+
+rem Get archives if needed
+if not exist InnoNG_32 call createstructure.bat
+if not exist InnoNG_64 call createstructure.bat
+rem end
+
+rem Make
+"%ProgramFiles%\%Compile32%
+"%ProgramFiles%\%Compile64%
+rem end
+
+rem Clean
+call cleanup.bat
+rem end \ No newline at end of file