;Title AbiWord for Windows, NSIS v2 series installer script ;FileDesc Contains optional plugins for import/export support ; Copyright (C) 2008 AbiSource Corporation B.V. SubSection /e "$(TITLE_ssection_impexpplugins)" ssection_impexpplugins Section "" section_impexpplugins_required SectionEnd SubSection /e "$(TITLE_ssection_loadsaveplugins)" ssection_loadsaveplugins ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; applix Section "$(TITLE_section_impexpplugins_applix)" section_impexpplugins_applix SectionIn ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Full w/ assoc, Full, Full w/ downloads SetOutPath $INSTDIR\plugins File "${ABIWORD_COMPILED_PATH}\plugins\PluginApplix.dll" SectionEnd !macro Remove_${section_impexpplugins_applix} ;Removes this component DetailPrint "*** Removing or skipping install of import/export plugin: applix ..." ; remove plugin and related files Delete "$INSTDIR\plugins\PluginApplix.dll" !macroend ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; clarisworks Section "$(TITLE_section_impexpplugins_clarisworks)" section_impexpplugins_clarisworks SectionIn ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Full w/ assoc, Full, Full w/ downloads SetOutPath $INSTDIR\plugins File "${ABIWORD_COMPILED_PATH}\plugins\PluginClarisworks.dll" SectionEnd !macro Remove_${section_impexpplugins_clarisworks} ;Removes this component DetailPrint "*** Removing or skipping install of import/export plugin: clarisworks ..." ; remove plugin and related files Delete "$INSTDIR\plugins\PluginClarisworks.dll" !macroend ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; docbook Section "$(TITLE_section_impexpplugins_docbook)" section_impexpplugins_docbook SectionIn ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Full w/ assoc, Full, Full w/ downloads SetOutPath $INSTDIR\plugins File "${ABIWORD_COMPILED_PATH}\plugins\PluginDocbook.dll" SectionEnd !macro Remove_${section_impexpplugins_docbook} ;Removes this component DetailPrint "*** Removing or skipping install of import/export plugin: docbook ..." ; remove plugin and related files Delete "$INSTDIR\plugins\PluginDocbook.dll" !macroend ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; office open xml Section "$(TITLE_section_impexpplugins_openxml)" section_impexpplugins_officeopenxml SectionIn ${TYPICALSECT} ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Typical, Full w/ assoc, Full, Full w/ downloads SetOutPath $INSTDIR\plugins File "${ABIWORD_COMPILED_PATH}\plugins\PluginOpenxml.dll" SectionEnd !macro Remove_${section_impexpplugins_officeopenxml} ;Removes this component DetailPrint "*** Removing or skipping install of import/export plugin: office open xml ..." ; remove plugin and related files Delete "$INSTDIR\plugins\PluginOpenxml.dll" !macroend ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; opendocument Section "$(TITLE_section_impexpplugins_opendocument)" section_impexpplugins_opendocument SectionIn ${TYPICALSECT} ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Typical, Full w/ assoc, Full, Full w/ downloads SetOutPath $INSTDIR\plugins File "${ABIWORD_COMPILED_PATH}\plugins\PluginOpendocument.dll" SectionEnd !macro Remove_${section_impexpplugins_opendocument} ;Removes this component DetailPrint "*** Removing or skipping install of import/export plugin: opendocument ..." ; remove plugin and related files Delete "$INSTDIR\plugins\PluginOpenDocument.dll" !macroend ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; openwriter ; re-enable this when we actually build it ;Section "$(TITLE_section_impexpplugins_openwriter)" section_impexpplugins_openwriter ; SectionIn ${TYPICALSECT} ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Typical, Full w/ assoc, Full, Full w/ downloads ; SetOutPath $INSTDIR\plugins ; File "${ABIWORD_COMPILED_PATH}\plugins\PluginOpenwriter.dll" ;SectionEnd ; ;!macro Remove_${section_impexpplugins_openwriter} ; ;Removes this component ; DetailPrint "*** Removing or skipping install of import/export plugin: openwriter ..." ; ; ; remove plugin and related files ; Delete "$INSTDIR\plugins\PluginOpenwriter.dll" ;!macroend ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; iscii_text Section "$(TITLE_section_impexpplugins_iscii_text)" section_impexpplugins_iscii_text SectionIn ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Full w/ assoc, Full, Full w/ downloads SetOutPath $INSTDIR\plugins File "${ABIWORD_COMPILED_PATH}\plugins\PluginIscii.dll" SectionEnd !macro Remove_${section_impexpplugins_iscii_text} ;Removes this component DetailPrint "*** Removing or skipping install of import/export plugin: iscii_text ..." ; remove plugin and related files Delete "$INSTDIR\plugins\PluginIscii.dll" !macroend ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; eml Section "$(TITLE_section_impexpplugins_eml)" section_impexpplugins_eml SectionIn ${TYPICALSECT} ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Typical, Full w/ assoc, Full, Full w/ downloads SetOutPath $INSTDIR\plugins File "${ABIWORD_COMPILED_PATH}\plugins\PluginEml.dll" SectionEnd !macro Remove_${section_impexpplugins_eml} ;Removes this component DetailPrint "*** Removing or skipping install of import/export plugin: eml ..." ; remove plugin and related files Delete "$INSTDIR\plugins\PluginEml.dll" !macroend ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; palmdoc ; re-enable this when we actually build it ;Section "$(TITLE_section_impexpplugins_palmdoc)" section_impexpplugins_palmdoc ; SectionIn ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Full w/ assoc, Full, Full w/ downloads ; SetOutPath $INSTDIR\plugins ; File "${ABIWORD_COMPILED_PATH}\plugins\abipalmdoc.dll" ;SectionEnd ; ;!macro Remove_${section_impexpplugins_palmdoc} ; ;Removes this component ; DetailPrint "*** Removing or skipping install of import/export plugin: palmdoc ..." ; ; ; remove plugin and related files ; Delete "$INSTDIR\plugins\abipalmdoc.dll" ;!macroend ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; wml Section "$(TITLE_section_impexpplugins_wml)" section_impexpplugins_wml SectionIn ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Full w/ assoc, Full, Full w/ downloads SetOutPath $INSTDIR\plugins File "${ABIWORD_COMPILED_PATH}\plugins\PluginWml.dll" SectionEnd !macro Remove_${section_impexpplugins_wml} ;Removes this component DetailPrint "*** Removing or skipping install of import/export plugin: wml ..." ; remove plugin and related files Delete "$INSTDIR\plugins\PluginWml.dll" !macroend ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; xslfo Section "$(TITLE_section_impexpplugins_xslfo)" section_impexpplugins_xslfo SectionIn ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Full w/ assoc, Full, Full w/ downloads SetOutPath $INSTDIR\plugins File "${ABIWORD_COMPILED_PATH}\plugins\PluginXslfo.dll" SectionEnd !macro Remove_${section_impexpplugins_xslfo} ;Removes this component DetailPrint "*** Removing or skipping install of import/export plugin: xslfo ..." ; remove plugin and related files Delete "$INSTDIR\plugins\PluginXslfo.dll" !macroend SubSectionEnd ; both import/export ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Import Only SubSection /e "$(TITLE_ssection_loadplugins)" ssection_loadplugins ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; mswrite ; re-enable this when we actually build it ;Section "$(TITLE_section_impexpplugins_mswrite)" section_impexpplugins_mswrite ; SectionIn ${TYPICALSECT} ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Typical, Full w/ assoc, Full, Full w/ downloads ; SetOutPath $INSTDIR\plugins ; File "${ABIWORD_COMPILED_PATH}\plugins\abimswrite.dll" ;SectionEnd ; ;!macro Remove_${section_impexpplugins_mswrite} ; ;Removes this component ; DetailPrint "*** Removing or skipping install of import/export plugin: mswrite ..." ; ; ; remove plugin and related files ; Delete "$INSTDIR\plugins\abimswrite.dll" ;!macroend ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; opml Section "$(TITLE_section_impexpplugins_opml)" section_impexpplugins_opml SectionIn ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Full w/ assoc, Full, Full w/ downloads SetOutPath $INSTDIR\plugins File "${ABIWORD_COMPILED_PATH}\plugins\PluginOpml.dll" SectionEnd !macro Remove_${section_impexpplugins_opml} ;Removes this component DetailPrint "*** Removing or skipping install of import/export plugin: opml ..." ; remove plugin and related files Delete "$INSTDIR\plugins\PluginsOpml.dll" !macroend ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; sdw Section "$(TITLE_section_impexpplugins_sdw)" section_impexpplugins_sdw SectionIn ${TYPICALSECT} ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Typical, Full w/ assoc, Full, Full w/ downloads SetOutPath $INSTDIR\plugins File "${ABIWORD_COMPILED_PATH}\plugins\PluginStaroffice.dll" SectionEnd !macro Remove_${section_impexpplugins_sdw} ;Removes this component DetailPrint "*** Removing or skipping install of import/export plugin: sdw ..." ; remove plugin and related files Delete "$INSTDIR\plugins\PluginStaroffice.dll" !macroend ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; t602 Section "$(TITLE_section_impexpplugins_t602)" section_impexpplugins_t602 SectionIn ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Full w/ assoc, Full, Full w/ downloads SetOutPath $INSTDIR\plugins File "${ABIWORD_COMPILED_PATH}\plugins\PluginT602.dll" SectionEnd !macro Remove_${section_impexpplugins_t602} ;Removes this component DetailPrint "*** Removing or skipping install of import/export plugin: t602 ..." ; remove plugin and related files Delete "$INSTDIR\plugins\PluginT602.dll" !macroend ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; wordperfect Section "$(TITLE_section_impexpplugins_wordperfect)" section_impexpplugins_wordperfect SectionIn ${TYPICALSECT} ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Typical, Full w/ assoc, Full, Full w/ downloads SetOutPath $INSTDIR\plugins File "${ABIWORD_COMPILED_PATH}\plugins\PluginWordperfect.dll" SectionEnd !macro Remove_${section_impexpplugins_wordperfect} ;Removes this component DetailPrint "*** Removing or skipping install of import/export plugin: wordperfect ..." ; remove plugin and related files Delete "$INSTDIR\plugins\PluginWordperfect.dll" !macroend SubSectionEnd ; import only ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Export Only SubSection /e "$(TITLE_ssection_saveplugins)" ssection_saveplugins ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; hrtext Section "$(TITLE_section_impexpplugins_hrtext)" section_impexpplugins_hrtext SectionIn ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Full w/ assoc, Full, Full w/ downloads SetOutPath $INSTDIR\plugins File "${ABIWORD_COMPILED_PATH}\plugins\PluginHrtext.dll" SectionEnd !macro Remove_${section_impexpplugins_hrtext} ;Removes this component DetailPrint "*** Removing or skipping install of import/export plugin: hrtext ..." ; remove plugin and related files Delete "$INSTDIR\plugins\PluginHrtext.dll" !macroend ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; latex Section "$(TITLE_section_impexpplugins_latex)" section_impexpplugins_latex SectionIn ${FULLASSOCSECT} ${FULLSECT} ${DLSECT} ; Full w/ assoc, Full, Full w/ downloads SetOutPath $INSTDIR\plugins File "${ABIWORD_COMPILED_PATH}\plugins\PluginLatex.dll" SectionEnd !macro Remove_${section_impexpplugins_latex} ;Removes this component DetailPrint "*** Removing or skipping install of import/export plugin: latex ..." ; remove plugin and related files Delete "$INSTDIR\plugins\PluginLatex.dll" !macroend SubSectionEnd ; export only SubSectionEnd ; Tools Plugins !macro Remove_${ssection_impexpplugins} ; Note: subsection removes called unless every section contained is selected ; so do not actually remove anything that may be necessary ; if subsection is only partially selected DetailPrint "*** ssection_impexpplugins" !macroend