; NSIS: µ²ºc¤Æªº LangString ¼g§@ ; ; ½d¨Ò: NIS EDIT 2.0b3 ¤¤¤å¤Æ¦h»y¨¥¥]¸Ë¡C ; Àô¹Ò: NSIS 2.0b4, Modern UI 1.64 MAKENSIS.EXE 2003-05-09 ; ; ·sª©ªº (1021) »P Modern UI 1.66 ²z½×¤W¤]¥i¥H¥Î¡C¦Û¤v¥Î¦º ; ¤F¡A¦Û¤v­n­t³d³á¡C¦pªG§A¹ê¦b¤£·Q¾Ç¦h»y¨¥¦w¸Ë¡A¥H¤Î¦p¦ó¥Î ; LangString ¡uÄF¡v NSIS ¡A¨º»ò³o¤@¬q¹ï§A¨Ó»¡¡A´N¬O©U§£¡A§A ; ¥i¥H¤£¬Ý¡C¦p¦P IC ©Ò¨¥¡A¦bµwºÐ·´±¼¤§«áÁÙ¯u¬O­Ó·s«äºû¡C ; ; ­«ÂI¬é¦³³o­Ó¦r: LangString ; ¢w¢w¨ä ¥¬§½ / ©ñ¸mÅÜ¼Æ / °Ï¬q¦ì¸m²Î¾ã ; ; ·íµM³\¦h¤H¦b½èºÃ¦h»y¨¥»Ý­n©Î¤£»Ý­n¡C§Ú¤£·Q¦h»¡¤°»ò¡A§A¥i ; ¥H¬Ý§@«~¥»¨­¡AÅý¨Ï¥Î¤Hªº¡u²n§Öµ{«×¡v¡C·í¤@­Ó»y¨¥ªº²Î¾ãÃö ; ¥d¬ð¯}®É¡A³Ñ¤U¨Óªº¡A§A­n¥[¤Q­Ó»y¨¥¤]¨S¦³Ãö«Y¡C§Aªºµ{¦¡±± ; ¨î«ä¸ô¡A·|§ó¥[²M´·¡C ; ; ¦^¨ì­ìÃD¡C¦b NSIS 2.0b1 ¤§«e¡A¦h»y¨¥¤§¤U»Ý­n¼g¡u¦r¦ê¤ñ ; ¸û¡vªº¤@¤j°ï¥¨¶°¡A¦p¤U ; ; StrCmp $LANGUAGE ${LANGID} "" +3; ; ; ¦Ó¥Ø«e«h¥H LangString ©Î LangStringUp ¨ú¥N¡A²¼ä³\¦h¡C»¡¨Ó ; ²³æ¡A¦ý­n§â¦Û¤v¼gªºÂÂ¥¨¶°§ï´«µ²ºc¡A¨º¹ê¦b¬O¦³ÂIµh­W¡C¬° ; ¤°»ò­n§ï¡Hªº¥¨¶°«Ü¤è«K¡A¤@¸ô«ä¸ô¶¶ºZ¡A¦ý¦h»y¨¥°£¿ù®É´N ; ¹³¤j®ü¼´°w¤@¼Ë¡C·sªº¤è¦¡¡A·|±j¨î§â LangString ¥þ³¡Âk¦b¦P ; ¤@­Ó¦ì¸m¡C ; ; ¦³¤F LangString ¡A¥i¥HÄF¨ìªºªF¦è¡A¤Ó¦h¤Ó¦h¤F¡C ; LangString ¬é¯à¥Î¦b¹ï¸ÜÅã¥Ü¶Ü¡H¤£¯à¥Î¦b±¶®|¶Ü¡H¤£¯à¥Î¦b¸` ; ¬q¦WºÙ±±¨î¶Ü¡H¤£¯à¥Î¦bµù¥Uªí¶µ¡AÅý¥LÀHµÛ§@·~¨t²Îªº¤£¦P¦Ó¼g ; ¤J¤£¦Pªº¼Æ­È¶Ü¡H ; ; ¦ý¬Oª`·N: ¨C¤@­Ó LangString ÅܼơA«e«á¤£­nªþ±a¥ô¦ó¦r¦ê¡A ; §_«h·|¨Ï NSIS µLªkÃѧO¦Ó¥X¿ù¡C ; ; ²Åé´y­z³¡¤À¡A¦]¬°¦b BIG5 ½s½X¤§¤U¨Ï¥Î GB2312 ¡A¬G ; ¥²©w¦³¶Ã½X¡AÁٽШ£½Ì¡C¦pªG»Ý­n¦bºô­¶¨ú±o¥¿½T½s½X¡A ; ½ÐÀx¦s¬° BIG5 plain text ¡A¦A¨Ó³B²z¡C§Ú·|¥t¥~¥H ; attach file ªº¤è¦¡ªþ¦bªO¤W¡C ; ; §Ú¨S¦³¨Ï¥Î¥ô¦óÃþ¦ü GUI ªº¤u¨ã¡C±ÀÂ˪º´N­è¦n¬O³o­Ó½d³ò¥» ; ¨­©Ò¥]ªº¡ANIS EDIT 2.0b3 ¡C ; http://search.cpatch.org/download/install/nisedit/cnisedit20b3.exe ; ¦pªGÁÙ¶û¤Ó³Â·Ð¡AJoost ªº­^¤åª© HTML ¤Jªù¡A¥u¦³¤@­¶¡A«Øij¥ý¬Ý¡C ; ; °O±o¡A¨S¤H±j­¢§A­n¨Ï¥Î¦h»y¨¥¡A¨S¤H±j­¢§A­n Modern ; UI ¡A¨S¤H±j­¢§A­nÅwªï¹ï¸Ü¤è¶ô¡C§A¤@¼Ë¥i¥H°µ¥X¤@ÂI¤] ; ¤£ªá«Nªº¡A«Ü¶Ç²Îªº¦w¸Ëµ{¦¡¡C¤£­n¦b¨º¸Ì¼o¸Ü¤°»ò NSIS ; ·U°µ·UªÎ¤j¡C ; ; ³o¨Ç³£¬O¦Û¤v¨M©wªº¡C ; ; ¡½¬ÛÃö¾\Ū ; ; NSIS ªº§@·~¨t²Î§PÂ_¤è¦¡ ; http://leoboard.cpatch.org/cgi-bin/topic.cgi?forum=2&topic=165 ; ; NSIS 2.0b4 ¤É¯Å±K§Þ ; http://leoboard.cpatch.org/cgi-bin/topic.cgi?forum=2&topic=125 ; ; NSIS 2.0bxxx ªº½Ñ¦h°Q½×/®ø®§/¤U¸ü ; http://leoboard.cpatch.org/cgi-bin/topic.cgi?forum=2&topic=32 ; ; NSIS 2.0 b3 ¤É¯Å±K§Þ ; http://leoboard.cpatch.org/cgi-bin/topic.cgi?forum=2&topic=113 ; ; NSIS 2.0b1¦h»y¨¥¸}¥»¼g§@±K§Þ (µL¸gÅçªÌ¡A«Øij¥ý¬Ý³o¤@½g) ; http://leoboard.cpatch.org/cgi-bin/topic.cgi?forum=2&topic=54 ;======================================================= ; ¡½1.©w¸qÅܼơB¦w¸Ë¥Ø¿ý¡B¿é¥XÀɮסB¹Ï¥Ü ;======================================================= ; ¥u­n¦b³o¸Ì¼g¦n¡A¨ä¥Lªº³£«ö·Ó©w¸qªºÅܼƤU¥h¶]¡A´N¬Ù¤O¦h¤F¡C ; ;============================== ; 1.1 ª©¥»¸¹½X/¦WºÙ ; !define VER_1 2 ;³nÅ骩¥»¸¹½X 1 ¡A¦p Eudora 4.3.1.2 ¥|¦ìª©¥»¸¹½X !define VER_2 03 ;³nÅ骩¥»¸¹½X 2 ;!define VER_3 xxx ;³nÅ骩¥»¸¹½X 3 ;!define VER_4 yyy ;³nÅ骩¥»¸¹½X 4 ;!define VER_R 3 ;¤¤¤å¤Æ¦Pª©¥»²Ä´X§óª© !define MUI_PRODUCT "NisEdit" ;µ{¦¡¦WºÙ (¥i¨Ï¥Î¤j¤p¼g¡A¦pªG¦³ªÅ®æ¡A½Ð¥Î©³½u¨ú¥N) !define PROGFNHEADER "nisedit" ;¤¤¤å¤ÆÀɮצWºÙªº¥D­n³¡¤À (¥þ³¡¤p¼g) !define PROGMAINEXE "nisedit.exe" ;¥Dµ{¦¡°õ¦æÀɮצWºÙ (§t.exe) ; ;============================== ; 1.2 Ū§ÚÀÉ®×/¿é¥XÀÉ®× ; ; Ū§ÚÅã¥Ü¡A¥]¬A CHS/CHT/ENU ¤T­Óª©¥»¡C¦pªG§A¤£»Ý­n»s§@ ; ¦h»y¨¥¤¤¤å¤Æª©¥»¡A¥u­n¦Ò¼{¤@­Ó¡uŪ§Ú¡v§Y¥i¡C³o­ÓŪ§Ú¡A ; ³q±`®³¨Ó©ñ¡u¦¹¤¤¤å¤Æªº´y­zÀɮסv¡A¦Ó«D¤@¯ë³nÅ骺 readme ¡C ; ; ÀɮשR¦W: (¥þ³¡¤p¼g)¡C ; (cpatch) c + ${PROGFNHEADER} + ª©¥»¸¹½X _(©³½u) ²Ä´X¤¤¤å¤Æª©¥» . °ÆÀɦW ; (hanzify) ha _(©³½u) ${PROGFNHEADER} + ª©¥»¸¹½X _(©³½u) §@ªÌ¦W . ÂX®i¦W ; ;!define README "c${PROGFNHEADER}${VER_1}${VER_2}.txt" !define README_CHS "c${PROGFNHEADER}${VER_1}${VER_2}_gb.txt" !define README_CHT "c${PROGFNHEADER}${VER_1}${VER_2}.txt" !define README_ENU "c${PROGFNHEADER}${VER_1}${VER_2}.txt" OUTFILE "c${PROGFNHEADER}${VER_1}${VER_2}.exe" ;============================== ; 1.3 ¹w³]¦w¸Ë¥Ø¿ý (§ÀºÝ¤£¥[ \) ; ; ³q±`·|¥X²{¦b "C:\Program Files\xxxx " ³oºØ¥Ø¿ý¡C ; ¤]¥i¥H¨Ï¥Î ${AppPath} ¦bµù¥Uªí´M§äª©¦w¸Ë¥Ø¿ý¡C ; ¦pªGµù¥Uªíªº¦w¸Ë¥Ø¿ý (§ÀºÝ \) ¥X²{¡A¤£­n¨Ï¥Î¥¦¡A¥H§Kµo¥Í¿ù»~¡C ;InstallDir "$PROGRAMFILES\${MUI_PRODUCT}" ;InstallDir "${AppPath}" InstallDir "C:\util\nisedit" ;============================== ; 1.4 ª©Åv¼v¹³ ; ; ¥u»Ý­n¤@­Ó´N°÷ (¤@©w­n bmp ®æ¦¡)¡A²Ä¤G­Ó¬O®³¨Óªá«N¥Îªº¡C ; ¥i¥H¥u¨Ï¥Î¤@­Ó¡A©Î§¹¥þ¤£¨Ï¥Î¡C !define SPLASH1 "cnisedit.bmp" ;!define SPLASH2 "mdaeomon6_chs.bmp" ;============================== ; 1.5 ¦w¸Ëµ{¦¡«¬ºA ; ; ¤¤¤å¤Æ/ª½±µ¦w¸Ëª©/ÁÙ¬O¸Éºó¸É¤B¡H¦w¸Ë®É¥X²{¦b caption ³¡¤À¡C ; ¸Ñ°£¦w¸Ë®É¡A¤]·|¥X²{¦bµù¥Uªí¡C !define PATCHTYPE_ENU "(CN+TW) localized" !define PATCHTYPE_CHT "(CN+TW) ¤¤¤å¤Æ" !define PATCHTYPE_CHS "(CN+TW) ÖÐÎÄ»¯" ;============================== ; 1.6 ¥Î©ó¸Ñ°£¦w¸Ëªº¸ê°T ; ; ¥]§t¤½¥q¥þºÙ/³nÅé¥\¯à·§­z¡C·|¶ë¦b Uninstall µù¥Uªí¤º¡C !define URLABOUT "http://hmne.sourceforge.net/" !define URLHELP "http://hmne.sourceforge.net/" !define URLUPDATE "http://hmne.sourceforge.net/#Download" !define PUBLISHER "2003, Hector Mauricio Rodriguez Segura." ; «e­±·|¦Û°Ê¨Ì»y¨¥¸É¤W Copyright (c) ©Î ª©Åv©Ò¦³ (c) ¡A¦]¦¹«á­±¥u­n±µ¤W¦~¥N©M¤½¥q¦WºÙ¡C ;======================================================= ; ¡½2.¨Ï¥ÎªÌ¤¶­± ;======================================================= ; ³o¤@¬qªº¥Î³~¡A¦b©ó±j¨îÂмg system.nsh ªº­^¤å¹w³]³]©w­È¡A ; ³q±`¥u¦³Åܧó ¡u¦r«¬¡v¡u¹Ï¥Ü¡v ;============================== ; 2.1 ¦r«¬ ; ¦w¸Ë¤¶­±ªº¦r«¬¹w³]¤j¤p 8¡A¤@©w­n§ï±¼¡A§_«h¦b win98 ¤¤¤å¤£¦n¬Ý¡C ; ¦p¤U¡CÂù»y¨¥¤¤¤å¤Æ¡A¨Ï¥Î "Tahoma" §Y¥i¡C ; ¤£»Ý­n¯S§O«ü©w¡u·s²Ó©úÅé¡v©Î¡u§ºÊ^¡v¡C ;!define MUI_FONT "MS Shell Dlg" ;!define MUI_FONTSIZE "8" ;!define MUI_FONT_HEADER "MS Sans Serif" ;!define MUI_FONTSIZE_HEADER "8" ; ; ¤W¦C: NSIS ¦r«¬¡u¹w³]­È¡v¡A¤U¦C: ¦r«¬¡u«Øij­×§ï­È¡v¡C ; ;!define MUI_FONT "Tahoma" ;!define MUI_FONTSIZE "9" ;!define MUI_FONT_HEADER "Tahoma" ;!define MUI_FONTSIZE_HEADER "9" ; ¦b NSIS 2.0b4 2003-05-01 ¤§«áªºª©¥»¡A¤£»Ý­n¦A¥Î¤W­z ; ©R¥O¡C¤w¥Ñ *.NSH «ü©w­Ó§O»y¨¥ªº¦r«¬¦WºÙ»P¤j¤p¡C ;============================== ; 2.2 ¹Ï¥Ü ; ¦w¸Ëµ{¦¡¹Ï¥Ü: ³q±`§Ú¨Ï¥Î¥Dµ{¦¡ªº¹Ï¥Ü¡A¥t¥~¥Î VC ©â¨ú¥X¨Ó¡C ; ¸Ñ°£¦w¸Ë¹Ï¥Ü: ¬°¤FÅý [±±¨î¥x | ·s¼W/²¾°£µ{¦¡] ¥X²{¥¿½T¹Ï¥Ü¡AÁÙ¬O¥Î¦P¤@­Ó¹Ï¥Ü¡C ; ¦³®É­Ô«h¨Ï¥Î¥¦ªþªº¹Ï¥Ü (¦]¬°¬Ý°_¨Ó¤£¿ù)¡C ;!define MUI_ICON "${NSISDIR}\Contrib\Icons\modern-install.ico" ;!define MUI_UNICON "${NSISDIR}\Contrib\Icons\modern-uninstall.ico" ; ; ¤W¦C: NSIS ¹Ï¥Ü¡u¹w³]­È¡v¡A­·®æ¦³ÂI¹³ InstallShield 6 ¡A¤]¤£¿ù¡C ; ¤U¦C: ¦Û­q¹Ï¥Ü¡A½Ð«ü©w¥¿½T¦WºÙ !define MUI_ICON "${NSISDIR}\Contrib\icons\yi-box_install.ico" !define MUI_UNICON "${NSISDIR}\Contrib\icons\yi-box_uninstall.ico" ;============================== ; 2.3 ¨ä¥L (* ¶i¶¥) ; ³]©w­·®æ¡A³o¸Ì¬O¦Û¤v¥i¥H·d°­ªº¦a¤è¡C !define MUI_UI "${NSISDIR}\Contrib\UIs\modern2.exe" !define MUI_CHECKBITMAP "${NSISDIR}\Contrib\Icons\modern.bmp" !define MUI_FONTSTYLE_HEADER "700" !define MUI_FONT_TITLE "Verdana" !define MUI_FONTSIZE_TITLE "12" !define MUI_FONTSTYLE_TITLE "700" !define MUI_INSTALLCOLORS "/windows" !define MUI_PROGRESSBAR "smooth" !define MUI_SPECIALINI "${NSISDIR}\Contrib\Modern UI\ioSpecial.ini" !define MUI_SPECIALBITMAP "${NSISDIR}\Contrib\Icons\modern-wizard.bmp" !define MUI_BGCOLOR "0xFFFFFF" ;======================================================= ; ¡½3.¦h»y¨¥¨t²Î ;======================================================= ; ¸ü¤J Modern UI\System.nsh ¤§¥Î¡C ;========================== ; 3.1 «e¸m¬Û¦PÅܼơAµø»Ý­n¦Ó©w¡C ; ; ³q±`¥X²{¦b§ó´«ª©¥»®É¡A­ì¸}¥»ªºÅܼƮե¿¡C !define MUI_VERSION "${VER_1}.${VER_2}" ;!define NAME "${MUI_PRODUCT}" ;Åã¥Ü¤¤¤å¤Æ¼ÐÃD¡A¨Ì ENU/CHT/CHS »y¨¥ªº¤£¦P¡C CAPTION /LANG=1033 "${MUI_PRODUCT} ${MUI_VERSION} ${PATCHTYPE_ENU}" CAPTION /LANG=1028 "${MUI_PRODUCT} ${MUI_VERSION} ${PATCHTYPE_CHT}" CAPTION /LANG=2052 "${MUI_PRODUCT} ${MUI_VERSION} ${PATCHTYPE_CHS}" ;========================== ; 3.2 ¸ü¤J Modern UI ¨t²Î !include "${NSISDIR}\Contrib\Modern UI\System.nsh" ;========================== ; 3.3 ¨Ï¥ÎªÌ¤¶­± ; ; ¦pªG¤£­n³o¨Ç¹ï¸Ü¤è¶ô¡A¤£°µ define ¡A´N¤£·|¥X²{¡C !define MUI_WELCOMEPAGE ;Åwªï­¶­± !define MUI_LICENSEPAGE ;±ÂÅv­¶­± !define MUI_LICENSEPAGE_RADIOBUTTONS !define MUI_COMPONENTSPAGE ;¤¸¥ó­¶­± !define MUI_DIRECTORYPAGE ;¥Ø¿ý¿ï¾Ü !define MUI_ABORTWARNING ;¤¤¤îĵ§i !define MUI_UNINSTALLER ;¸Ñ°£¦w¸Ëµ{¦¡ !define MUI_UNCONFIRMPAGE ;¤£°µ½T»{­¶­± ; !define MUI_STARTMENUPAGE ;¿ï¾Ü¶}©l¥\¯àªí !define MUI_FINISHPAGE ;¥X²{§¹¦¨­¶­±¡A°õ¦æµ{¦¡©MŪ§Ú¡C !define MUI_FINISHPAGE_NOAUTOCLOSE !define MUI_FINISHPAGE_RUN "$INSTDIR\${PROGMAINEXE}" !define MUI_FINISHPAGE_SHOWREADME "$(FILE_README)" ;============================== ; 3.4 ¦U°ê»y¨¥ ; ¶ë¤F ENU/CHT/CHS ¤T­Ó»y¨¥¡C§A­n 18 ­Ó»y¨¥¥þ¶ë¡A¤]¤£¤Ï¹ï¡C¤j¤p¤j·§¼W¥[ 20 kb ¥ª¥k¡C ; ¦pªG¤£¬O¦h»y¨¥¤¤¤å¤Æ¦w¸Ë¡A§A¥i¥H¥þ³¡ remark ±¼¡C !insertmacro MUI_LANGUAGE "English" !insertmacro MUI_LANGUAGE "SimpChinese" !insertmacro MUI_LANGUAGE "TradChinese" ;============================== ; 3.5 ±ÂÅv¤å¦r (* ¶i¶¥) ; ; ³o¨ÇÀɮרS¦³¥X²{¦b NSIS ¹w³]¥]¤º¡C¦pªG§A¤â¤W¨S¦³ license ÀɮסA ; ½Ðª½±µ remark ±¼¡C ; ³o¨ÇªF¦è·|¥ý³Q¸ÑÀ£ÁY¥X¨Ó¡C«O¯d³o´X¦æ¦b¥ô¦ó File «ü¥O¤§«e!) ; ¥u¯à¥Î©ó BZIP2 À£ÁY LicenseData /LANG=${LANG_ENGLISH} "${NSISDIR}\Examples\Modern UI\license_enu.rtf" LicenseData /LANG=${LANG_SIMPCHINESE} "${NSISDIR}\Examples\Modern UI\license_chs.rtf" LicenseData /LANG=${LANG_TRADCHINESE} "${NSISDIR}\Examples\Modern UI\license_cht.rtf" !insertmacro MUI_RESERVEFILE_LANGDLL ;======================================================= ; ¡½4.¦w¸Ëµ{¦¡¡A¦w¸Ë¶}©lªº«e¸m°Ê§@ (* ¶i¶¥) ;======================================================= ; ¦pªG¤£»Ý­n¡A§A¥i¥H¥þ³¡ remark¡C Function .onInit ;============================== ; 4.1 Åã¥Üª©Åv¼v¹³ ; ; advsplash (NSIS ´¡¥ó)¡C¸ÑÀ£ÁY¨ìÁ{®É¥Ø¿ý¡AÅã¥Ü splash ¡AµM«á§R°£¡C SetOutPath $TEMP File /oname=splash1.bmp ${SPLASH1} ; File /oname=splash2.bmp ${SPLASH2} advsplash::show 1200 600 400 -1 $TEMP\splash1 ; advsplash::show 1200 600 400 -1 $TEMP\splash2 Pop $0 ; $0 has '1' if the user closed the splash screen early, ; '0' if everything closed normal, and '-1' if some error occured. Delete $TEMP\spltmp.exe Delete $TEMP\splash1.bmp ; Delete $TEMP\splash2.bmp ;============================== ; 4.2 ¦r«¬¿ï¾Ü (* ¶i¶¥) ; ; ¥u¼vÅT¦w¸Ëµ{¦¡ªº»y¨¥¿ï¾Ü dialog ¡A¦]¦¹¤£­n¨Ï¥Î¤¤¤å¦r«¬¦WºÙ¡C Push Verdana Push 9 ;============================== ; 4.3 »y¨¥¿ï¾Ü (* ¶i¶¥) ; ¤W­±³o¤@¥y¡A¤£­n¤¤¤å¤Æ¡C°£«D§A·QÅý¦Ñ¥~¬Ý¨ì¶Ã½X¡C ; ¦pªG³o¤@¦æ§¹¥þ¤£¥Î¡A¨º´N·|ª½±µ¸õ¸Ó»y¨¥ªº¿ï¶µ¡C !insertmacro MUI_LANGDLL_DISPLAY LangDLL::LangDialog "Installer Language" "Please select a language." Pop $LANGUAGE StrCmp $LANGUAGE "cancel" 0 +2 Abort ;============================== ; 4.4 ¦w¸Ë«e¸m°Ê§@ (­×§ïµù¥Uªí) (* ¶i¶¥) ; ; µø§A»Ý­n¡A¥i¥H°½°½°µ¤@¨Ç°Ê§@¡C ; DeleteRegKey HKLM "SOFTWARE\Classes\CLSID\{b5eedee0-c06e-11cf-8c56-444553540000}\InProcServer32" ; DeleteRegKey HKLM "SOFTWARE\Classes\CLSID\{b5eedee0-c06e-11cf-8c56-444553540000}" ;============================== ; 4.5 ´M§äª©¤w¦w¸Ëªº¥Ø¿ý¡C (* ¶i¶¥) ; ; ¦pªG AppPath Ū¥Xªº§ÀºÝ¦³ \ ²Å¸¹¡A½Ð¤£­nª½±µ¨Ï¥Î©ó INSTDIR «ü¥O¡A¥H§Kµo¥Í¿ù»~¡C ; ReadRegStr $AppPath HKLM "SOFTWARE\Alt-N Technologies\MDaemon" "AppPath" FunctionEnd ;======================================================= ; ¡½5.¦w¸Ëµ{¦¡¡A¦w¸Ë§¹¦¨«á¸m°Ê§@ (* ¶i¶¥) ;======================================================= ; ¦pªG¤£»Ý­n¡A§A¥i¥H¥þ³¡ remark¡C ;============================== ; 5.1 ¨ç¦¡©w¸q¶}©l Function .onInstSuccess ;============================== ; 5.2 ¦w¸Ë§¹¦¨«á¡A°õ¦æ ExecShell ; ; µø­Ó¤H»Ý­n¦Ó©w¡A§Ú¥u¥Î¦b Eudora ¦w¸Ë¦Ó¤w¡C ; MessageBox MB_YESNO|MB_ICONQUESTION $(Str_Finish1) IDNO Nomapi ; ExecShell open '$INSTDIR\SWMAPI.EXE' ; Nomapi: ;============================== ; 5.3 ¦w¸Ë«á¡A­n¨D¨Ï¥ÎªÌŪ¨ú README ÀÉ®× ; MessageBox MB_YESNO|MB_ICONQUESTION $(Str_Finish2) IDNO NoReadme ; ExecShell open $(FILE_README) ;NoReadme: ;============================== ; 5.4 ¨ç¦¡©w¸qµ²§ô FunctionEnd ;======================================================= ; ¡½6.¦w¸Ëªº©Ò¦³ÀÉ®× ;======================================================= ;============================== ; 6.1 ¦w¸ËÃþ«¬ ; ¨âºØÀ³¸Ó«Ü°÷¤F¡C InstType "$(desc_InstMin)" InstType "$(desc_InstStd)" InstType "$(desc_InstFul)" ;InstType "$(desc_InstCHT)" ;InstType "$(desc_InstCHS)" ;InstType "$(desc_InstENU)" SetOverwrite on ;============================== ; 6.3 ¦w¸Ëªº¦U­Ó¸`¬q ; Section "${MUI_PRODUCT}" Sec${MUI_PRODUCT} Section "$(S01)" SecS01 SectionIn 1 2 3 ; 6.3.1 ¤¤¤å¤ÆªºÅª§Ú ; ³q±`¶ë¦b¦w¸Ëªº¥D¥Ø¿ý¡C SetOutPath $INSTDIR File "${README_CHT}" File "${README_CHS}" ; 6.3.2 ¤¤¤å¤Æªºµ{¦¡ÀÉ®× ; ³q±`¤£¨Ï¥Î *.* «¬ºA¡A¦Ó­Ó§O«ü©w¡A¥H§K¥]¸Ë¿ù»~¡C ; ±`±`¬O *.DLL *.EXE *.AX µ¥Ãþ«¬¡C§Ú³£§â³oÃþ©ñ¦b cht ¬°­ºªº¤u§@¥Ø¿ý¡C SetOutPath $INSTDIR File /r "pack\*.*" SetOutPath "$INSTDIR\Lang" File /r "cht\*.*" WriteRegStr HKCU "Software\HM Software\NIS Edit\Options" \ "Language" "$(language_type)" SectionEnd ;============================== ; 6.4 ¥[¤J¨ì¡u¶}©l¿ï³æ¡v ; ;Section "Add shortcut to Start Menu" SecStartMenu Section "$(S11)" SecS11 SectionIn 1 2 3 SetOutPath "$INSTDIR" CreateDirectory "$SMPROGRAMS\${MUI_PRODUCT}" ; ¦³®É­Ô CreateShortCut ·|¥X°ÝÃD¡A¤£¦p¥Î³o­Ó°Ê§@ ; ª½±µ±j¨î installer «Ø¥ß¥Ø¿ý¡C³o¼Ë¤ñ¸û½â¡C ; CreateShortCut "$SMPROGRAMS\${MUI_PRODUCT}\Start ${MUI_PRODUCT}.lnk" "$INSTDIR\${PROGMAINEXE}" CreateShortCut $(shtcut_SMlink01) $(shtcut_SMfile01) ; CreateShortCut $(shtcut_SMlink01) $(shtcut_SMfile02) ; CreateShortCut $(shtcut_SMlink01) $(shtcut_SMfile03) ; CreateShortCut $(shtcut_SMlink01) $(shtcut_SMfile04) ; CreateShortCut "$SMPROGRAMS\${MUI_PRODUCT}\Uninstall ${MUI_PRODUCT}.lnk" "$INSTDIR\Uninstall.exe" CreateShortCut $(shtcut_SMlink20) $(shtcut_SMfile20) SectionEnd ;============================== ; 6.5 ¥[¤J¨ì¡u®à­±¡v ; ;Section "Add shortcut to Desktop" SecDesktop Section "$(S12)" SecS12 SectionIn 1 2 3 ; CreateShortCut "$DESKTOP\${MUI_PRODUCT}.lnk" "$INSTDIR\${PROGMAINEXE}" CreateShortCut $(shtcut_DTlink01) $(shtcut_DTfile01) ; CreateShortCut $(shtcut_DTlink02) $(shtcut_DTfile02) SectionEnd ;============================== ; 6.6 ¥[¤J¨ì¡u§Ö³t±Ò°Ê¡v ; ; ¤£¬O¨C­Óµ{¦¡³£­n¥[¤J¡u§Ö³t±Ò°Ê¡v¦C¡Aµø»Ý­n¦Ó©w¡C ; ¦Ó¥B¬é¥Î¦b§¹¾ã¦w¸Ë¡C ;Section "Add shortcut to Quicklaunch" SecQuicklaunch Section "$(S13)" SecS13 SectionIn 3 ; CreateShortCut "$QUICKLAUNCH\${MUI_PRODUCT}.lnk" "$INSTDIR\${PROGMAINEXE}" CreateShortCut $(shtcut_QLlink01) $(shtcut_QLfile01) SectionEnd ;============================== ; 6.7 ¥[¤J¨ì¡u·Æ¹«¥kÁä¡v (* ¶i¶¥) ; ; ¥u¥Î¦b UltraEdit ;Section "Add to Right mouse button" SecRightMouse ;Section "$(S14)" SecS14 ; SectionIn 1 2 3 ; WriteRegStr HKLM "SOFTWARE\Classes\*\shellex\ContextMenuHandlers\UltraEdit-32" "" "{b5eedee0-c06e-11cf-8c56-444553540000}" ; WriteRegStr HKLM "SOFTWARE\Classes\CLSID\{b5eedee0-c06e-11cf-8c56-444553540000}" "" "UltraEdit-32" ; WriteRegStr HKLM "SOFTWARE\Classes\CLSID\{b5eedee0-c06e-11cf-8c56-444553540000}\InProcServer32" "" "$INSTDIR\ue32ctmn.dll" ; WriteRegStr HKLM "SOFTWARE\Classes\CLSID\{b5eedee0-c06e-11cf-8c56-444553540000}\InProcServer32" "ThreadingModel" "Apartment" ;SectionEnd ;======================================================= ; ¡½7.¼g¤J¸Ñ°£¦w¸Ëµ{¦¡ ;======================================================= ; ¦pªG§A¶û¤ÓÃø¡A¥i¥H¤£¼g¸Ñ°£¦w¸Ëµ{¦¡¡A¥þ³¡ remark ±¼¡C ;============================== ; 7.1 ¸`¬q¶}©l ;Section "Create Uninstaller" SecCreateUninst Section "$(S15)" SecS15 SectionIn 1 2 3 ;============================== ; 7.2 ¼g¤J¨ì¡uµù¥Uªí¡v(°ò¦) ; ; ¤@¯ë¥u¦³¼g¤U­±³o¤@¬q¡A«ü©w¦w¸Ë¥Ø¿ý¡C WriteRegStr HKLM "SOFTWARE\${MUI_PRODUCT}" "Install_Dir" "$INSTDIR" WriteRegStr HKLM "SOFTWARE\${MUI_PRODUCT}" "Installer Language" $LANGUAGE ;============================== ; 7.3 ¼g¤J¨ì¡uµù¥Uªí¡v (* ¶i¶¥) ; ; ¤U­±³o¬qµù¥Uªí­È¡A¥u¬O¦b {±±¨î¥x | ·s¼W²¾°£µ{¦¡] ªá«N¥Îªº¡C ; ¦pªG¬Ý¤£À´¡A¥i¥H¥þ³¡¤£¨Ï¥Î¡C ; °Ñ¦Ò http://leoboard.cpatch.org/cgi-bin/topic.cgi?forum=2&topic=24&show=0 ; WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" \ "DisplayIcon" "$INSTDIR\${PROGMAINEXE}" ; ¤@¯ë¨Ï¥Î³o­Ó«¬ºA¡C¥u¦³ MDaemon ¨Ò¥~¡C WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" \ "DisplayName" "${MUI_PRODUCT} ${MUI_VERSION} ${PATCHTYPE_ENU}" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" \ "DisplayVersion" "${VER_1}.${VER_2}" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" \ "UninstallString" "$INSTDIR\uninstall.exe" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" \ "URLInfoAbout" "${URLABOUT}" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" \ "Contact" "kiiali@cpatch.org" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" \ "HelpLink" "${URLHELP}" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" \ "URLUpdateInfo" "${URLUPDATE}" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" \ "Readme" $(Reg_FILE_README) ;============================== ; 7.4 ¨Ì·Ó¦UºØ»y¨¥¡A¦Û°Ê¼g¤J¤£¦Pªºµù¥Uªí­È (* ¶i¶¥) ; ¥]¬A ENU/CHT/CHS WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" "Comments" "$(Reg_comments)" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" "Publisher" "Copyright (c) ${Publisher}" ;------------------------------------------ ;============================== ; 7.6 ²{¦b¼g¤J¡u¸Ñ°£¦w¸Ëµ{¦¡¡v ; ¼g¤J»y¨¥¦WºÙ¨ìµù¥Uªí (¥Î©ó¸Ñ°£¦w¸Ëµ{¦¡) WriteRegStr HKLM "Software\${MUI_PRODUCT}" "Installer Language" $LANGUAGE WriteUninstaller "$INSTDIR\Uninstall.exe" SectionEnd ;============================== ; 7.8 Åã¥Ü¡u§¹¦¨¡v¼ÐÀY ;¦pªG¤£·Q¨Ï¥Î¡u§¹¦¨¡v­¶­±¡A¦b³o­Ó¥¨¶°¤§«á´¡¤J¡C ;!insertmacro MUI_SECTIONS_FINISHHEADER ;======================================================= ; ¡½8.´y­z¥\¯à ;======================================================= ;============================== ; 8.1 ´y­z¥\¯àªº¥¨¶° (* ¶i¶¥) ; ; ¦pªG¦³´y­z¡A³Ì¦n¤@­Ó¤@­Ó¥[¤J¥¨¶°¡C ; ³o¤@¬q­n¦b©Ò¦³ªº section ¤§«á¡A§_«h·|¥X²{¡uÅܼƦWºÙ¨S¦³§ä¨ì¡v¡C ; ¦pªG MUI_FUNCTIONS_DESCRIPTION_BEGIN ©î¦¨¨â¬q¡A·|Åܦ¨­«ÂЩI¥s¡A¦Ó¾É­P¿ù»~¡C !insertmacro MUI_FUNCTIONS_DESCRIPTION_BEGIN !insertmacro MUI_DESCRIPTION_TEXT ${SecS01} $(DESC_SecS01) ; !insertmacro MUI_DESCRIPTION_TEXT ${SecS02} $(DESC_SecS02) ; !insertmacro MUI_DESCRIPTION_TEXT ${SecS03} $(DESC_SecS03) ; !insertmacro MUI_DESCRIPTION_TEXT ${SecS04} $(DESC_SecS04) ; !insertmacro MUI_DESCRIPTION_TEXT ${SecS05} $(DESC_SecS05) !insertmacro MUI_DESCRIPTION_TEXT ${SecS11} $(DESC_SecS11) !insertmacro MUI_DESCRIPTION_TEXT ${SecS12} $(DESC_SecS12) !insertmacro MUI_DESCRIPTION_TEXT ${SecS13} $(DESC_SecS13) !insertmacro MUI_DESCRIPTION_TEXT ${SecS14} $(DESC_SecS14) !insertmacro MUI_DESCRIPTION_TEXT ${SecS15} $(DESC_SecS15) !insertmacro MUI_FUNCTIONS_DESCRIPTION_END ; ;============================== ; 8.2 ¨C­Ó¸`¬qªº´y­z¤å¦r¡Aª½±µ¨Ï¥Î¦U°ê»y¨¥ ; ; ³o¬OÅý·Æ¹«²¾°Ê¨ì¦w¸Ë¶µ¥Ø¤W®É¡A¦Û°Ê¥X²{ªº´y­z¥\¯à¡C ; §Ú¨Ï¥Î ENU/CHT/CHS ¤T­Ó»y¨¥¡C¦pªG¶û³Â·Ð¡A¥i¥H¥u¨Ï¥Î¤@­Ó»y¨¥¡A¬Æ¦Ü¤£¨Ï¥Î´y­z¡C ; ¡´²£«~ªº¬ÛÃö»¡©ú (¸Ñ°£¦w¸Ëªºµù¥Uªí¶µ) LangString Reg_comments ${LANG_ENGLISH} "Chinese (P.R.C.) and Chinese (Taiwan) ${MUI_PRODUCT} localized version by Kii Ali. HM NIS Edit is the best Open Source script editor for Nullsoft Scriptable Install System (NSIS). It's useful for experts and beginner in the creation of Setup programs with the NSIS. " LangString Reg_comments ${LANG_TRADCHINESE} "¤¤¤å (¤¤°ê¤j³°) »P ¤¤¤å (»OÆW) ${MUI_PRODUCT} ¥»¦a¤Æª©¥»¡A¥Ñ Kii Ali »s§@¡CHM NIS Edit ¥Î©ó¡@Nullsoft Scriptable Install System (NSIS)¡@¡A¬O³Ì¨Îªº¶}©ñ¨Ó·½½Xªº¸}¥»½s¿è¾¹¡C¥¦¯à¥Î©ó±M®a»Pªì¾ÇªÌ¡AÀ°§U§A¨Ï¥Î NSIS «Ø¥ß§¹¾ãªº¦w¸Ëµ{¦¡¡C" LangString Reg_comments ${LANG_SIMPCHINESE} "ÖÐÎÄ (Öйú´ó½) Óë ÖÐÎÄ (̨Íå) ${MUI_PRODUCT} ±¾µØ»¯°æ±¾£¬ÓÉ Kii Ali ÖÆ×÷¡£HM NIS Edit ÓÃÓÚ¡¡Nullsoft Scriptable Install System (NSIS)¡¡£¬ÊÇ×î¼ÑµÄ¿ª·ÅÔ´´úÂëµÄ½Å±¾±à¼­Æ÷¡£ËüÄÜÓÃÓÚר¼ÒÓë³õѧÕߣ¬°ïÖúÄãʹÓà NSIS ´´½¨ÍêÕûµÄ°²×°³ÌÐò¡£" ; ¡´²£«~¬ÛÃö readme (¸Ñ°£¦w¸Ëªºµù¥Uªí¶µ) LangString Reg_FILE_README ${LANG_ENGLISH} "file:///$INSTDIR\${README_ENU}" LangString Reg_FILE_README ${LANG_TRADCHINESE} "file:///$INSTDIR\${README_CHT}" LangString Reg_FILE_README ${LANG_SIMPCHINESE} "file:///$INSTDIR\${README_CHS}" ; ¡´²£«~¬ÛÃö readme (¦w¸Ëªº³Ì«á¤@­Óµøµ¡Åã¥Ü) LangString FILE_README ${LANG_ENGLISH} "$INSTDIR\${README_ENU}" LangString FILE_README ${LANG_TRADCHINESE} "$INSTDIR\${README_CHT}" LangString FILE_README ${LANG_SIMPCHINESE} "$INSTDIR\${README_CHS}" ; ¡´²£«~¬ÛÃö language LangString language_type ${LANG_ENGLISH} "english" LangString language_type ${LANG_TRADCHINESE} "chinese_traditional" LangString language_type ${LANG_SIMPCHINESE} "chinese_simplified" ; ¡´SM ¶}©l¿ï³æ/DT ®à­±/QL §Ö³t±Ò°Ê¡A¨Ì·Ó»y¨¥«Ø¥ß±¶®|¦WºÙ ; ¦]¬°·Q¦b®à­±¤W¡A¬Ý¨ì¡u¤¤¤å¡v±¶®|¦WºÙªº¤H¡A¹ê¦b¤Ó¦h¤F¡C©Ò¥H¬é¦n°µ¤F¡C ; link «á­±·íµM³£¥i¥H¨Ï¥Î¤¤¤å¦WºÙ¡Cfile ªº³¡¤À¡A³£¬O¹êÅé³sµ²ªºÀɮסA·íµM¤£­n¨Ï¥Î¤¤¤å¦WºÙ¡C LangString shtcut_SMlink01 ${LANG_ENGLISH} "$SMPROGRAMS\${MUI_PRODUCT}\Start ${MUI_PRODUCT}.lnk" ; LangString shtcut_SMlink02 ${LANG_ENGLISH} "$SMPROGRAMS\${MUI_PRODUCT}\BlahBlahxxxx.lnk" ; LangString shtcut_SMlink03 ${LANG_ENGLISH} "$SMPROGRAMS\${MUI_PRODUCT}\BlahBlahxxxx.lnk" ; LangString shtcut_SMlink04 ${LANG_ENGLISH} "$SMPROGRAMS\${MUI_PRODUCT}\BlahBlahxxxx.lnk" LangString shtcut_SMlink20 ${LANG_ENGLISH} "$SMPROGRAMS\${MUI_PRODUCT}\Uninstall ${MUI_PRODUCT}.lnk" LangString shtcut_DTlink01 ${LANG_ENGLISH} "$DESKTOP\${MUI_PRODUCT}.lnk" ; LangString shtcut_DTlink02 ${LANG_ENGLISH} "$DESKTOP\BlahBlahxxxx.lnk" LangString shtcut_QLlink01 ${LANG_ENGLISH} "$QUICKLAUNCH\${MUI_PRODUCT}.lnk" LangString shtcut_SMfile01 ${LANG_ENGLISH} "$INSTDIR\${PROGMAINEXE}" ; LangString shtcut_SMfile02 ${LANG_ENGLISH} "$INSTDIR\BlahBlahxxxx.exe" ; LangString shtcut_SMfile03 ${LANG_ENGLISH} "$INSTDIR\BlahBlahxxxx.exe" ; LangString shtcut_SMfile04 ${LANG_ENGLISH} "$INSTDIR\BlahBlahxxxx.exe" LangString shtcut_SMfile20 ${LANG_ENGLISH} "$INSTDIR\Uninstall.exe" LangString shtcut_DTfile01 ${LANG_ENGLISH} "$INSTDIR\${PROGMAINEXE}" ; LangString shtcut_DTfile02 ${LANG_ENGLISH} "$INSTDIR\BlahBlahxxxx.exe" LangString shtcut_QLfile01 ${LANG_ENGLISH} "$INSTDIR\${PROGMAINEXE}" LangString shtcut_SMlink01 ${LANG_TRADCHINESE} "$SMPROGRAMS\${MUI_PRODUCT}\¶}©l ${MUI_PRODUCT}.lnk" ; LangString shtcut_SMlink02 ${LANG_TRADCHINESE} "$SMPROGRAMS\${MUI_PRODUCT}\BlahBlahxxxx.lnk" ; LangString shtcut_SMlink03 ${LANG_TRADCHINESE} "$SMPROGRAMS\${MUI_PRODUCT}\BlahBlahxxxx.lnk" ; LangString shtcut_SMlink04 ${LANG_TRADCHINESE} "$SMPROGRAMS\${MUI_PRODUCT}\BlahBlahxxxx.lnk" LangString shtcut_SMlink20 ${LANG_TRADCHINESE} "$SMPROGRAMS\${MUI_PRODUCT}\¸Ñ°£¦w¸Ë ${MUI_PRODUCT}.lnk" LangString shtcut_DTlink01 ${LANG_TRADCHINESE} "$DESKTOP\${MUI_PRODUCT}.lnk" ; LangString shtcut_DTlink02 ${LANG_TRADCHINESE} "$DESKTOP\BlahBlahxxxx.lnk" LangString shtcut_QLlink01 ${LANG_TRADCHINESE} "$QUICKLAUNCH\${MUI_PRODUCT}.lnk" LangString shtcut_SMfile01 ${LANG_TRADCHINESE} "$INSTDIR\${PROGMAINEXE}" ; LangString shtcut_SMfile02 ${LANG_TRADCHINESE} "$INSTDIR\BlahBlahxxxx.exe" ; LangString shtcut_SMfile03 ${LANG_TRADCHINESE} "$INSTDIR\BlahBlahxxxx.exe" ; LangString shtcut_SMfile04 ${LANG_TRADCHINESE} "$INSTDIR\BlahBlahxxxx.exe" LangString shtcut_SMfile20 ${LANG_TRADCHINESE} "$INSTDIR\Uninstall.exe" LangString shtcut_DTfile01 ${LANG_TRADCHINESE} "$INSTDIR\${PROGMAINEXE}" ; LangString shtcut_DTfile02 ${LANG_TRADCHINESE} "$INSTDIR\BlahBlahxxxx.exe" LangString shtcut_QLfile01 ${LANG_TRADCHINESE} "$INSTDIR\${PROGMAINEXE}" LangString shtcut_SMlink01 ${LANG_SIMPCHINESE} "$SMPROGRAMS\${MUI_PRODUCT}\¿ªÊ¼ ${MUI_PRODUCT}.lnk" ; LangString shtcut_SMlink02 ${LANG_SIMPCHINESE} "$SMPROGRAMS\${MUI_PRODUCT}\BlahBlahxxxx.lnk" ; LangString shtcut_SMlink03 ${LANG_SIMPCHINESE} "$SMPROGRAMS\${MUI_PRODUCT}\BlahBlahxxxx.lnk" ; LangString shtcut_SMlink04 ${LANG_SIMPCHINESE} "$SMPROGRAMS\${MUI_PRODUCT}\BlahBlahxxxx.lnk" LangString shtcut_SMlink20 ${LANG_SIMPCHINESE} "$SMPROGRAMS\${MUI_PRODUCT}\½â³ý°²×° ${MUI_PRODUCT}.lnk" LangString shtcut_DTlink01 ${LANG_SIMPCHINESE} "$DESKTOP\${MUI_PRODUCT}.lnk" ; LangString shtcut_DTlink02 ${LANG_SIMPCHINESE} "$DESKTOP\BlahBlahxxxx.lnk" LangString shtcut_QLlink01 ${LANG_SIMPCHINESE} "$QUICKLAUNCH\${MUI_PRODUCT}.lnk" LangString shtcut_SMfile01 ${LANG_SIMPCHINESE} "$INSTDIR\${PROGMAINEXE}" ; LangString shtcut_SMfile02 ${LANG_SIMPCHINESE} "$INSTDIR\BlahBlahxxxx.exe" ; LangString shtcut_SMfile03 ${LANG_SIMPCHINESE} "$INSTDIR\BlahBlahxxxx.exe" ; LangString shtcut_SMfile04 ${LANG_SIMPCHINESE} "$INSTDIR\BlahBlahxxxx.exe" LangString shtcut_SMfile20 ${LANG_SIMPCHINESE} "$INSTDIR\Uninstall.exe" LangString shtcut_DTfile01 ${LANG_SIMPCHINESE} "$INSTDIR\${PROGMAINEXE}" ; LangString shtcut_DTfile02 ${LANG_SIMPCHINESE} "$INSTDIR\BlahBlahxxxx.exe" LangString shtcut_QLfile01 ${LANG_SIMPCHINESE} "$INSTDIR\${PROGMAINEXE}" ; ¡´¦w¸Ë«e«á¡A¹ï¸Ü¤è¶ô¥X²{ªº¦r¦ê¡C ; LangString Str_Begin1 ${LANG_ENGLISH} "blah..." ; LangString Str_Begin1 ${LANG_TRADCHINESE} "blah..." ; LangString Str_Begin1 ${LANG_SIMPCHINESE} "blah..." ; LangString Str_Finish1 ${LANG_ENGLISH} "Do you want to install ${NAME} as a default mailer? It will execute MAPI installer." ; LangString Str_Finish1 ${LANG_TRADCHINESE} "§A·Q­n¦w¸Ë ${NAME} °µ¬°¹w³]«H¥óµ{¦¡¶Ü¡H±N°õ¦æ¥~³¡ MAPI ¦w¸Ëµ{¦¡¡C" ; LangString Str_Finish1 ${LANG_SIMPCHINESE} "ÄãÏëÒª°²×° ${NAME} ×öΪĬÈÏÓʼþ³ÌÐòÂ𣿽«ÔËÐÐÍⲿ MAPI °²×°³ÌÐò¡£" ; LangString Str_Finish2 ${LANG_ENGLISH} "Setup has been completed successfully . Press [Yes] to continue README file." "${README_ENU}" ; LangString Str_Finish2 ${LANG_TRADCHINESE} "¦w¸Ë¤w¦¨¥\¦a§¹¦¨¡C«ö¤U [Yes] Ä~ÄòŪ¨ú README ÀɮסC" "${README_CHT}" ; LangString Str_Finish2 ${LANG_SIMPCHINESE} "°²×°Òѳɹ¦µØÍê³É¡£°´Ï [Yes] ¼ÌÐø¶ÁÈ¡ README Îļþ¡£" "${README_CHS}" ; ¡´¦w¸Ë®Éªº Section LangStringUp desc_InstMin ${LANG_ENGLISH} "Minimum Installation" LangStringUp desc_InstStd ${LANG_ENGLISH} "Standard Installation" LangStringUp desc_InstFul ${LANG_ENGLISH} "Full Installation" LangStringUp desc_InstCHT ${LANG_ENGLISH} "TradChinese Optimal Installation" LangStringUp desc_InstCHS ${LANG_ENGLISH} "SimpChinese Optimal Installation" LangStringUp desc_InstENU ${LANG_ENGLISH} "English Optimal Installation" LangString S01 ${LANG_ENGLISH} "${MUI_PRODUCT} Main Prog" LangString S11 ${LANG_ENGLISH} "Add icon to Start Menu" LangString S12 ${LANG_ENGLISH} "Add icon to Desktop" LangString S13 ${LANG_ENGLISH} "Add icon to QuickLaunch" LangString S14 ${LANG_ENGLISH} "Add function of mouse right-click" LangString S15 ${LANG_ENGLISH} "Create Uninstaller" LangString DESC_SecS01 ${LANG_ENGLISH} "Install ${MUI_PRODUCT} Main Prog. If this item not selected, it will be nothing to install." LangString DESC_SecS11 ${LANG_ENGLISH} "Generally and periodically used program: we will use Start Menu to classify generally." LangString DESC_SecS12 ${LANG_ENGLISH} "Frequently used program: we suggest put their link to Desktop. Begin to work instantly,no need to Start Menu." LangString DESC_SecS13 ${LANG_ENGLISH} "Very frequently used program: we suggest put their link to QuickLaunch" LangString DESC_SecS14 ${LANG_ENGLISH} "Build the context menu and file association, more faster to access your files." LangString DESC_SecS15 ${LANG_ENGLISH} "If you would not want to keep use of this program, you need to build a Uninstaller." LangStringUp desc_InstMin ${LANG_TRADCHINESE} "³Ì¤p¦w¸Ë" LangStringUp desc_InstStd ${LANG_TRADCHINESE} "¼Ð·Ç¦w¸Ë" LangStringUp desc_InstFul ${LANG_TRADCHINESE} "§¹¾ã¦w¸Ë" LangStringUp desc_InstCHT ${LANG_TRADCHINESE} "ÁcÅ餤¤å³Ì¾A¦w¸Ë" LangStringUp desc_InstCHS ${LANG_TRADCHINESE} "²Å餤¤å³Ì¾A¦w¸Ë" LangStringUp desc_InstENU ${LANG_TRADCHINESE} "­^¤å³Ì¾A¦w¸Ë" LangString S01 ${LANG_TRADCHINESE} "${MUI_PRODUCT} ¥Dµ{¦¡" LangString S11 ${LANG_TRADCHINESE} "¥[¤J¹Ï¥Ü¨ì¶}©l¥\¯àªí" LangString S12 ${LANG_TRADCHINESE} "¥[¤J¹Ï¥Ü¨ì®à­±" LangString S13 ${LANG_TRADCHINESE} "¥[¤J¹Ï¥Ü¨ì§Ö³t±Ò°Ê" LangString S14 ${LANG_TRADCHINESE} "¥[¤J·Æ¹«¥kÁä¥\¯à" LangString S15 ${LANG_TRADCHINESE} "«Ø¥ß¸Ñ°£¦w¸Ëµ{¦¡" LangString DESC_SecS01 ${LANG_TRADCHINESE} "¦w¸Ë ${MUI_PRODUCT} ¥Dµ{¦¡¡C­Y³o¤@¶µ¨S¦³¿ï¾Ü¡A´N¨S¦³µ{¦¡¥i¥H¦w¸Ë¤F¡C" LangString DESC_SecS11 ${LANG_TRADCHINESE} "¤@¯ë»P°¸º¸¨Ï¥Îªºµ{¦¡¡G³q±`³£·|¨Ï¥Î¶}©l¥\¯àªí¨Ó¶i¦æ¤ÀÃþ¡C" LangString DESC_SecS12 ${LANG_TRADCHINESE} "±`¥Îªºµ{¦¡¡G«Øij±N¨ä³sµ²©ñ¦b®à­±¡A¤£¥²¦A¨ì¶}©l¥\¯àªí´M§ä¡A°¨¤W´N¥i¥H¶}©l¤u§@¡C" LangString DESC_SecS13 ${LANG_TRADCHINESE} "·¥±`¨Ï¥Îªºµ{¦¡¡G«Øij©ñ¦b§Ö³t±Ò°Ê¡C" LangString DESC_SecS14 ${LANG_TRADCHINESE} "«Ø¥ß·Æ¹«¥kÁ䪺¨tµ¸¿ï³æ»PÀÉ®×ÃöÁp¡A§ó§Ö³tªº¦s¨ú§AªºÀɮסC" LangString DESC_SecS15 ${LANG_TRADCHINESE} "¸U¤@¤é«á¤£·QÄ~Äò¨Ï¥Î¦¹µ{¦¡®É¡A­n¹w¥ý«Ø¥ß¸Ñ°£¦w¸Ëµ{¦¡¡C" LangStringUp desc_InstMin ${LANG_SIMPCHINESE} "×îС°²×°" LangStringUp desc_InstStd ${LANG_SIMPCHINESE} "±ê×¼°²×°" LangStringUp desc_InstFul ${LANG_SIMPCHINESE} "ÍêÕû°²×°" LangStringUp desc_InstCHT ${LANG_SIMPCHINESE} "·±ÌåÖÐÎÄ×îÊÊ°²×°" LangStringUp desc_InstCHS ${LANG_SIMPCHINESE} "¼òÌåÖÐÎÄ×îÊÊ°²×°" LangStringUp desc_InstENU ${LANG_SIMPCHINESE} "Ó¢ÎÄ×îÊÊ°²×°" LangString S01 ${LANG_SIMPCHINESE} "${MUI_PRODUCT} Ö÷³ÌÐò" LangString S11 ${LANG_SIMPCHINESE} "Ìí¼Óͼ±êµ½¿ªÊ¼²Ëµ¥" LangString S12 ${LANG_SIMPCHINESE} "Ìí¼Óͼ±êµ½×ÀÃæ" LangString S13 ${LANG_SIMPCHINESE} "Ìí¼Óͼ±êµ½¿ìËÙÆô¶¯" LangString S14 ${LANG_SIMPCHINESE} "Ìí¼ÓÊó±êÓÒ¼ü¹¦ÄÜ" LangString S15 ${LANG_SIMPCHINESE} "´´½¨½â³ý°²×°³ÌÐò" LangString DESC_SecS01 ${LANG_SIMPCHINESE} "°²×° ${MUI_PRODUCT} Ö÷³ÌÐò¡£ÈôÕâÒ»Ïîδѡ¶¨£¬¾ÍûÓгÌÐò¿ÉÒÔ°²×°ÁË¡£" LangString DESC_SecS11 ${LANG_SIMPCHINESE} "³£¹æÓ뿶ûʹÓõijÌÐò£ºÍ¨³£¶¼»áʹÓÿªÊ¼²Ëµ¥À´½øÐзÖÀà¡£" LangString DESC_SecS12 ${LANG_SIMPCHINESE} "³£ÓõijÌÐò£º½¨Ò齫ÆäÁ´½Ó·ÅÔÚ×ÀÃ棬²»±ØÔÙµ½¿ªÊ¼²Ëµ¥²éÕÒ£¬ÂíÉϾͿÉÒÔ¿ªÊ¼ÈÎÎñ¡£" LangString DESC_SecS13 ${LANG_SIMPCHINESE} "¼«³£Ê¹ÓõijÌÐò£º½¨Òé·ÅÔÚ¿ìËÙÆô¶¯¡£" LangString DESC_SecS14 ${LANG_SIMPCHINESE} "´´½¨Êó±êÓÒ¼üµÄϵÂç²Ëµ¥ÓëÎļþ¹ØÁª£¬¸ü¿ìËٵķÃÎÊÄãµÄÎļþ¡£" LangString DESC_SecS15 ${LANG_SIMPCHINESE} "ÍòÒ»ÈÕºó²»Ïë¼ÌÐøʹÓô˳ÌÐòʱ£¬ÒªÔ¤ÏÈ´´½¨½â³ý°²×°³ÌÐò¡£" ;======================================================= ; ¡½9.¸Ñ°£¦w¸Ëµ{¦¡¡A¯u¥¿ªº°Ê§@ ;======================================================= ; ³o­Ó³¡¤À¡A©M«e­±ªº«Ø¥ß CreateUninst ¡A·N¨ý¤£¤@¼Ë³á¡C ; «eªÌ: §â uninstaller µ{¦¡°µ¥X¨Ó¡C ; «áªÌ: «ü©w³o­Óµ{¦¡¡A­n§R°£¨º¨ÇÀÉ®×/¥Ø¿ý/µù¥Uªí¶µ¡C ;============================== ; 9.1 ¸`¬q¶}©l Section "Uninstall" ; ­n²¾°£±¼¸Ñ°£¦w¸Ëµ{¦¡ Delete "$INSTDIR\Uninstall.exe" ; ²¾°£ÀÉ®× RMDir /r "$INSTDIR" ; ²¾°£¶}©l¥\¯àªí¡B®à­±¡B§Ö»¼±Ò°Êµ¥±¶®|¡C Delete "$SMPROGRAMS\${MUI_PRODUCT}\*.*" Delete "$DESKTOP\${MUI_PRODUCT}.lnk" Delete "$QUICKLAUNCH\${MUI_PRODUCT}.lnk" RMDir /r "$SMPROGRAMS\${MUI_PRODUCT}" ; ²¾°£¨Ï¥Î¹Lªº¥Ø¿ý¡C RMDir /r "$INSTDIR" ; §R°£ windows µù¥Uªí¤§¤¤ªº¦w¸Ë¸ô®| DeleteRegKey HKLM SOFTWARE\${MUI_PRODUCT} ; §R°£ windows µù¥Uªíªº¸Ñ°£¦w¸Ë DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}" ; §R°£ uninstaller ¨Ï¥Îªº»y¨¥¦WºÙ (* ¶i¶¥) DeleteRegValue HKLM "Software\${MUI_PRODUCT}" "Installer Language" ;Åã¥Ü¡u§¹¦¨¡v¼ÐÀY (* ¶i¶¥) ; !insertmacro MUI_UNFINISHHEADER SectionEnd ;============================== ; 9.2 ¸Ñ°£¦w¸Ëµ{¦¡¡Aªì©l¤Æ¨ç¦¡°Ê§@ (* ¶i¶¥) Function un.onInit ;±qµù¥Uªí¨ú±o»y¨¥¦WºÙ ReadRegStr $LANGUAGE HKLM "Software\${MUI_PRODUCT}" "Installer Language" FunctionEnd ;======================================================= ; ¡½eof ÀÉ®×µ²§À