From f3f0c0da090e2a644e3b507c057ce75acd900265 Mon Sep 17 00:00:00 2001 From: kichik Date: Wed, 14 Nov 2007 20:10:31 +0000 Subject: [PATCH] LF -> CRLF git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5371 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/InstallOptions/test.ini | 150 +++++++-------- Contrib/InstallOptions/testimgs.ini | 130 ++++++------- Contrib/InstallOptions/testlink.ini | 88 ++++----- Contrib/InstallOptions/testnotify.ini | 210 ++++++++++----------- Contrib/Math/mathtest.ini | 202 ++++++++++---------- Examples/FileFunc.ini | 182 +++++++++--------- Examples/Modern UI/ioA.ini | 36 ++-- Examples/Modern UI/ioB.ini | 18 +- Examples/Modern UI/ioC.ini | 36 ++-- Examples/TextFunc.ini | 260 +++++++++++++------------- Examples/WordFunc.ini | 214 ++++++++++----------- Examples/makensis.ini | 40 ++-- 12 files changed, 783 insertions(+), 783 deletions(-) diff --git a/Contrib/InstallOptions/test.ini b/Contrib/InstallOptions/test.ini index 7b94875f..b51497c8 100644 --- a/Contrib/InstallOptions/test.ini +++ b/Contrib/InstallOptions/test.ini @@ -1,76 +1,76 @@ -[Settings] -NumFields=8 - -[Field 1] -Type=GroupBox -Left=0 -Right=-1 -Top=0 -Bottom=-5 -Text=" This is a group box... " - -[Field 2] -Type=checkbox -Text=Install support for X -Left=10 -Right=-10 -Top=17 -Bottom=25 -State=0 -Flags=GROUP - -[Field 3] -Type=checkbox -Text=Install support for Y -Left=10 -Right=-10 -Top=30 -Bottom=38 -State=1 -Flags=NOTABSTOP - -[Field 4] -Type=checkbox -Text=Install support for Z -Left=10 -Right=-10 -Top=43 -Bottom=51 -State=0 -Flags=NOTABSTOP - -[Field 5] -Type=FileRequest -State=C:\poop.poop -Left=10 -Right=-10 -Top=56 -Bottom=68 -Filter=Poop Files|*.poop|All files|*.* -Flags=GROUP|FILE_MUST_EXIST|FILE_EXPLORER|FILE_HIDEREADONLY - -[Field 6] -Type=DirRequest -Left=10 -Right=-10 -Top=73 -Bottom=85 -Text=Select a directory... -State=C:\Program Files\NSIS - -[Field 7] -Type=Label -Left=10 -Right=-10 -Top=90 -Bottom=98 -Text=This is a label... - -[Field 8] -Type=Text -Left=10 -Right=-10 -Top=98 -Bottom=120 -State="Multiline\r\nedit..." +[Settings] +NumFields=8 + +[Field 1] +Type=GroupBox +Left=0 +Right=-1 +Top=0 +Bottom=-5 +Text=" This is a group box... " + +[Field 2] +Type=checkbox +Text=Install support for X +Left=10 +Right=-10 +Top=17 +Bottom=25 +State=0 +Flags=GROUP + +[Field 3] +Type=checkbox +Text=Install support for Y +Left=10 +Right=-10 +Top=30 +Bottom=38 +State=1 +Flags=NOTABSTOP + +[Field 4] +Type=checkbox +Text=Install support for Z +Left=10 +Right=-10 +Top=43 +Bottom=51 +State=0 +Flags=NOTABSTOP + +[Field 5] +Type=FileRequest +State=C:\poop.poop +Left=10 +Right=-10 +Top=56 +Bottom=68 +Filter=Poop Files|*.poop|All files|*.* +Flags=GROUP|FILE_MUST_EXIST|FILE_EXPLORER|FILE_HIDEREADONLY + +[Field 6] +Type=DirRequest +Left=10 +Right=-10 +Top=73 +Bottom=85 +Text=Select a directory... +State=C:\Program Files\NSIS + +[Field 7] +Type=Label +Left=10 +Right=-10 +Top=90 +Bottom=98 +Text=This is a label... + +[Field 8] +Type=Text +Left=10 +Right=-10 +Top=98 +Bottom=120 +State="Multiline\r\nedit..." Flags=MULTILINE|VSCROLL|WANTRETURN \ No newline at end of file diff --git a/Contrib/InstallOptions/testimgs.ini b/Contrib/InstallOptions/testimgs.ini index 381a9861..49c499b6 100644 --- a/Contrib/InstallOptions/testimgs.ini +++ b/Contrib/InstallOptions/testimgs.ini @@ -1,65 +1,65 @@ -[Settings] -NumFields=8 - -[Field 1] -Type=GroupBox -Left=0 -Right=-1 -Top=0 -Bottom=-5 -Text=" Images " - -[Field 2] -Type=Bitmap -Left=10 -Right=-10 -Top=10 -Bottom=30 -Flags=TRANSPARENT - -[Field 3] -Type=Bitmap -Left=10 -Right=-10 -Top=35 -Bottom=45 -Flags=TRANSPARENT - -[Field 4] -Type=Bitmap -Left=10 -Right=-10 -Top=50 -Bottom=70 -Flags=RESIZETOFIT|TRANSPARENT - -[Field 5] -Type=Bitmap -Left=10 -Right=-10 -Top=75 -Bottom=95 -Flags=RESIZETOFIT|TRANSPARENT - -[Field 6] -Type=Icon -Left=10 -Right=40 -Top=100 -Bottom=120 - -[Field 7] -Type=Icon -Left=50 -Right=80 -Top=100 -Bottom=120 - -[Field 8] -Type=Label -Left=10 -Right=-10 -Top=10 -Bottom=-10 -Text=ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ - +[Settings] +NumFields=8 + +[Field 1] +Type=GroupBox +Left=0 +Right=-1 +Top=0 +Bottom=-5 +Text=" Images " + +[Field 2] +Type=Bitmap +Left=10 +Right=-10 +Top=10 +Bottom=30 +Flags=TRANSPARENT + +[Field 3] +Type=Bitmap +Left=10 +Right=-10 +Top=35 +Bottom=45 +Flags=TRANSPARENT + +[Field 4] +Type=Bitmap +Left=10 +Right=-10 +Top=50 +Bottom=70 +Flags=RESIZETOFIT|TRANSPARENT + +[Field 5] +Type=Bitmap +Left=10 +Right=-10 +Top=75 +Bottom=95 +Flags=RESIZETOFIT|TRANSPARENT + +[Field 6] +Type=Icon +Left=10 +Right=40 +Top=100 +Bottom=120 + +[Field 7] +Type=Icon +Left=50 +Right=80 +Top=100 +Bottom=120 + +[Field 8] +Type=Label +Left=10 +Right=-10 +Top=10 +Bottom=-10 +Text=ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ + diff --git a/Contrib/InstallOptions/testlink.ini b/Contrib/InstallOptions/testlink.ini index 592ae930..278a4f91 100644 --- a/Contrib/InstallOptions/testlink.ini +++ b/Contrib/InstallOptions/testlink.ini @@ -1,44 +1,44 @@ -[Settings] -NumFields=5 - -[Field 1] -Type=Label -Left=10 -Right=-40 -Top=10 -Bottom=18 -Text=This custom page demonstrates the "Link" control - -[Field 2] -Type=Link -Left=20 -Right=-40 -Top=40 -Bottom=50 -Text=* Run notepad - -[Field 3] -Type=Link -Left=20 -Right=-40 -Top=55 -Bottom=65 -State=mailto:someone@anywhere.com -Text=* Send E-mail - -[Field 4] -Type=Link -Left=20 -Right=-40 -Top=70 -Bottom=80 -State=http://nsis.sourceforge.net/ -Text=* Homepage http://nsis.sourceforge.net/ - -[Field 5] -Type=Text -Left=20 -Right=-40 -Top=85 -Bottom=98 -State=Just to test proper interaction with the other fields +[Settings] +NumFields=5 + +[Field 1] +Type=Label +Left=10 +Right=-40 +Top=10 +Bottom=18 +Text=This custom page demonstrates the "Link" control + +[Field 2] +Type=Link +Left=20 +Right=-40 +Top=40 +Bottom=50 +Text=* Run notepad + +[Field 3] +Type=Link +Left=20 +Right=-40 +Top=55 +Bottom=65 +State=mailto:someone@anywhere.com +Text=* Send E-mail + +[Field 4] +Type=Link +Left=20 +Right=-40 +Top=70 +Bottom=80 +State=http://nsis.sourceforge.net/ +Text=* Homepage http://nsis.sourceforge.net/ + +[Field 5] +Type=Text +Left=20 +Right=-40 +Top=85 +Bottom=98 +State=Just to test proper interaction with the other fields diff --git a/Contrib/InstallOptions/testnotify.ini b/Contrib/InstallOptions/testnotify.ini index f86fc8e5..56d9231d 100644 --- a/Contrib/InstallOptions/testnotify.ini +++ b/Contrib/InstallOptions/testnotify.ini @@ -1,105 +1,105 @@ -[Settings] -NumFields=11 - -[Field 1] -Type=Groupbox -Text="This is a group box..." -Left=0 -Right=-1 -Top=0 -Bottom=-4 - -[Field 2] -Type=Checkbox -Text=Install support for X -Flags=NOTIFY -State=1 -Left=10 -Right=100 -Top=17 -Bottom=25 - -[Field 3] -Type=Checkbox -Text=Install support for Y -State=0 -Left=10 -Right=100 -Top=30 -Bottom=38 - -[Field 4] -Type=Checkbox -Text=Install support for Z -Flags=RIGHT -State=0 -Left=10 -Right=100 -Top=43 -Bottom=51 - -[Field 5] -Type=FileRequest -Flags=GROUP|FILE_MUST_EXIST|FILE_EXPLORER|FILE_HIDEREADONLY -State=C:\poop.poop -Filter=Poop Files|*.poop|All files|*.* -Left=10 -Right=-10 -Top=56 -Bottom=69 - -[Field 6] -Type=DirRequest -Text=Select a directory... -State=C:\Program Files\NSIS -Left=10 -Right=-10 -Top=74 -Bottom=87 - -[Field 7] -Type=Label -Text=This is a label... -Left=10 -Right=-10 -Top=89 -Bottom=97 - -[Field 8] -Type=Text -Flags=MULTILINE|VSCROLL|WANTRETURN|NOWORDWRAP -State="Multiline\r\nedit..." -Left=10 -Right=-10 -Top=97 -Bottom=118 -MinLen=1 -ValidateText=Please enter some text before proceeding. - -[Field 9] -Type=Button -Flags=NOTIFY -Text=&Clear -Left=-60 -Right=-10 -Top=19 -Bottom=33 - -[Field 10] -Type=Button -Text=&Email -State=mailto:someone@anywhere.com -Left=-60 -Right=-10 -Top=35 -Bottom=49 - -[Field 11] -Type=DROPLIST -ListItems=Show|Hide -State=Show -Flags=NOTIFY -Left=120 -Right=-80 -Top=20 -Bottom=56 +[Settings] +NumFields=11 + +[Field 1] +Type=Groupbox +Text="This is a group box..." +Left=0 +Right=-1 +Top=0 +Bottom=-4 + +[Field 2] +Type=Checkbox +Text=Install support for X +Flags=NOTIFY +State=1 +Left=10 +Right=100 +Top=17 +Bottom=25 + +[Field 3] +Type=Checkbox +Text=Install support for Y +State=0 +Left=10 +Right=100 +Top=30 +Bottom=38 + +[Field 4] +Type=Checkbox +Text=Install support for Z +Flags=RIGHT +State=0 +Left=10 +Right=100 +Top=43 +Bottom=51 + +[Field 5] +Type=FileRequest +Flags=GROUP|FILE_MUST_EXIST|FILE_EXPLORER|FILE_HIDEREADONLY +State=C:\poop.poop +Filter=Poop Files|*.poop|All files|*.* +Left=10 +Right=-10 +Top=56 +Bottom=69 + +[Field 6] +Type=DirRequest +Text=Select a directory... +State=C:\Program Files\NSIS +Left=10 +Right=-10 +Top=74 +Bottom=87 + +[Field 7] +Type=Label +Text=This is a label... +Left=10 +Right=-10 +Top=89 +Bottom=97 + +[Field 8] +Type=Text +Flags=MULTILINE|VSCROLL|WANTRETURN|NOWORDWRAP +State="Multiline\r\nedit..." +Left=10 +Right=-10 +Top=97 +Bottom=118 +MinLen=1 +ValidateText=Please enter some text before proceeding. + +[Field 9] +Type=Button +Flags=NOTIFY +Text=&Clear +Left=-60 +Right=-10 +Top=19 +Bottom=33 + +[Field 10] +Type=Button +Text=&Email +State=mailto:someone@anywhere.com +Left=-60 +Right=-10 +Top=35 +Bottom=49 + +[Field 11] +Type=DROPLIST +ListItems=Show|Hide +State=Show +Flags=NOTIFY +Left=120 +Right=-80 +Top=20 +Bottom=56 diff --git a/Contrib/Math/mathtest.ini b/Contrib/Math/mathtest.ini index f18075b7..8db59da6 100644 --- a/Contrib/Math/mathtest.ini +++ b/Contrib/Math/mathtest.ini @@ -1,101 +1,101 @@ -[Settings] -NumFields=10 -NextButtonText=Execute -CancelButtonText=Quit -BackButtonText=Readme - -[Field 1] -Type=label -Text=Enter your script here: -Left=0 -Right=-1 -Top=0 -Bottom=8 - -[Field 2] -Type=text -Left=0 -Right=-1 -Top=9 -Bottom=55 -flags=MULTILINE|WANTRETURN|HSCROLL -State="" - -[Field 3] -Type=text -Left=53 -Right=175 -Top=56 -Bottom=140 -flags=MULTILINE|READONLY -State="" - -[Field 4] -Type=text -Left=175 -Right=-1 -Top=56 -Bottom=140 -flags=MULTILINE|READONLY -State="" - -[Field 5] -Type=RadioButton -Left=0 -Right=-1 -Top=70 -Bottom=80 -flags=GROUP -Text="Your script" -State=1 - -[Field 6] -Type=RadioButton -Left=0 -Right=-1 -Top=80 -Bottom=90 -flags= -Text="Sample 1" -State=0 - -[Field 7] -Type=RadioButton -Left=0 -Right=-1 -Top=90 -Bottom=100 -flags= -Text="Sample 2" -State=0 - -[Field 8] -Type=RadioButton -Left=0 -Right=-1 -Top=100 -Bottom=110 -flags= -Text="Sample 3" -State=0 - -[Field 9] -Type=RadioButton -Left=0 -Right=-1 -Top=110 -Bottom=120 -flags= -Text="Sample 4" -State=0 - -[Field 10] -Type=RadioButton -Left=0 -Right=-1 -Top=120 -Bottom=130 -flags= -Text="Sample 5" -State=0 - +[Settings] +NumFields=10 +NextButtonText=Execute +CancelButtonText=Quit +BackButtonText=Readme + +[Field 1] +Type=label +Text=Enter your script here: +Left=0 +Right=-1 +Top=0 +Bottom=8 + +[Field 2] +Type=text +Left=0 +Right=-1 +Top=9 +Bottom=55 +flags=MULTILINE|WANTRETURN|HSCROLL +State="" + +[Field 3] +Type=text +Left=53 +Right=175 +Top=56 +Bottom=140 +flags=MULTILINE|READONLY +State="" + +[Field 4] +Type=text +Left=175 +Right=-1 +Top=56 +Bottom=140 +flags=MULTILINE|READONLY +State="" + +[Field 5] +Type=RadioButton +Left=0 +Right=-1 +Top=70 +Bottom=80 +flags=GROUP +Text="Your script" +State=1 + +[Field 6] +Type=RadioButton +Left=0 +Right=-1 +Top=80 +Bottom=90 +flags= +Text="Sample 1" +State=0 + +[Field 7] +Type=RadioButton +Left=0 +Right=-1 +Top=90 +Bottom=100 +flags= +Text="Sample 2" +State=0 + +[Field 8] +Type=RadioButton +Left=0 +Right=-1 +Top=100 +Bottom=110 +flags= +Text="Sample 3" +State=0 + +[Field 9] +Type=RadioButton +Left=0 +Right=-1 +Top=110 +Bottom=120 +flags= +Text="Sample 4" +State=0 + +[Field 10] +Type=RadioButton +Left=0 +Right=-1 +Top=120 +Bottom=130 +flags= +Text="Sample 5" +State=0 + diff --git a/Examples/FileFunc.ini b/Examples/FileFunc.ini index 5b227f41..891af159 100644 --- a/Examples/FileFunc.ini +++ b/Examples/FileFunc.ini @@ -1,91 +1,91 @@ -[Settings] -NumFields=11 -NextButtonText=&Enter - -[Field 1] -Type=Droplist -Flags=NOTIFY -State=" 1. Locate" -ListItems=| 1. Locate| 2. GetSize (file)| (directory)| (no size, no subdir)| 3. DriveSpace| 4. GetDrives (by type)| (all by letter)| 5. GetTime (local time)| (file time)| 6. GetFileAttributes| 7. GetFileVersion| 8. GetExeName| 9. GetExePath|10. GetParameters|11. GetOptions|12. GetRoot|13. GetParent|14. GetFileName|15. GetBaseName|16. GetFileExt|17. BannerTrimPath|18. DirState|19. RefreshShellIcons -Left=44 -Right=190 -Top=1 -Bottom=210 - -[Field 2] -Type=FileRequest -Left=44 -Right=-10 -Top=22 -Bottom=33 - -[Field 3] -Type=DirRequest -Left=44 -Right=-10 -Top=22 -Bottom=33 - -[Field 4] -Type=Text -Left=44 -Right=-10 -Top=36 -Bottom=49 - -[Field 5] -Type=Text -State=LocateCallback -Left=44 -Right=232 -Top=53 -Bottom=66 - -[Field 6] -Type=Button -Text=view -Flags=NOTIFY -Left=236 -Right=255 -Top=54 -Bottom=65 - -[Field 7] -Type=Text -Flags=MULTILINE|VSCROLL|HSCROLL|READONLY -Left=44 -Right=-10 -Top=73 -Bottom=128 - -[Field 8] -Type=Label -Text=Path -Left=10 -Right=43 -Top=24 -Bottom=36 - -[Field 9] -Type=Label -Text=Options -Left=10 -Right=43 -Top=40 -Bottom=52 - -[Field 10] -Type=Label -Text=Function -Left=10 -Right=44 -Top=56 -Bottom=67 - -[Field 11] -Type=Label -Text=Result: -Left=12 -Right=42 -Top=94 -Bottom=102 +[Settings] +NumFields=11 +NextButtonText=&Enter + +[Field 1] +Type=Droplist +Flags=NOTIFY +State=" 1. Locate" +ListItems=| 1. Locate| 2. GetSize (file)| (directory)| (no size, no subdir)| 3. DriveSpace| 4. GetDrives (by type)| (all by letter)| 5. GetTime (local time)| (file time)| 6. GetFileAttributes| 7. GetFileVersion| 8. GetExeName| 9. GetExePath|10. GetParameters|11. GetOptions|12. GetRoot|13. GetParent|14. GetFileName|15. GetBaseName|16. GetFileExt|17. BannerTrimPath|18. DirState|19. RefreshShellIcons +Left=44 +Right=190 +Top=1 +Bottom=210 + +[Field 2] +Type=FileRequest +Left=44 +Right=-10 +Top=22 +Bottom=33 + +[Field 3] +Type=DirRequest +Left=44 +Right=-10 +Top=22 +Bottom=33 + +[Field 4] +Type=Text +Left=44 +Right=-10 +Top=36 +Bottom=49 + +[Field 5] +Type=Text +State=LocateCallback +Left=44 +Right=232 +Top=53 +Bottom=66 + +[Field 6] +Type=Button +Text=view +Flags=NOTIFY +Left=236 +Right=255 +Top=54 +Bottom=65 + +[Field 7] +Type=Text +Flags=MULTILINE|VSCROLL|HSCROLL|READONLY +Left=44 +Right=-10 +Top=73 +Bottom=128 + +[Field 8] +Type=Label +Text=Path +Left=10 +Right=43 +Top=24 +Bottom=36 + +[Field 9] +Type=Label +Text=Options +Left=10 +Right=43 +Top=40 +Bottom=52 + +[Field 10] +Type=Label +Text=Function +Left=10 +Right=44 +Top=56 +Bottom=67 + +[Field 11] +Type=Label +Text=Result: +Left=12 +Right=42 +Top=94 +Bottom=102 diff --git a/Examples/Modern UI/ioA.ini b/Examples/Modern UI/ioA.ini index 6643b727..5a85a770 100644 --- a/Examples/Modern UI/ioA.ini +++ b/Examples/Modern UI/ioA.ini @@ -1,19 +1,19 @@ -[Settings] -NumFields=2 - -[Field 1] -Type=label -Text=Install Options Page A -Left=0 -Right=-1 -Top=0 -Bottom=10 - -[Field 2] -Type=text -Left=0 -Right=-1 -Top=20 -Bottom=100 -flags=MULTILINE|VSCROLL|READONLY +[Settings] +NumFields=2 + +[Field 1] +Type=label +Text=Install Options Page A +Left=0 +Right=-1 +Top=0 +Bottom=10 + +[Field 2] +Type=text +Left=0 +Right=-1 +Top=20 +Bottom=100 +flags=MULTILINE|VSCROLL|READONLY State="Description:\r\n\r\n1 - Show custom page A (where you are now)\r\n2 - Show the components page\r\n3 - Show custom page B\r\n4 - Show directory page\r\n5 - Show custom page C\r\n6 - Show installation progress" \ No newline at end of file diff --git a/Examples/Modern UI/ioB.ini b/Examples/Modern UI/ioB.ini index 298919f0..dd089244 100644 --- a/Examples/Modern UI/ioB.ini +++ b/Examples/Modern UI/ioB.ini @@ -1,10 +1,10 @@ -[Settings] -NumFields=1 - -[Field 1] -Type=label -Text=Install Options Page B -Left=0 -Right=-1 -Top=0 +[Settings] +NumFields=1 + +[Field 1] +Type=label +Text=Install Options Page B +Left=0 +Right=-1 +Top=0 Bottom=10 \ No newline at end of file diff --git a/Examples/Modern UI/ioC.ini b/Examples/Modern UI/ioC.ini index 07d48625..4d4cdfe0 100644 --- a/Examples/Modern UI/ioC.ini +++ b/Examples/Modern UI/ioC.ini @@ -1,19 +1,19 @@ -[Settings] -NumFields=2 - -[Field 1] -Type=label -Text=Instal Options Page C -Left=0 -Right=-1 -Top=0 -Bottom=10 - -[Field 2] -Type=checkbox -Text=Display a MessageBox -Left=0 -Right=-1 -Top=30 -Bottom=40 +[Settings] +NumFields=2 + +[Field 1] +Type=label +Text=Instal Options Page C +Left=0 +Right=-1 +Top=0 +Bottom=10 + +[Field 2] +Type=checkbox +Text=Display a MessageBox +Left=0 +Right=-1 +Top=30 +Bottom=40 State=1 \ No newline at end of file diff --git a/Examples/TextFunc.ini b/Examples/TextFunc.ini index 5b9a7bc4..d2a5f5c1 100644 --- a/Examples/TextFunc.ini +++ b/Examples/TextFunc.ini @@ -1,130 +1,130 @@ -[Settings] -NumFields=15 -NextButtonText=&Enter - -[Field 1] -Type=Droplist -Flags=NOTIFY -State=1. LineFind -ListItems=1. LineFind|2. LineRead|3. FileReadFromEnd|4. LineSum|5. FileJoin|6. TextCompare|7. ConfigRead|8. ConfigWrite|9. FileRecode -Left=44 -Right=139 -Top=9 -Bottom=100 - -[Field 2] -Type=FileRequest -Left=44 -Right=-17 -Top=30 -Bottom=41 - -[Field 3] -Type=FileRequest -Left=44 -Right=-17 -Top=46 -Bottom=57 - -[Field 4] -Type=FileRequest -State=3:-1 -Left=44 -Right=-17 -Top=62 -Bottom=75 - -[Field 5] -Type=Droplist -Flags=NOTIFY -State=Example1 (delete first two symbols) -ListItems=Example1 (delete first two symbols)|Example2 (show changed lines)|Example3 (delete lines)|Example4 (insert lines)|Example5 (replace in file - WordFunc.nsh required)|Example6 (line string to cut or delete)|Example7 (read lines) -Left=44 -Right=-36 -Top=81 -Bottom=155 - -[Field 6] -Type=Droplist -Flags=NOTIFY -State=Example1 (Different or Equal) -ListItems=Example1 (Different or Equal)|Example2 (Compare line-by-line - Different)|Example3 (Compare line-by-line - Equal)|Example4 (Compare all lines - Different)|Example5 (Compare all lines - Equal) -Left=44 -Right=-36 -Top=81 -Bottom=140 - -[Field 7] -Type=Droplist -State=FileReadFromEndCallback -ListItems=FileReadFromEndCallback -Left=44 -Right=-36 -Top=81 -Bottom=92 - -[Field 8] -Type=Text -Flags=READONLY -Left=9 -Right=-36 -Top=108 -Bottom=120 - -[Field 9] -Type=Button -Text=Edit -Flags=NOTIFY -Left=234 -Right=256 -Top=81 -Bottom=92 - -[Field 10] -Type=Button -Text=Log -Flags=NOTIFY|DISABLED -Left=234 -Right=256 -Top=108 -Bottom=120 - -[Field 11] -Type=Label -Text=InputFile -Left=10 -Right=43 -Top=32 -Bottom=44 - -[Field 12] -Type=Label -Text=OutputFile -Left=10 -Right=43 -Top=48 -Bottom=60 - -[Field 13] -Type=Label -Text=Range -Left=10 -Right=44 -Top=65 -Bottom=75 - -[Field 14] -Type=Label -Text=Function -Left=10 -Right=43 -Top=81 -Bottom=92 - -[Field 15] -Type=Label -Text=Result: -Left=10 -Right=229 -Top=97 -Bottom=105 +[Settings] +NumFields=15 +NextButtonText=&Enter + +[Field 1] +Type=Droplist +Flags=NOTIFY +State=1. LineFind +ListItems=1. LineFind|2. LineRead|3. FileReadFromEnd|4. LineSum|5. FileJoin|6. TextCompare|7. ConfigRead|8. ConfigWrite|9. FileRecode +Left=44 +Right=139 +Top=9 +Bottom=100 + +[Field 2] +Type=FileRequest +Left=44 +Right=-17 +Top=30 +Bottom=41 + +[Field 3] +Type=FileRequest +Left=44 +Right=-17 +Top=46 +Bottom=57 + +[Field 4] +Type=FileRequest +State=3:-1 +Left=44 +Right=-17 +Top=62 +Bottom=75 + +[Field 5] +Type=Droplist +Flags=NOTIFY +State=Example1 (delete first two symbols) +ListItems=Example1 (delete first two symbols)|Example2 (show changed lines)|Example3 (delete lines)|Example4 (insert lines)|Example5 (replace in file - WordFunc.nsh required)|Example6 (line string to cut or delete)|Example7 (read lines) +Left=44 +Right=-36 +Top=81 +Bottom=155 + +[Field 6] +Type=Droplist +Flags=NOTIFY +State=Example1 (Different or Equal) +ListItems=Example1 (Different or Equal)|Example2 (Compare line-by-line - Different)|Example3 (Compare line-by-line - Equal)|Example4 (Compare all lines - Different)|Example5 (Compare all lines - Equal) +Left=44 +Right=-36 +Top=81 +Bottom=140 + +[Field 7] +Type=Droplist +State=FileReadFromEndCallback +ListItems=FileReadFromEndCallback +Left=44 +Right=-36 +Top=81 +Bottom=92 + +[Field 8] +Type=Text +Flags=READONLY +Left=9 +Right=-36 +Top=108 +Bottom=120 + +[Field 9] +Type=Button +Text=Edit +Flags=NOTIFY +Left=234 +Right=256 +Top=81 +Bottom=92 + +[Field 10] +Type=Button +Text=Log +Flags=NOTIFY|DISABLED +Left=234 +Right=256 +Top=108 +Bottom=120 + +[Field 11] +Type=Label +Text=InputFile +Left=10 +Right=43 +Top=32 +Bottom=44 + +[Field 12] +Type=Label +Text=OutputFile +Left=10 +Right=43 +Top=48 +Bottom=60 + +[Field 13] +Type=Label +Text=Range +Left=10 +Right=44 +Top=65 +Bottom=75 + +[Field 14] +Type=Label +Text=Function +Left=10 +Right=43 +Top=81 +Bottom=92 + +[Field 15] +Type=Label +Text=Result: +Left=10 +Right=229 +Top=97 +Bottom=105 diff --git a/Examples/WordFunc.ini b/Examples/WordFunc.ini index 38c748d8..38fa8abb 100644 --- a/Examples/WordFunc.ini +++ b/Examples/WordFunc.ini @@ -1,107 +1,107 @@ -[Settings] -NumFields=13 -NextButtonText=&Enter - -[Field 1] -Type=Droplist -Flags=NOTIFY -State=1. WordFind (Find word by number) -ListItems=1. WordFind (Find word by number)| (Delimiter exclude)| (Sum of words)| (Sum of delimiters)| (Find word number)| ( }} )| ( {} )| ( *} )|2. WordFind2X|3. WordReplace (Replace)| (Delete)| (Multiple-replace)|4. WordAdd (Add)| (Delete) |5. WordInsert|6. StrFilter (UpperCase)| (LowerCase)| (Filter)|7. VersionCompare|8. VersionConvert -Left=44 -Right=190 -Top=10 -Bottom=191 - -[Field 2] -Type=Text -State=C:\io.sys|C:\logo.sys|C:\Program Files|C:\WINDOWS -Left=44 -Right=-10 -Top=30 -Bottom=41 - -[Field 3] -Type=Text -State=|C:\ -Left=44 -Right=-10 -Top=46 -Bottom=59 - -[Field 4] -Type=Text -Flags=DISABLED -Left=44 -Right=-10 -Top=62 -Bottom=75 - -[Field 5] -Type=Text -State=-4 -Left=44 -Right=-10 -Top=80 -Bottom=92 - -[Field 6] -Type=Text -Left=10 -Right=-30 -Top=108 -Bottom=120 - -[Field 7] -Type=Text -Left=-22 -Right=-10 -Top=108 -Bottom=120 - -[Field 8] -Type=Label -Text=String -Left=10 -Right=43 -Top=32 -Bottom=44 - -[Field 9] -Type=Label -Text=Delimiter -Left=10 -Right=43 -Top=48 -Bottom=60 - -[Field 10] -Type=Label -Left=10 -Right=44 -Top=65 -Bottom=76 - -[Field 11] -Type=Label -Text=Word # -Left=10 -Right=43 -Top=81 -Bottom=94 - -[Field 12] -Type=Label -Text=Result (Word): -Left=10 -Right=236 -Top=97 -Bottom=110 - -[Field 13] -Type=Label -Text=EL -Left=-21 -Right=-10 -Top=97 -Bottom=110 - +[Settings] +NumFields=13 +NextButtonText=&Enter + +[Field 1] +Type=Droplist +Flags=NOTIFY +State=1. WordFind (Find word by number) +ListItems=1. WordFind (Find word by number)| (Delimiter exclude)| (Sum of words)| (Sum of delimiters)| (Find word number)| ( }} )| ( {} )| ( *} )|2. WordFind2X|3. WordReplace (Replace)| (Delete)| (Multiple-replace)|4. WordAdd (Add)| (Delete) |5. WordInsert|6. StrFilter (UpperCase)| (LowerCase)| (Filter)|7. VersionCompare|8. VersionConvert +Left=44 +Right=190 +Top=10 +Bottom=191 + +[Field 2] +Type=Text +State=C:\io.sys|C:\logo.sys|C:\Program Files|C:\WINDOWS +Left=44 +Right=-10 +Top=30 +Bottom=41 + +[Field 3] +Type=Text +State=|C:\ +Left=44 +Right=-10 +Top=46 +Bottom=59 + +[Field 4] +Type=Text +Flags=DISABLED +Left=44 +Right=-10 +Top=62 +Bottom=75 + +[Field 5] +Type=Text +State=-4 +Left=44 +Right=-10 +Top=80 +Bottom=92 + +[Field 6] +Type=Text +Left=10 +Right=-30 +Top=108 +Bottom=120 + +[Field 7] +Type=Text +Left=-22 +Right=-10 +Top=108 +Bottom=120 + +[Field 8] +Type=Label +Text=String +Left=10 +Right=43 +Top=32 +Bottom=44 + +[Field 9] +Type=Label +Text=Delimiter +Left=10 +Right=43 +Top=48 +Bottom=60 + +[Field 10] +Type=Label +Left=10 +Right=44 +Top=65 +Bottom=76 + +[Field 11] +Type=Label +Text=Word # +Left=10 +Right=43 +Top=81 +Bottom=94 + +[Field 12] +Type=Label +Text=Result (Word): +Left=10 +Right=236 +Top=97 +Bottom=110 + +[Field 13] +Type=Label +Text=EL +Left=-21 +Right=-10 +Top=97 +Bottom=110 + diff --git a/Examples/makensis.ini b/Examples/makensis.ini index 0b53bd55..be3933a9 100644 --- a/Examples/makensis.ini +++ b/Examples/makensis.ini @@ -1,21 +1,21 @@ -[Settings] -NumFields=3 -[Field 1] -Type=Label -Left=0 -Right=-1 -Top=0 -Bottom=24 -[Field 2] -Type=RadioButton -Left=30 -Right=-1 -Top=50 -Bottom=58 -State=1 -[Field 3] -Type=RadioButton -Left=30 -Right=-1 -Top=70 +[Settings] +NumFields=3 +[Field 1] +Type=Label +Left=0 +Right=-1 +Top=0 +Bottom=24 +[Field 2] +Type=RadioButton +Left=30 +Right=-1 +Top=50 +Bottom=58 +State=1 +[Field 3] +Type=RadioButton +Left=30 +Right=-1 +Top=70 Bottom=78 \ No newline at end of file