⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setup.nsi

📁 Delphi编写的一个支持语法高亮显示和很多语言的文本编辑器
💻 NSI
📖 第 1 页 / 共 2 页
字号:
  File "C:\backup\cEdit5\propose\Template.ins"
  File "C:\backup\cEdit5\propose\TclTk.lst"
  File "C:\backup\cEdit5\propose\TclTk.ins"
  File "C:\backup\cEdit5\propose\Ruby.lst"
  File "C:\backup\cEdit5\propose\Ruby.ins"
  File "C:\backup\cEdit5\propose\Rebol.lst"
  File "C:\backup\cEdit5\propose\Rebol.ins"
  File "C:\backup\cEdit5\propose\PHP.lst"
  File "C:\backup\cEdit5\propose\PHP.ins"
  File "C:\backup\cEdit5\propose\Perl.lst"
  File "C:\backup\cEdit5\propose\Perl.ins"
  File "C:\backup\cEdit5\propose\ObjectPascal.lst"
  File "C:\backup\cEdit5\propose\ObjectPascal.ins"
  File "C:\backup\cEdit5\propose\Object Pascal.lst"
  File "C:\backup\cEdit5\propose\Object Pascal.ins"
  File "C:\backup\cEdit5\propose\None.lst"
  File "C:\backup\cEdit5\propose\None.ins"
  File "C:\backup\cEdit5\propose\MS-DOS batch language.lst"
  File "C:\backup\cEdit5\propose\MS-DOS batch language.ins"
  File "C:\backup\cEdit5\propose\HTML.lst"
  File "C:\backup\cEdit5\propose\HTML.ins"
  File "C:\backup\cEdit5\propose\HP48.lst"
  File "C:\backup\cEdit5\propose\HP48.ins"
  File "C:\backup\cEdit5\propose\Galaxy.lst"
  File "C:\backup\cEdit5\propose\Galaxy.ins"
  File "C:\backup\cEdit5\propose\Foxpro.lst"
  File "C:\backup\cEdit5\propose\Foxpro.ins"
  File "C:\backup\cEdit5\propose\COAS Product Manager report.lst"
  File "C:\backup\cEdit5\propose\COAS Product Manager report.ins"
  File "C:\backup\cEdit5\propose\Cache Object script.lst"
  File "C:\backup\cEdit5\propose\Cache Object script.ins"
  File "C:\backup\cEdit5\propose\C++.lst"
  File "C:\backup\cEdit5\propose\C++.ins"
  File "C:\backup\cEdit5\propose\Borland Form definition.lst"
  File "C:\backup\cEdit5\propose\Borland Form definition.ins"
  File "C:\backup\cEdit5\propose\Baan 4GL.lst"
  File "C:\backup\cEdit5\propose\Baan 4GL.ins"
  File "C:\backup\cEdit5\propose\AWK.lst"
  File "C:\backup\cEdit5\propose\AWK.ins"
  File "C:\backup\cEdit5\propose\AWK Script.lst"
  File "C:\backup\cEdit5\propose\AWK Script.ins"
  File "C:\backup\cEdit5\propose\AV.lst"
  File "C:\backup\cEdit5\propose\AV.ins"
  File "C:\backup\cEdit5\propose\Auto Lisp.lst"
  File "C:\backup\cEdit5\propose\Auto Lisp.ins"
  File "C:\backup\cEdit5\propose\ADSP21xx.lst"
  File "C:\backup\cEdit5\propose\ADSP21xx.ins"
  File "C:\backup\cEdit5\propose\Active Server Pages.lst"
  File "C:\backup\cEdit5\propose\Active Server Pages.ins"
  File "C:\backup\cEdit5\propose\68HC11 assembler.lst"
  File "C:\backup\cEdit5\propose\68HC11 assembler.ins"
SectionEnd

Section -AdditionalIcons
  WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
  CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
  CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk" "$INSTDIR\uninst.exe"
SectionEnd

Section -Post
  WriteUninstaller "$INSTDIR\uninst.exe"
  WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\cEdit.exe"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\cEdit.exe"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "${PRODUCT_STARTMENU_REGVAL}" "$ICONS_GROUP"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
SectionEnd

; Section descriptions
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
  !insertmacro MUI_DESCRIPTION_TEXT ${SEC01} "All Neccisary Files!"
  !insertmacro MUI_DESCRIPTION_TEXT ${SEC02} "Compiler Settings"
  !insertmacro MUI_DESCRIPTION_TEXT ${SEC03} "Function Keywords for function listing."
  !insertmacro MUI_DESCRIPTION_TEXT ${SEC04} "Highlighter data"
  !insertmacro MUI_DESCRIPTION_TEXT ${SEC05} "Popup proposal data"
!insertmacro MUI_FUNCTION_DESCRIPTION_END


Function un.onUninstSuccess
  HideWindow
  MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."
FunctionEnd

Function .onInit

FunctionEnd


Function un.onInit
  MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2
  Abort
FunctionEnd

Section Uninstall
  ReadRegStr $ICONS_GROUP ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "${PRODUCT_STARTMENU_REGVAL}"
  Delete "$INSTDIR\${PRODUCT_NAME}.url"
  Delete "$INSTDIR\uninst.exe"
  Delete "$INSTDIR\propose\68HC11 assembler.ins"
  Delete "$INSTDIR\propose\68HC11 assembler.lst"
  Delete "$INSTDIR\propose\Active Server Pages.ins"
  Delete "$INSTDIR\propose\Active Server Pages.lst"
  Delete "$INSTDIR\propose\ADSP21xx.ins"
  Delete "$INSTDIR\propose\ADSP21xx.lst"
  Delete "$INSTDIR\propose\Auto Lisp.ins"
  Delete "$INSTDIR\propose\Auto Lisp.lst"
  Delete "$INSTDIR\propose\AV.ins"
  Delete "$INSTDIR\propose\AV.lst"
  Delete "$INSTDIR\propose\AWK Script.ins"
  Delete "$INSTDIR\propose\AWK Script.lst"
  Delete "$INSTDIR\propose\AWK.ins"
  Delete "$INSTDIR\propose\AWK.lst"
  Delete "$INSTDIR\propose\Baan 4GL.ins"
  Delete "$INSTDIR\propose\Baan 4GL.lst"
  Delete "$INSTDIR\propose\Borland Form definition.ins"
  Delete "$INSTDIR\propose\Borland Form definition.lst"
  Delete "$INSTDIR\propose\C++.ins"
  Delete "$INSTDIR\propose\C++.lst"
  Delete "$INSTDIR\propose\Cache Object script.ins"
  Delete "$INSTDIR\propose\Cache Object script.lst"
  Delete "$INSTDIR\propose\COAS Product Manager report.ins"
  Delete "$INSTDIR\propose\COAS Product Manager report.lst"
  Delete "$INSTDIR\propose\Foxpro.ins"
  Delete "$INSTDIR\propose\Foxpro.lst"
  Delete "$INSTDIR\propose\Galaxy.ins"
  Delete "$INSTDIR\propose\Galaxy.lst"
  Delete "$INSTDIR\propose\HP48.ins"
  Delete "$INSTDIR\propose\HP48.lst"
  Delete "$INSTDIR\propose\HTML.ins"
  Delete "$INSTDIR\propose\HTML.lst"
  Delete "$INSTDIR\propose\MS-DOS batch language.ins"
  Delete "$INSTDIR\propose\MS-DOS batch language.lst"
  Delete "$INSTDIR\propose\None.ins"
  Delete "$INSTDIR\propose\None.lst"
  Delete "$INSTDIR\propose\Object Pascal.ins"
  Delete "$INSTDIR\propose\Object Pascal.lst"
  Delete "$INSTDIR\propose\ObjectPascal.ins"
  Delete "$INSTDIR\propose\ObjectPascal.lst"
  Delete "$INSTDIR\propose\Perl.ins"
  Delete "$INSTDIR\propose\Perl.lst"
  Delete "$INSTDIR\propose\PHP.ins"
  Delete "$INSTDIR\propose\PHP.lst"
  Delete "$INSTDIR\propose\Rebol.ins"
  Delete "$INSTDIR\propose\Rebol.lst"
  Delete "$INSTDIR\propose\Ruby.ins"
  Delete "$INSTDIR\propose\Ruby.lst"
  Delete "$INSTDIR\propose\TclTk.ins"
  Delete "$INSTDIR\propose\TclTk.lst"
  Delete "$INSTDIR\propose\Template.ins"
  Delete "$INSTDIR\propose\Template.lst"
  Delete "$INSTDIR\propose\Unreal.ins"
  Delete "$INSTDIR\propose\Unreal.lst"
  Delete "$INSTDIR\propose\Visual Basic.ins"
  Delete "$INSTDIR\propose\Visual Basic.lst"
  Delete "$INSTDIR\propose\x86 assembly language.ins"
  Delete "$INSTDIR\propose\x86 assembly language.lst"
  Delete "$INSTDIR\propose\XML document.ins"
  Delete "$INSTDIR\propose\XML document.lst"
  Delete "$INSTDIR\highlighters\template.ini"
  Delete "$INSTDIR\highlighters\autolisp.ini"
  Delete "$INSTDIR\highlighters\av.ini"
  Delete "$INSTDIR\highlighters\blah.ini"
  Delete "$INSTDIR\highlighters\jan.ini"
  Delete "$INSTDIR\highlighters\langfiles.dat"
  Delete "$INSTDIR\highlighters\none.ini"
  Delete "$INSTDIR\highlighters\nsis.ini"
  Delete "$INSTDIR\highlighters\rebol.ini"
  Delete "$INSTDIR\highlighters\sal.ini"
  Delete "$INSTDIR\highlighters\asp.ini"
  Delete "$INSTDIR\highlighters\xbasic.ini"
  Delete "$INSTDIR\funKeys\68HC11 Assembler.fun"
  Delete "$INSTDIR\funKeys\Active Server Pages.fun"
  Delete "$INSTDIR\funKeys\ADSP21xx.fun"
  Delete "$INSTDIR\funKeys\Auto Lisp.fun"
  Delete "$INSTDIR\funKeys\AV.fun"
  Delete "$INSTDIR\funKeys\AWK.fun"
  Delete "$INSTDIR\funKeys\Baan 4GL.fun"
  Delete "$INSTDIR\funKeys\Blah.fun"
  Delete "$INSTDIR\funKeys\Borland Forms.fun"
  Delete "$INSTDIR\funKeys\C++.fun"
  Delete "$INSTDIR\funKeys\C++.fun.bak"
  Delete "$INSTDIR\funKeys\Cache Object Script.fun"
  Delete "$INSTDIR\funKeys\CA-Clipper.fun"
  Delete "$INSTDIR\funKeys\Cascading Style Sheet.fun"
  Delete "$INSTDIR\funKeys\COAS Product Manager Report.fun"
  Delete "$INSTDIR\funKeys\CORBA IDL.fun"
  Delete "$INSTDIR\funKeys\Fortran.fun"
  Delete "$INSTDIR\funKeys\Foxpro.fun"
  Delete "$INSTDIR\funKeys\Galaxy.fun"
  Delete "$INSTDIR\funKeys\Gembase.fun"
  Delete "$INSTDIR\funKeys\General.fun"
  Delete "$INSTDIR\funKeys\GW-TEL.fun"
  Delete "$INSTDIR\funKeys\HP48.fun"
  Delete "$INSTDIR\funKeys\HTML Document.fun"
  Delete "$INSTDIR\funKeys\HTML.fun"
  Delete "$INSTDIR\funKeys\INI File.fun"
  Delete "$INSTDIR\funKeys\Inno Setup Script.fun"
  Delete "$INSTDIR\funKeys\Jan.fun"
  Delete "$INSTDIR\funKeys\Java.fun"
  Delete "$INSTDIR\funKeys\JavaScript.fun"
  Delete "$INSTDIR\funKeys\KiXtart.fun"
  Delete "$INSTDIR\funKeys\Modelica.fun"
  Delete "$INSTDIR\funKeys\Modula 3.fun"
  Delete "$INSTDIR\funKeys\MS VBScript.fun"
  Delete "$INSTDIR\funKeys\MS-DOS Batch.fun"
  Delete "$INSTDIR\funKeys\None.fun"
  Delete "$INSTDIR\funKeys\NullSoft Super Pimp Install System.fun"
  Delete "$INSTDIR\funKeys\Object Pascal.fun"
  Delete "$INSTDIR\funKeys\Perl.fun"
  Delete "$INSTDIR\funKeys\PHP.fun"
  Delete "$INSTDIR\funKeys\Progress.fun"
  Delete "$INSTDIR\funKeys\Python.fun"
  Delete "$INSTDIR\funKeys\Rebol.fun"
  Delete "$INSTDIR\funKeys\Ruby.fun"
  Delete "$INSTDIR\funKeys\Sal.fun"
  Delete "$INSTDIR\funKeys\Semanta Data Dictionary.fun"
  Delete "$INSTDIR\funKeys\SQL.fun"
  Delete "$INSTDIR\funKeys\Standard ML.fun"
  Delete "$INSTDIR\funKeys\SynGen Msg.fun"
  Delete "$INSTDIR\funKeys\TclTk.fun"
  Delete "$INSTDIR\funKeys\Template.fun"
  Delete "$INSTDIR\funKeys\TeX Document.fun"
  Delete "$INSTDIR\funKeys\UNIX Shell Script.fun"
  Delete "$INSTDIR\funKeys\Unreal.fun"
  Delete "$INSTDIR\funKeys\Visual Basic.fun"
  Delete "$INSTDIR\funKeys\x86 Assembly.fun"
  Delete "$INSTDIR\funKeys\XBasic.fun"
  Delete "$INSTDIR\funKeys\XML.fun"
  Delete "$INSTDIR\compile\Readme.txt"
  Delete "$INSTDIR\compile\NSIS.cmp"
  Delete "$INSTDIR\tags\ansi.tag"
  Delete "$INSTDIR\tags\css.tag"
  Delete "$INSTDIR\tags\HTML.tag"
  Delete "$INSTDIR\tags\java.tag"
  Delete "$INSTDIR\tags\nsis.tag"
  Delete "$INSTDIR\readme\clear.gif"
  Delete "$INSTDIR\readme\credits.htm"
  Delete "$INSTDIR\readme\css.css"
  Delete "$INSTDIR\readme\features.htm"
  Delete "$INSTDIR\readme\Home.htm"
  Delete "$INSTDIR\readme\left.htm"
  Delete "$INSTDIR\readme\right.htm"
  Delete "$INSTDIR\readme\start.gif"
  Delete "$INSTDIR\readme\top.htm"
  Delete "$INSTDIR\readme\whatsnew.htm"
  Delete "$INSTDIR\readme\yettocome.htm"
  Delete "$INSTDIR\projects\cEdit Source.cpf"
  Delete "$INSTDIR\projects\demo.cpf"
  Delete "$INSTDIR\plugins\Project1.dll"
  Delete "$INSTDIR\ini\Dimensions.ini"
  Delete "$INSTDIR\ini\find.dat"
  Delete "$INSTDIR\ini\Find.ini"
  Delete "$INSTDIR\ini\findHex.dat"
  Delete "$INSTDIR\ini\FTP.ini"
  Delete "$INSTDIR\ini\Permissions.ini"
  Delete "$INSTDIR\ini\prefrences.ini"
  Delete "$INSTDIR\ini\Replace.ini"
  Delete "$INSTDIR\ini\State.ini"
  Delete "$INSTDIR\dictionary\english.1-1-4.dic"
  Delete "$INSTDIR\data\toolbars.dat"
  Delete "$INSTDIR\data\tasks.tsk"
  Delete "$INSTDIR\comments\68HC11 Assemblercmt"
  Delete "$INSTDIR\comments\Active Server Pagescmt"
  Delete "$INSTDIR\comments\ADSP21xxcmt"
  Delete "$INSTDIR\comments\Auto Lispcmt"
  Delete "$INSTDIR\comments\AVcmt"
  Delete "$INSTDIR\comments\AWKcmt"
  Delete "$INSTDIR\comments\Baan 4GLcmt"
  Delete "$INSTDIR\comments\Blahcmt"
  Delete "$INSTDIR\comments\Borland Formscmt"
  Delete "$INSTDIR\comments\C++cmt"
  Delete "$INSTDIR\comments\Cache Object Scriptcmt"
  Delete "$INSTDIR\comments\CA-Clippercmt"
  Delete "$INSTDIR\comments\Cascading Style Sheetcmt"
  Delete "$INSTDIR\comments\COAS Product Manager Reportcmt"
  Delete "$INSTDIR\comments\CORBA IDLcmt"
  Delete "$INSTDIR\comments\Custom Highlightercmt"
  Delete "$INSTDIR\comments\Fortrancmt"
  Delete "$INSTDIR\comments\Foxprocmt"
  Delete "$INSTDIR\comments\Galaxycmt"
  Delete "$INSTDIR\comments\Gembasecmt"
  Delete "$INSTDIR\comments\Generalcmt"
  Delete "$INSTDIR\comments\GW-TELcmt"
  Delete "$INSTDIR\comments\HP48cmt"
  Delete "$INSTDIR\comments\HTML Documentcmt"
  Delete "$INSTDIR\comments\HTMLcmt"
  Delete "$INSTDIR\comments\INI Filecmt"
  Delete "$INSTDIR\comments\Inno Setup Scriptcmt"
  Delete "$INSTDIR\comments\Jancmt"
  Delete "$INSTDIR\comments\Javacmt"
  Delete "$INSTDIR\comments\JavaScriptcmt"
  Delete "$INSTDIR\comments\KiXtartcmt"
  Delete "$INSTDIR\comments\Modelicacmt"
  Delete "$INSTDIR\comments\Modula 3cmt"
  Delete "$INSTDIR\comments\MS VBScriptcmt"
  Delete "$INSTDIR\comments\MS-DOS Batchcmt"
  Delete "$INSTDIR\comments\Nonecmt"
  Delete "$INSTDIR\comments\NullSoft Super Pimp Install Systemcmt"
  Delete "$INSTDIR\comments\Object Pascalcmt"
  Delete "$INSTDIR\comments\Perlcmt"
  Delete "$INSTDIR\comments\PHPcmt"
  Delete "$INSTDIR\comments\Progresscmt"
  Delete "$INSTDIR\comments\Pythoncmt"
  Delete "$INSTDIR\comments\Rebolcmt"
  Delete "$INSTDIR\comments\Rubycmt"
  Delete "$INSTDIR\comments\Salcmt"
  Delete "$INSTDIR\comments\Semanta Data Dictionarycmt"
  Delete "$INSTDIR\comments\SQLcmt"
  Delete "$INSTDIR\comments\Standard MLcmt"
  Delete "$INSTDIR\comments\SynGen Msgcmt"
  Delete "$INSTDIR\comments\TclTkcmt"
  Delete "$INSTDIR\comments\Templatecmt"
  Delete "$INSTDIR\comments\TeX Documentcmt"
  Delete "$INSTDIR\comments\UNIX Shell Scriptcmt"
  Delete "$INSTDIR\comments\Unrealcmt"
  Delete "$INSTDIR\comments\Visual Basiccmt"
  Delete "$INSTDIR\comments\x86 Assemblycmt"
  Delete "$INSTDIR\comments\XBasiccmt"
  Delete "$INSTDIR\comments\XMLcmt"
  Delete "$INSTDIR\accounts\WSFTP.ftp"
  Delete "$INSTDIR\accounts\Microsoft.ftp"
  Delete "$INSTDIR\Readme.txt"
  Delete "$INSTDIR\cedit.chm"
  Delete "$INSTDIR\cEdit.exe"
  Delete "$INSTDIR\BORLNDMM.DLL"

  Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk"
  Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk"
  Delete "$SMPROGRAMS\$ICONS_GROUP\Help.lnk"
  Delete "$DESKTOP\cEdit Professional.lnk"
  Delete "$SMPROGRAMS\$ICONS_GROUP\cEdit Professional.lnk"

  RMDir "$SMPROGRAMS\$ICONS_GROUP"
  RMDir "$INSTDIR\tags\"
  RMDir "$INSTDIR\readme\"
  RMDir "$INSTDIR\propose\"
  RMDir "$INSTDIR\projects\"
  RMDir "$INSTDIR\plugins\"
  RMDir "$INSTDIR\ini\"
  RMDir "$INSTDIR\highlighters\"
  RMDir "$INSTDIR\funKeys\"
  RMDir "$INSTDIR\dictionary\"
  RMDir "$INSTDIR\data\"
  RMDir "$INSTDIR\compile\"
  RMDir "$INSTDIR\comments\"
  RMDir "$INSTDIR\accounts\"
  RMDir "$INSTDIR"

  DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
  DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
  SetAutoClose true
SectionEnd

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -