| 6 | | SetOutPath "$SYSDIR" |
|---|
| 7 | | ; Expat, LibXML2, and ZLib |
|---|
| 8 | | File ../../../libxml2/lib/*.dll |
|---|
| 9 | | ;File ../../../libxml2/bin/*.dll |
|---|
| 10 | | File ../../../zlib/bin/*.dll |
|---|
| 11 | | File ../../../pcre/bin/*.dll |
|---|
| 12 | | ;File ../expat/bin/*.dll |
|---|
| 13 | | File ../.libs/*.dll |
|---|
| 14 | | |
|---|
| | 6 | SetOutPath "$INSTDIR\bin\" |
|---|
| | 7 | |
|---|
| | 8 | ; LibXML2, PCRE, and ZLib |
|---|
| | 9 | File "../../../libxml2/bin/libxml2-2.dll" |
|---|
| | 10 | File "../../../zlib/bin/zlib1.dll" |
|---|
| | 11 | File "../../../pcre/bin/pcre.dll" |
|---|
| | 12 | File "../../../pcre/bin/pcreposix.dll" |
|---|
| | 13 | File "../.libs/libswish-e-2.dll" |
|---|
| | 14 | File "../.libs/swish-e.exe" |
|---|
| | 15 | |
|---|
| | 16 | ; We really need to do this instead but NSIS 2.06 segfaults when using UpgradeDLL. |
|---|
| | 17 | ;!define UPGRADEDLL_NOREGISTER 1 |
|---|
| | 18 | ;!insertmacro UpgradeDLL "../../../libxml2/bin/libxml2-2.dll" "$SYSDIR\libxml2-2.dll" "$SYSDIR" |
|---|
| | 19 | ;!insertmacro UpgradeDLL "../../../zlib/bin/zlib1.dll" "$SYSDIR\zlib1.dll" "$SYSDIR" |
|---|
| | 20 | ;!insertmacro UpgradeDLL "../../../pcre/bin/pcre.dll" "$SYSDIR\pcre.dll" "$SYSDIR" |
|---|
| | 21 | ;!insertmacro UpgradeDLL "../../../pcre/bin/pcreposix.dll" "$SYSDIR\pcreposix.dll" "$SYSDIR" |
|---|
| | 22 | ;!insertmacro UpgradeDLL "../.libs/libswish-e-2.dll" "$SYSDIR\libswish-e-2.dll" "$SYSDIR" |
|---|
| | 23 | |
|---|
| | 24 | |
|---|
| 30 | | CreateShortcut "$SMPROGRAMS/SWISH-E/Browse Files.lnk" "$INSTDIR/" |
|---|
| 31 | | WriteINIStr "$SMPROGRAMS/SWISH-E/Website.url" "InternetShortcut" "URL" "http://swish-e.org/" |
|---|
| 32 | | CreateShortcut "$SMPROGRAMS/SWISH-E/License.lnk" "$INSTDIR/COPYING.txt" |
|---|
| 33 | | SetOutPath "$SMPROGRAMS\SWISH-E\PERL_Resources" |
|---|
| 34 | | WriteINIStr "$SMPROGRAMS/SWISH-E/PERL_Resources/Install_ActivePerl.url" "InternetShortcut" "URL" "http://www.activestate.com/Products/Download/Download.plex?id=ActivePerl" |
|---|
| 35 | | WriteINIStr "$SMPROGRAMS/SWISH-E/PERL_Resources/CPAN_PERL_Modules.url" "InternetShortcut" "URL" "http://search.cpan.org/" |
|---|
| | 38 | CreateShortcut "$SMPROGRAMS\\SWISH-E\\Browse Files.lnk" "$INSTDIR\\" |
|---|
| | 39 | WriteINIStr "$SMPROGRAMS\\SWISH-E\\Website.url" "InternetShortcut" "URL" "http://swish-e.org/" |
|---|
| | 40 | WriteINIStr "$SMPROGRAMS\\SWISH-E\\Documentation.url" "InternetShortcut" "URL" "http://swish-e.org/docs/" |
|---|
| | 41 | CreateShortcut "$SMPROGRAMS\\SWISH-E\\License.lnk" "$INSTDIR\\COPYING.txt" |
|---|
| | 42 | SetOutPath "$SMPROGRAMS\SWISH-E\PERL_Resources\" |
|---|
| | 43 | WriteINIStr "$SMPROGRAMS\\SWISH-E\\PERL_Resources\\Install_ActivePerl.url" "InternetShortcut" "URL" "http://www.activestate.com/Products/Download/Download.plex?id=ActivePerl" |
|---|
| | 44 | WriteINIStr "$SMPROGRAMS\\SWISH-E\\PERL_Resources\\CPAN_PERL_Modules.url" "InternetShortcut" "URL" "http://search.cpan.org/" |
|---|
| 38 | | Section "Documentation" SecDocs |
|---|
| 39 | | SectionIn 1 |
|---|
| 40 | | SetOutPath "$INSTDIR\share\doc\swish-e" |
|---|
| 41 | | RMDIR /r "$INSTDIR/html" |
|---|
| 42 | | File /r ../../html |
|---|
| 43 | | |
|---|
| 44 | | ; Create shorcuts on the Start Menu |
|---|
| 45 | | SetOutPath "$SMPROGRAMS\SWISH-E\Documentation\" |
|---|
| 46 | | ;WriteINIStr "$SMPROGRAMS/SWISH-E/Documentation/Docs.url" "InternetShortcut" "URL" "file://$INSTDIR/share/doc/swish-e/html/index.html" |
|---|
| 47 | | WriteINIStr "$SMPROGRAMS/SWISH-E/Documentation/Readme.url" "InternetShortcut" "URL" "file://$INSTDIR/share/doc/swish-e/html/README.html" |
|---|
| 48 | | WriteINIStr "$SMPROGRAMS/SWISH-E/Documentation/CONFIG-Config_File_Directives.url" "InternetShortcut" "URL" "file://$INSTDIR/share/doc/swish-e/html/SWISH-CONFIG.html" |
|---|
| 49 | | WriteINIStr "$SMPROGRAMS/SWISH-E/Documentation/RUN-Command_Line_Switches.url" "InternetShortcut" "URL" "file://$INSTDIR/share/doc/swish-e/html/SWISH-RUN.html" |
|---|
| 50 | | WriteINIStr "$SMPROGRAMS/SWISH-E/Documentation/SEARCH-Searching_Instructions.url" "InternetShortcut" "URL" "file://$INSTDIR/share/doc/swish-e/html/SWISH-SEARCH.html" |
|---|
| 51 | | WriteINIStr "$SMPROGRAMS/SWISH-E/Documentation/FAQ-Frequently_Asked_Questions.url" "InternetShortcut" "URL" "file://$INSTDIR/share/doc/swish-e/html/SWISH-FAQ.html" |
|---|
| 52 | | WriteINIStr "$SMPROGRAMS/SWISH-E/Documentation/CGI-Web_Interfacing.url" "InternetShortcut" "URL" "file://$INSTDIR/share/doc/swish-e/html/swish.html" |
|---|
| 53 | | WriteINIStr "$SMPROGRAMS/SWISH-E/Documentation/Spidering_Remote_Websites.url" "InternetShortcut" "URL" "file://$INSTDIR/share/doc/swish-e/html/spider.html" |
|---|
| 54 | | WriteINIStr "$SMPROGRAMS/SWISH-E/Documentation/Filtering_Documents.url" "InternetShortcut" "URL" "file://$INSTDIR/share/doc/swish-e/html/Filter.html" |
|---|
| 55 | | WriteINIStr "$SMPROGRAMS/SWISH-E/Documentation/Known_Bugs.url" "InternetShortcut" "URL" "file://$INSTDIR/share/doc/swish-e/html/SWISH-BUGS.html" |
|---|
| 56 | | ;WriteINIStr "$SMPROGRAMS/SWISH-E/Questions_and_Troubleshooting.url" "InternetShortcut" "URL" "file://$INSTDIR/share/doc/swish-e/html/INSTALL.html#QUESTIONS_AND_TROUBLESHOOTING" |
|---|
| 57 | | SectionEnd ; end of section 'Documentation' |
|---|
| 58 | | |
|---|
| 59 | | ;Section "ActiveX Control" SecSwishCtl |
|---|
| 60 | | ; System Files |
|---|
| 61 | | ; SetOutPath "$SYSDIR" |
|---|
| 62 | | ; SWISH-E Control |
|---|
| 63 | | ; File ../../../swishctl/swishctl.dll |
|---|
| 64 | | ; RegDLL $SYSDIR/swishctl.dll |
|---|
| 65 | | |
|---|
| 66 | | ; Local Files |
|---|
| 67 | | ; SetOutPath "$INSTDIR" |
|---|
| 68 | | ; JavaScript ActiveX Search Example |
|---|
| 69 | | ; File /r ../../../swishctl/example |
|---|
| 70 | | |
|---|
| 71 | | ; Create shorcuts on the Start Menu |
|---|
| 72 | | ; SetOutPath "$SMPROGRAMS/SWISH-E/" |
|---|
| 73 | | ; WriteINIStr "$SMPROGRAMS/SWISH-E/Search_Documentation.url" "InternetShortcut" "URL" "file://$INSTDIR/example/index.htm" |
|---|
| 74 | | ; WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE/SWISH-E Team/SwishCtl/Options" "DLLVersion" "1007" |
|---|
| 75 | | ; WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE/SWISH-E Team/SwishCtl/Options" "IndexLocation" "$INSTDIR/example" |
|---|
| 76 | | ; WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE/SWISH-E Team/SwishCtl/Options" "swishdocs" "docs.idx" |
|---|
| 77 | | ;SectionEnd ; end of ActiveX section |
|---|
| | 47 | ; the static libraries are 20 MB. |
|---|
| | 48 | ;Section "Developer Files" SecDev |
|---|
| | 49 | ; SetOutPath "$INSTDIR\lib\" |
|---|
| | 50 | ; File "../.libs/libswish-e.a" |
|---|
| | 51 | ; File "../.libs/libswish-e.dll.a" |
|---|
| | 52 | ; File "../.libs/libswishindex.a" |
|---|
| | 53 | ; |
|---|
| | 54 | ; SetOutPath "$INSTDIR\include\" |
|---|
| | 55 | ; File "../swish-e.h" |
|---|
| | 56 | ;SectionEnd |
|---|
| 82 | | SetOutPath "$INSTDIR\lib\swish-e" |
|---|
| 83 | | |
|---|
| 84 | | ; catdoc |
|---|
| 85 | | File ../../../catdoc/win32/catdoc.exe |
|---|
| 86 | | File /oname=COPYING-catdoc ../../../catdoc/COPYING |
|---|
| 87 | | File /r ../../../catdoc/charsets |
|---|
| 88 | | |
|---|
| 89 | | ; This needs to be rebuilt against SWISH-E libraries. I can't really include the binary from GnuWin32. |
|---|
| 90 | | ; wvware |
|---|
| 91 | | ;WriteRedStr HKEY_LOCAL_MACHINE "SOFTWARE/SWISH-E Team/SWISH-E/${VERSION}/Options" "wvware" "1" |
|---|
| 92 | | ;File ../../../wvware/bin/wvware.exe |
|---|
| | 61 | |
|---|
| | 62 | SetOutPath "$INSTDIR\bin\" |
|---|
| | 63 | File "../../../catdoc/catdoc.exe" |
|---|
| | 64 | File "../../../catdoc/catppt.exe" |
|---|
| | 65 | File "../../../catdoc/xls2csv.exe" |
|---|
| | 66 | |
|---|
| | 67 | SetOutPath "$INSTDIR\share\doc\catdoc" |
|---|
| | 68 | File "../../../catdoc/COPYING" |
|---|
| | 69 | |
|---|
| | 70 | SetOutPath "$INSTDIR\charsets\" |
|---|
| | 71 | File "../../../catdoc/charsets/*" |
|---|
| 96 | | SetOutPath "$INSTDIR\lib\swish-e" |
|---|
| 97 | | File /oname=COPYING-xpdf ../../../xpdf/COPYING |
|---|
| 98 | | File ../../../xpdf/pdfinfo.* |
|---|
| 99 | | File ../../../xpdf/pdftotext.* |
|---|
| 100 | | File ../../../xpdf/sample-xpdfrc |
|---|
| 101 | | File ../../../xpdf/xpdfrc.txt |
|---|
| | 75 | |
|---|
| | 76 | SetOutPath "$INSTDIR\bin\" |
|---|
| | 77 | File "../../../xpdf/pdfinfo.exe" |
|---|
| | 78 | File "../../../xpdf/pdftotext.exe" |
|---|
| | 79 | |
|---|
| | 80 | SetOutPath "$INSTDIR\share\doc\xpdf\" |
|---|
| | 81 | File "../../../xpdf/COPYING" |
|---|
| | 82 | File "../../../xpdf/README" |
|---|
| | 83 | File "../../../xpdf/pdfinfo.txt" |
|---|
| | 84 | File "../../../xpdf/pdftotext.txt" |
|---|
| | 85 | File "../../../xpdf/sample-xpdfrc" |
|---|
| | 86 | File "../../../xpdf/xpdfrc.txt" |
|---|
| 131 | | SetOutPath "$INSTDIR\share\swish-e" |
|---|
| 132 | | File ../../example/swish.tt |
|---|
| 133 | | File ../../example/swish.tmpl |
|---|
| 134 | | File ../../example/swish.gif |
|---|
| 135 | | File ../../example/README.txt |
|---|
| | 115 | SetOutPath "$INSTDIR\share\swish-e\" |
|---|
| | 116 | File "../../example/swish.tt" |
|---|
| | 117 | File "../../example/swish.tmpl" |
|---|
| | 118 | File "../../example/swish.gif" |
|---|
| | 119 | File "../../example/README.txt" |
|---|
| 138 | | SetOutPath "$INSTDIR\share\swish-e\templates" |
|---|
| 139 | | File ../../example/templates/search.tt |
|---|
| 140 | | File ../../example/templates/page_layout |
|---|
| 141 | | File ../../example/templates/common_header |
|---|
| 142 | | File ../../example/templates/common_footer |
|---|
| 143 | | File ../../example/templates/style.css |
|---|
| 144 | | File ../../example/templates/markup.css |
|---|
| | 122 | SetOutPath "$INSTDIR\share\swish-e\templates\" |
|---|
| | 123 | File "../../example/templates/search.tt" |
|---|
| | 124 | File "../../example/templates/page_layout" |
|---|
| | 125 | File "../../example/templates/common_header" |
|---|
| | 126 | File "../../example/templates/common_footer" |
|---|
| | 127 | File "../../example/templates/style.css" |
|---|
| | 128 | File "../../example/templates/markup.css" |
|---|
| 147 | | SetOutPath "$INSTDIR\lib\swish-e\perl\SWISH" |
|---|
| 148 | | File ../../example/modules/SWISH/DateRanges.pm |
|---|
| 149 | | File ../../example/modules/SWISH/DefaultHighlight.pm |
|---|
| 150 | | File ../../example/modules/SWISH/PhraseHighlight.pm |
|---|
| 151 | | File ../../example/modules/SWISH/SimpleHighlight.pm |
|---|
| 152 | | File ../../example/modules/SWISH/TemplateDefault.pm |
|---|
| 153 | | File ../../example/modules/SWISH/TemplateDumper.pm |
|---|
| 154 | | File ../../example/modules/SWISH/TemplateFrame.pm |
|---|
| 155 | | File ../../example/modules/SWISH/TemplateHTMLTemplate.pm |
|---|
| 156 | | File ../../example/modules/SWISH/TemplateToolkit.pm |
|---|
| 157 | | File ../../example/modules/SWISH/ParseQuery.pm |
|---|
| | 131 | SetOutPath "$INSTDIR\lib\swish-e\perl\SWISH\" |
|---|
| | 132 | File "../../example/modules/SWISH/DateRanges.pm" |
|---|
| | 133 | File "../../example/modules/SWISH/DefaultHighlight.pm" |
|---|
| | 134 | File "../../example/modules/SWISH/PhraseHighlight.pm" |
|---|
| | 135 | File "../../example/modules/SWISH/SimpleHighlight.pm" |
|---|
| | 136 | File "../../example/modules/SWISH/TemplateDefault.pm" |
|---|
| | 137 | File "../../example/modules/SWISH/TemplateDumper.pm" |
|---|
| | 138 | File "../../example/modules/SWISH/TemplateFrame.pm" |
|---|
| | 139 | File "../../example/modules/SWISH/TemplateHTMLTemplate.pm" |
|---|
| | 140 | File "../../example/modules/SWISH/TemplateToolkit.pm" |
|---|
| | 141 | File "../../example/modules/SWISH/ParseQuery.pm" |
|---|