|
VFP ·R¥ÎªÌªÀ°Ï ¥»°Q½×°Ï¬° Visual Foxpro ·R¥ÎªÌ¸gÅç¥æ¬yªº¦a¤è, ½Ð¦h¦h§Q¥Î"·j´M"ªº¥\¯à, ¥ý¬d¬Ý¬Ý¦³µL«e¨Ò¥i´`, ¦pªGÁÙ¦³¤£À´ªº¦Aµo°Ý. ³¡¥÷¥DÃD¦³ªþ¥[ÀÉ®×, ¶·¥ýµù¥U¦¨¬°ªÀ°Ï©~¥Á¤~¥i¥H¤U¸ü.
|
¤W¤@½g¥DÃD :: ¤U¤@½g¥DÃD |
µoªí¤H |
¤º®e |
Ruey
µù¥U®É¶¡: 2003-03-12 ¤å³¹: 1698 ¨Ó¦Û: tunglo
²Ä 1 ¼Ó
|
µoªí©ó: ¬P´Á¥| ¥|¤ë 22, 2004 2:45 pm ¤å³¹¥DÃD: »s§@¦w¸Ëµ{¦¡--NSIS |
|
|
»s§@¦w¸Ëµ{¦¡--NSIS
¦h»y¨¥¤ä´©¡A³o¸Ó¬O NSIS 2 ³Ì¥O¤HÅå©_ªº¥\¯à¤F¡C
nÁʶR¤@®M¼Æ¤Q¸Uªº InstallShield¡AÁÙ¬O§K¶Oªº Nullsoft
Installation System..?³o´Ú¤p¥©ºë¨}ªºÀÉ®×¥]¸Ëµ{¦¡¡A´N¨¬
°÷Åý±z¦w¸Ë°ò¥»ªº»Ý¨D¡C
¤U¸üÂI
1.down
http://tt.superdown.com/down/nsis20.exe
2.down
http://down2.superdown.com/down/nsis20.exe
NIS edit 2.0b5 ²Ác¤¤¤å¤Æµ{¦¡
³nÅé¦WºÙ¡GNIS edit
¡üª©¥»¡G2.0b5
¡ü¤ÀÃþ¡G¦w¸Ëµ{¦¡
¡üÀô¹Ò¡GWindows 95/98/NT4/2K ^/²¤¤/Ác¤¤
¡ü©Ê½è¡G§K¶O³nÅé
¡üº¶ http://hmne.sourceforge.net/
¤¤¤å¤Æ§@ªÌ¡G¶À°ê®Ñ (Kii Ali)
¡ümailto:kiiali@cpatch.org
¡üICQ¡G5107476
¡üºô¶¡Ghttp://cpatch.org/kiiali/
¡ü
¡½¥»¦a¤Æ´yz
0.¦Û 2003 ¦~°_¡AKii Ali ©Ò¦³ÁcÅ骩§@«~ "Help" ±NĶ¬°¡uÀ°§U
¡v¡A¦^Âk³nÅéì©l¥»·N¡A¤£¦A¿í·Ó·L³nªº¹L«×½Ķ¡A¦Ó³y¦¨¨Ï¥Î
¤Wªº»~¸Ñ¡C
1.¤ä´©»y¨¥: ¦Û°Ê¤Á´«^¤å¡BÁcÅ餤¤å (BIG5) ¡B²Å餤¤å (Gb3612) ¡C
2.¥»¦a¤ÆÀô¹Ò¡G¦b Windows XP 2600 ^¤åª© + ¦h°ê»y¨¥¡A¨Ï¥Î vc5
(ka ²¤Æª©) ¶i¦æ¤¤¤å¤Æ¡C¦bÁcÅ餤¤åª©¡A¦r«¬¥ý¨Ï¥Î¡u²Ó©úÅé9
¡v¦Ó«D·s²Ó©úÅé9 ¡A¨ú±o³Ì¤j¬Û®e©Ê¡C¥X«~®É¦A´«¦¨¡u·s²Ó©úÅé9
¡v©M¡u§ºÅé9¡v¡C
3.´ú¸ÕÀô¹Ò¡G²Å餤¤å¡BÁcÅ餤¤å win98se ´ú¸Õ¥¿±`¡CÅã¥Ü´ú¸Õ³Ì
§C°ò·Ç¬° 810x600x256 small font ¡C
4.¨â©¤¦Wµü®Õ¥¿¡G¨â©¤¹q¸£±M¦³¦Wµü¡A¨Ï¥Î³¯¼e¹F©Ò°µ BGconv
1.0.35 ¡AÃã·J¹ï·Óªí¤Î¦r½X¹ï·Óªí¨Ï¥Î Kii Ali v35 ª©¥»¡A
¨Ã¥t¥[¤H¤u×¥¿¡A¥H´Á¾¨¥i¯à»P¤j³°¨Ï¥Î¦Wµü¤@P¡C
5.¦Wµü®Õ¥¿¡G§Ú¾¨¥i¯à¿í·Ó¬J¦³·L³n²ßºD¡C¦ý·L³n²ßºD¤W©úÅ㤣§´
ªÌ¡A¦p¡u·s¼W vs ¥[¤J¡v¡u²¾¦Ü vs «e©¹¡vµ¥¡C©Î¬O¤£°÷±M·~
ªÌ¡A¦p¡u¨C¬í´Xµe®æ¡v¡A³o¨Ç±N¤©¥H×¥¿¡C®Õ¥¿²Ó¸`¦p¤U¡A¥ç
¬° Kii Ali ªº§@«~¡C
http://search.cpatch.org/download/patchutil/bgconv/cpatch_core14.zip
¡½³nÅé´yz
NIS edit 2.0b5
¦pªG§A±`±`»Ýn¼g§@ NSIS ªºÂ½Ä¶¥]¸Ë¸}¥»¡A§A»Ýn³oÓµ{¦¡¡C
¥L·íµM¤£¬O³Ì§¹¬üªºµ{¦¡¡A«o¬O¤Ö¼Æ¯à°÷¤ä´©ªº NSIS 2.0b5 µ¥¯Åªº
¼g§@µ{¦¡¡C¥L«Ü¾A¦X©ó±M·~©Î¬Oªì¾ÇªÌ¡A¨Ó¾Ç²ß NSIS ªº¸}¥»¼g§@¡C
1.¤ä´© MDI ¤¶±¼Ò¦¡¡A¥i¥H¨Ï¥Î¡u¦h«¹ê¨Ò¡vªº¤è¦¡°õ¦æµ{¦¡¡C
2.¦h»y¨¥¤ä´©¡C·íµMÅo¡A¦b ka ªº§@¥Î¤U¡A¤U¤@ª©´N·|¥¿¦¡
ªº¶ë¶iÁcÅ餤¤å¡B»P²Å餤¤å¤F¡Cµy«á·|¶i¤J©x¤èª©¥»¡C
3.ºëÆF¡G«Ü¤Ö¦³¼g¸}¥»µ{¦¡¡A¯àªþ¤WºëÆF¡AÅý§A§Y¨Ï¤°»ò
nsis ³£¤£À´¡A¤@¼Ë¥i¥H¼g¤@ÂI¹³¼Ëªº¡u¦w¸Ë¡v¡u¸Ñ°£¦w¸Ë¡vµ{¦¡¡C
4.¥i¥H´ú¸Õ¡A¥i¥HºÊ·þ¡C¤ñ¶§¬Kªº makensisw.exe ¦n¤Ó¦h¤F¡C
·íµM¥L¤£¬O¨S¦³¯ÊÂI:
1.ºëÆF¥u¯à¤ä´©³æ¤@»y¨¥¦w¸Ë¥]ªº»s§@¡A¦Ó¤£¯à¤ä´©¨ì
languageTable ©Î¦h»y¨¥¦w¸Ë¥]ªº»s§@¡C¦ý¬On³oÓ¨Ó¦Û Costa Rica
ªº§@ªÌ¡A¼g¦¨¦h»y¨¥¥]¸Ë¡A³o¹ê¦b¬O¶W¹L½d³ò¡A¾ãÓµ{¦¡¬O¤@©wn
¥þ³¡«¼gªº¡C
¦ý©Z¥Õ»¡¡A³oÓºëÆF¤w¸g°÷¥Õ·ö¡A¥Õ·ö¨ì¤@¯ë¤H¥i¥H
«Ü®e©ö¤W¤â¤F¡C¨ä¥Lªº¦ü¥G³£¨S¦³³oºØºëÆF¡C
2.³¡¤À¤å¦rÁÙ¨S¿ìªk½Ķ¡A§Ú·|¦A¸ò§@ªÌ½Í¤@¤U³oÓ°ÝÃD¡C
¡½ÀɮפU¸ü
¡¼ì©lÀÉ®× (862KB)
http://search.cpatch.org/download/install/nisedit/source/nisedit20b5.zip
¡¼¤¤¤å¤ÆÀÉ®× (864KB)
http://search.cpatch.org/download/install/nisedit/cnisedit20b5.exe
¡½¤¤¤å¤Æ¤èªk
NSIS 2.0b5 ¦h»y¨¥¦w¸Ë®æ¦¡
1.ª½±µ°õ¦æ exe Àɮ׸ÑÀ£ÁY¨ì§A¦w¸Ë³nÅ骺¥Ø¿ý¤U¡A¡u§Y¥i¨Ï¥Î¡v
¡AµL¶·¥ô¦ó^¤åª©µ{¦¡¡C³nÅé¹w³]ªº¦w¸Ë¸ô®|¬°¡G
"c:\util\nisedit\"
¡½¬ÛÃö¾\Ū
NSIS ªº§@·~¨t²Î§PÂ_¤è¦¡
http://leoboard.cpatch.org/cgi-bin/topic.cgi?forum=2&topic=165
NSIS 2.0b5 ¤É¯Å±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
¡½ÃD¥~¸Ü
¥Ø«e§A¥i¥H«Ü²M·¡ªºª¾¹D¡ANSIS ªº±M®×¡A¦b v1.98 ¤§«á¡A¦¤w¥Ñ
nullsoft ªº¤â¤¤¡AÅܦ¨¶}©ñ¨Ó·½½X³nÅé¡C¥D±±Åv«h¬y¦V¨ì³o¨â¦ì¥H¦â¦C
¤H»P²üÄõ¤H¡C¤]¦¤w¤£¦A¥u¬O®³¨Ó¥]¸Ë winamp ªºª±¨ã¡C·íµM¡A®³¨Ó¥]¸Ë
winamp ªº¦w¸ËÀɮפ´µM¦A¾A¦X¤£¹L¡C
Á`Åé©Ê NSIS ¶}µo : kichik (¥H¦â¦C¤H)
Modern UI/ºô¶/»y¨¥ÀÉ®×: Joost Verberg (²üÄõ¤H)
¸Ó¥h¥L̦b winamp ªº½×¾Â«ô³X¤@¤U¡C¥L̦b ICQ ¤W±¡A¦³®ÉÔ¼ö±¡¡A
¦³®ÉÔ¯u¬OÅý¤H«r¤ú¤Á¾¦¡C¦º¦Ñ¥~¡C¦ýÁ`ªº¨Ó»¡¡AÁ`ÁÙºâ¬O¥O¤H·q¨Øªº³Ã¥ë¡C _________________ #############################
§Ö¼Ö¶ý«}¨t¦C©¯ºÖ¦v°t,³Ü¤Q¥þÂû´ö~ì¨Ó©¯ºÖ¨º»ò²³æ!!
¾Ç·|VFP¨Ï¥ÎªÌªÀ°Ïªº·j´M,Code¤~·|§ó¦³½ì~
#############################
Ruey ¦b ¬P´Á¤ ¥|¤ë 23, 2004 1:55 am §@¤F²Ä 3 ¦¸×§ï |
|
¦^³»ºÝ |
|
|
Ruey
µù¥U®É¶¡: 2003-03-12 ¤å³¹: 1698 ¨Ó¦Û: tunglo
²Ä 2 ¼Ó
|
µoªí©ó: ¬P´Á¥| ¥|¤ë 22, 2004 2:47 pm ¤å³¹¥DÃD: |
|
|
¨Ó·½:¤¤¤å¤Æ³nÅéÁp·ù
[³o½g¤å³¹³Ì«á¥Ñkiiali¦b 2003/10/23 15:57 ½s¿è]
¤å³¹«Üªø¡A½Ð§Ô¨ü¤@¤U¡C¨Ãªþ¤W *.NSI ¥H«K¤U¸ü¡C½Ð¥HÃöÁä¦r¡A·j´M LangString ©M²Ä¤K¤j¬q¡A¥H¤Î©Ò¦³ LangString ªºÅܼƩҩñ¸mªº¦ì¸m¡A¨º¤~¬O«ÂI¡C
¬Ý¨ìÀY©ü®É¡A¹ï¤£°_¡A§A®aªº¨Æ¡C
; 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¦Û¤vnt³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§An¥[¤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µhW¡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
;
; ²Åé´yz³¡¤À¡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¢§An¨Ï¥Î¦h»y¨¥¡A¨S¤H±j¢§An Modern
; UI ¡A¨S¤H±j¢§AnÅ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¹Ï¥Ü
;=======================================================
; ¥un¦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 0b3 ;³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ºÙªº¥Dn³¡¤À (¥þ³¡¤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¥un¦Ò¼{¤@Ó¡uŪ§Ú¡v§Y¥i¡C³oÓŪ§Ú¡A
; ³q±`®³¨Ó©ñ¡u¦¹¤¤¤å¤Æªº´yzÀɮס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°÷ (¤@©wn 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://espanol.geocities.com/ranametalcr/nisedt/index.htm#Features"
!define URLHELP "http://espanol.geocities.com/ranametalcr/nisedt/index.htm#Features"
!define URLUPDATE "http://espanol.geocities.com/ranametalcr/nisedt/index.htm#Download"
!define PUBLISHER "2003, Hector Mauricio Rodriguez Segura."
; «e±·|¦Û°Ê¨Ì»y¨¥¸É¤W Copyright (c) ©Î ª©Åv©Ò¦³ (c) ¡A¦]¦¹«á±¥un±µ¤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¤@©wn§ï±¼¡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¥Î¤Wz
; ©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§An 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¸Ë«á¡An¨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\*.*"
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.´yz¥\¯à
;=======================================================
;==============================
; 8.1 ´yz¥\¯àªº¥¨¶° (* ¶i¶¥)
;
; ¦pªG¦³´yz¡A³Ì¦n¤@Ó¤@Ó¥[¤J¥¨¶°¡C
; ³o¤@¬qn¦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ªº´yz¤å¦r¡Aª½±µ¨Ï¥Î¦U°ê»y¨¥
;
; ³o¬OÅý·Æ¹«²¾°Ê¨ì¦w¸Ë¶µ¥Ø¤W®É¡A¦Û°Ê¥X²{ªº´yz¥\¯à¡C
; §Ú¨Ï¥Î ENU/CHT/CHS ¤TÓ»y¨¥¡C¦pªG¶û³Â·Ð¡A¥i¥H¥u¨Ï¥Î¤@Ó»y¨¥¡A¬Æ¦Ü¤£¨Ï¥Î´yz¡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}"
; ¡´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·Qn¦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µ{¦¡¡CY³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Ä~Äò¨Ï¥Î¦¹µ{¦¡®É¡An¹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Óµ{¦¡¡An§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 ÀÉ®×µ²§À _________________ #############################
§Ö¼Ö¶ý«}¨t¦C©¯ºÖ¦v°t,³Ü¤Q¥þÂû´ö~ì¨Ó©¯ºÖ¨º»ò²³æ!!
¾Ç·|VFP¨Ï¥ÎªÌªÀ°Ïªº·j´M,Code¤~·|§ó¦³½ì~
############################# |
|
¦^³»ºÝ |
|
|
Ruey
µù¥U®É¶¡: 2003-03-12 ¤å³¹: 1698 ¨Ó¦Û: tunglo
²Ä 3 ¼Ó
|
µoªí©ó: ¬P´Á¤ ¥|¤ë 23, 2004 2:04 am ¤å³¹¥DÃD: |
|
|
¨Ó·½:¡í£[¶ø¦Ì¥[ªÅ¶¡¡í dc
http://omega.idv.tw/kdb120/viewthread.php?threadid=1367&page=1#post4075
½s¼g NSIS ªº¦w¸Ë¸}¥»
«e¨¥¡G
¦pªG§A¬O²Ä¤@¦¸»s§@¦w¸Ëµ{¦¡¡A«Øij§A¨Ï¥Î Setup Factory ©Î CreateInstall
¦]¬°³o¨âÓ¦w¸Ëµ{¦¡¬O¹Ï§Î¤¶±«D±`ªº¾A¦Xªì¾ÇªÌ¨Ï¥Î¡Cµ§ªÌ¤@¶}©l¤]¤£·|¨Ï¥Î
NSIS ¼g¸}¥»¦Ó¬O¥ý±q¤W±¨â®M³nÅéµÛ¤â¡A¤F¸Ñ¦w¸Ëµ{¦¡ªº¬yµ{»P°ò¦¤~¶i¦Ó¨Ï¥Î
Nullsoft Installation System ¨Ó»s§@¦w¸Ëµ{¦¡¡C
¦P¤@Óµ{¦¡¥Î³o¤T®M³nÅé¥H³Ìºë²ªº¬yµ{»s§@¥X¨Óªº¦w¸Ëµ{¦¡¨ä¤j¤p¦p¤U
-----------------------------------------------
ì©lµ{¦¡ ¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@¡@248 KB
Setup Factory¡@¡@¡@¡@¡@¡@¡@¡@¡@488 KB
CreateInstall¡@¡@¡@¡@¡@¡@¡@¡@¡@ 156 KB
Nullsoft Installation System¡@¡@134 KB
-----------------------------------------------
§Ú¥»¨Ó¬O·Qª½±µ¥Î CreateInstall ¨Ó»s§@¦w¸Ëµ{¦¡´N¦n¦]¬°¥¦¬O¹Ï§Î¤¶±Â²³æ
§@¥X¨ÓªºÀɮפ]«Ü¤p¡C¦ý¬O¥L§@¥X¨Óªº¦w¸Ëµ{¦¡¦bÁcÅ餤¤å¨t²Î©³¤U¦³¤@ÓBUG
Åý§Ú«D©ñ±ó¥L¤£¥i¡C´N¬O«Ø¥ß±¶®|¦b¡u¶}©l¡v¥\¯àªí -> µ{¦¡¶° ¸Ì¥L·|¦]¬°
BIG5 ¸Ì±ªº "¥\" §t¦³ "\" ¦Ó«Ø¥ß¦¨ ¡u¶}©l¡v-> ¯àªí -> µ{¦¡¶° ¤Ö¤F¤@Ó
¦r§@¥X¨Óªº±¶®|¤]¤£¯à¥Î >_<" ·Q¿ìªk¸ò§@ªÌÁpµ¸¦ý¬O§Ú^¤å¹ê¦b«Ü¯}.......
«e¨¥¨ì¦¹µ²§ô©³¤U¶}©l¬O±Ð¾Ç¤F
==========================================================
¥»±Ð¾Ç¥H KYO ºô¤Í©ÒµÛªº ShellInfoTip ¬°¨Ò¤l¡A¦]¬°¥¦»Ýn°µ¨ì¤U¦C¤T¶µ
1.µù¥U DLL ÀÉ®×
2.µù¥U REG µn¿ýÀÉ®×
3.¦b WIN ¸ô®|¸Ì©ñ¸m STPlugin.ini
§Ú¥ý¦b³o¸Ì²³æªº´yz©Ò»Ý¥Î¨ìªº°Ñ¼Æ¦b¤å³¹µ²§À³B§Ú·|©ñ¤W ShellInfoTip.nsi
¸}¥»Àɮקڦ³¼g¤W¸Ô²Óªºµù¸Ñ¡A³o¸Ì¥H´£¥X©Ò»Ýnªº¤T¶µ¥\¯à§@¬°¥Dn¤¶²Ð¡C¦³
¤£ª¾¹D¤£¤F¸Ñ¤£²M·¡©Î§Ú¨S´£¤Îªº°Ñ¼Æ¡A§A¥i¥H¬d§ä NSIS ªº¨Ï¥Î»¡©ú®Ñ¥L¼gªº
«D±`¸Ô²Ó¡C
1.µù¥U DLL ÀÉ®×
RegDLL "$INSTDIR\ShellTip4Rar.dll"
¨ä¤¤ $INSTDIR ¬O¥Nªí§A¦w¸Ëªº¥Ø¿ý
¦p¡G§A¬O¸Ë¦b c:\emp\ShellInfoTip ©³¤U¡A¥Lªº $INSTDIR ´N¬O³oӥؿý·|ÀHµÛ§Aªº¦w¸Ë¸ô®|¦ÓÅÜ°Ê¡C
2.µù¥U REG µn¿ýÀÉ®×
WriteRegStr HKCR ".rar\ShellEx\{00021500-0000-0000-c000-000000000046}" "" "{C34C25BE-9B2B-4A50-9D97-2658E0D8796B}"
WriteRegStr HKCR ".exe\ShellEx\{00021500-0000-0000-c000-000000000046}" "" "{C34C25BE-9B2B-4A50-9D97-2658E0D8796B}"
WriteRegStr HKCR ".001\ShellEx\{00021500-0000-0000-c000-000000000046}" "" "{C34C25BE-9B2B-4A50-9D97-2658E0D8796B}"
WriteRegStr ¬O¼g¤JÃþ«¬¬° REG_SZ ªº¼ÆÈ
HKCR ¬O HKEY_CLASSES_ROOT ªºÁY¼g
ì©lµ{¦¡©Ònµù¥Uªºµn¿ýÀɤº®e¦p¤U
-----------------------------------------------------------------------
REGEDIT4
[HKEY_CLASSES_ROOT\.rar\ShellEx]
[HKEY_CLASSES_ROOT\.rar\ShellEx\{00021500-0000-0000-c000-000000000046}]
@="{C34C25BE-9B2B-4A50-9D97-2658E0D8796B}"
[HKEY_CLASSES_ROOT\.exe\ShellEx]
[HKEY_CLASSES_ROOT\.exe\ShellEx\{00021500-0000-0000-c000-000000000046}]
@="{C34C25BE-9B2B-4A50-9D97-2658E0D8796B}"
[HKEY_CLASSES_ROOT\.001\ShellEx]
[HKEY_CLASSES_ROOT\.001\ShellEx\{00021500-0000-0000-c000-000000000046}]
@="{C34C25BE-9B2B-4A50-9D97-2658E0D8796B}"
-----------------------------------------------------------------------
3.¦b WIN ¸ô®|¸Ì©ñ¸m STPlugin.ini
WriteINIStr "$WINDIR\STPlugin.ini" "Plugin" "Plugin1" "$INSTDIR\rar_txt.dll"
$WINDIR ¬O Windows ¨t²Îªº¥Ø¿ý
WriteINIStr ¬O¼g¤J INI ÀɮסA«ö·Ó¶¶§Ç¼g¤J ini ªºÀɮצWºÙ¡B°Ï°ì¦WºÙ¡BÅܼƦWºÙ¡B¼ÆÈ¡C
ì©lµ{¦¡ªº STPlugin.ini Àɤº®e¦p¤U
-------------------------------------------------
[Plugin]
Plugin1=¦w¸Ë¸ô®|¦W\rar_txt.dll
-------------------------------------------------
¤T¶µ¥Dnªº¥\¯à¤¶²Ð´N¨ì¦¹µ²§ô¤F©³¤U¶}©l¬OShellInfoTip.nsi¸}¥»Àɮתº¤º®e
==========================================================
; ShellInfoTip.nsi
; ¥»¦w¸Ëµ{¦¡¥Ñ DC ½s¼g»s§@
; ¡í£[¶ø¦Ì¥[ªÅ¶¡¡í http://omega.idv.tw/kdb120/
;
;«Å§i³nÅé¦WºÙ¡A«á±¥i¥H§Q¥Î ${NAME} ½Õ¥Î³oÓ¦W¦r
!define NAME "ShellInfoTip"
;³]©w¦r«¬
SetFont ·s²Ó©úÅé 9
;¨Ï¥Î WindowsXP µøı¼Ë¦¡
XPstyle on
;¦w¸Ëµøµ¡ªº¼ÐÃD¦WºÙ
Caption /LANG=1028 "¦w¸Ë Winrar Shell Info Tip ¥\¯à"
;´À´«¹w³]ªº«ö¶s¤å¦r
MiscButtonText /LANG=1028 "< ¤W¤@¨B" "¤U¤@¨B >" "¨ú®ø" "Ãö³¬"
;´À´«¹w³]ªº«ö¶s¤å¦r
InstallButtonText /LANG=1028 "¦w¸Ë"
;´À´«¹w³]ªº«ö¶s¤å¦r
UninstallButtonText /LANG=1028 "¤Ï¦w¸Ë"
;´À´«¤Ï¦w¸Ëµ{§Çªº¤å¦r
DirText /LANG=1028 "Åwªï±z¦w¸Ë Shell Info Tip ³o¬OӦۥѳnÅ骩ÅvÂkì§@ªÌ KYO ©Ò¦³¡C¦¹¦w¸Ëµ{¦¡¥Ñ¡í£[¶ø¦Ì¥[ªÅ¶¡¡í ¾Â¥D DC ´£¨Ñ»s§@¡C" "½Ð¿ï¾Ü±ý¦w¸Ë ${NAME} ªº¥Ø¿ý¡G" "ÂsÄý..."
;´À´«¤Ï¦w¸Ëµ{§Çªº¤å¦r
UninstallText /LANG=1028 "²{¦b±N±q§Aªº¨t²Î¤¤¤Ï¦w¸Ë ${NAME} ¡C¦pªG§AIJµo¤F ${NAME} ªº¥\¯à ShellTip4Rar.dll °ÊºA³sµ²ÀÉ¥²¶·«¶}¾÷¤§«á¤~¥i¥H³Q§R°£¡C" "¤Ï¦w¸Ë¥Ø¿ý¡G"
;´À´«¤Ï¦w¸Ëµ{§Ç¼ÐÃDªº¤å¦r
UninstallCaption /LANG=1028 "¤Ï¦w¸Ë ${NAME}"
;´À´«¤Ï¦w¸Ëµ{§Çªº¤å¦r
DetailsButtonText /LANG=1028 "Åã¥Ü¸Ô²Ó¹Lµ{"
;´À´«¤Ï¦w¸Ë«ö¶sªº¤å¦r
UninstallButtonText /LANG=1028 "¤Ï¦w¸Ë"
;¤Ï¦w¸Ëµ{§ÇÅã¥Ü¤è¦¡ ¹w³]¬OÁôÂÃ
ShowUninstDetails hide
;´À´«ªÅ¶¡ªº¤å¦r
SpaceTexts /LANG=1028 "©Ò»ÝªºªÅ¶¡ " "¥i¥ÎªºªÅ¶¡ "
;³oÓ¦w¸Ëµ{¦¡ªº¦WºÙ
Name "ShellInfoTip"
;¿é¥X»s§@§¹¦¨ªº¦w¸Ëµ{¦¡ÀÉ®×
OutFile "ShellInfoTip.exe"
;¹w³]ªº¦w¸Ëµ{¦¡¥Ø¿ý¦b Program Files ¸Ì
InstallDir $PROGRAMFILES\${NAME}
;©³¤U¶}©l¬O¦w¸Ëµ{¦¡©Òn°õ¦æªº
Section "Install"
;³]©w¿é¥Xªº¸ô®|¦b¦w¸Ëµ{¦¡ªº¥Ø¿ý
SetOutPath $INSTDIR
;¶K¤W§A©Òn¥]¸Ë¦b¦w¸Ëµ{¦¡¸ÌªºÀÉ®×
File "C:\Files\rar_txt.dll"
File "C:\Files\ShellTip4Rar.dll"
;µù¥U DLL ÀÉ®×
RegDLL "$INSTDIR\ShellTip4Rar.dll"
;¼g¤J±ýµù¥UªºÈ¦b HKEY_CLASSES_ROOT ¸ÌÃþ«¬¬° REG_SZ
WriteRegStr HKCR ".rar\ShellEx\{00021500-0000-0000-c000-000000000046}" "" "{C34C25BE-9B2B-4A50-9D97-2658E0D8796B}"
WriteRegStr HKCR ".exe\ShellEx\{00021500-0000-0000-c000-000000000046}" "" "{C34C25BE-9B2B-4A50-9D97-2658E0D8796B}"
WriteRegStr HKCR ".001\ShellEx\{00021500-0000-0000-c000-000000000046}" "" "{C34C25BE-9B2B-4A50-9D97-2658E0D8796B}"
;¼g¤J INI ÀÉ
WriteINIStr "$WINDIR\STPlugin.ini" "Plugin" "Plugin1" "$INSTDIR\rar_txt.dll"
;¦bµ{¦¡¶°¸Ì«Ø¥ß¤Ï¦w¸Ëµ{§Çªº±¶®|
CreateDirectory "$SMPROGRAMS\${NAME}"
CreateShortCut "$SMPROGRAMS\${NAME}\¤Ï¦w¸Ë ${NAME}.lnk" \
¡@¡@¡@¡@¡@¡@¡@ "$INSTDIR\uninst.exe"
;¼g¤J«Ø¥ß¤Ï¦w¸Ëµ{§Çn¸ò¤W±©Ò³sµ²ªºÀɦW¤@¼Ë
WriteUninstaller "$INSTDIR\uninst.exe"
SectionEnd
;¦w¸Ëµ{¦¡¹Lµ{¨ì¦¹µ²§ô
;¤Ï¦w¸Ëµ{§Ç¤º®e
Section "Uninstall"
;´`Àô§R°£Àɮת½¨ì§R°£¸ê®Æ§¨
UnRegDLL "$INSTDIR\ShellTip4Rar.dll"
Delete "$INSTDIR\*.*"
Delete "$WINDIR\STPlugin.ini"
Delete "$SMPROGRAMS\${NAME}\*.*"
RMDir "$SMPROGRAMS\${NAME}"
RMDir "$INSTDIR"
;¼g¤J±ý§R°£µù¥UªºÈ
DeleteRegKey HKCR ".rar\ShellEx"
DeleteRegKey HKCR ".exe\ShellEx"
DeleteRegKey HKCR ".001\ShellEx"
SectionEnd
;¤Ï¦w¸Ëµ{§Ç¹Lµ{¨ì¦¹µ²§ô
; eof _________________ #############################
§Ö¼Ö¶ý«}¨t¦C©¯ºÖ¦v°t,³Ü¤Q¥þÂû´ö~ì¨Ó©¯ºÖ¨º»ò²³æ!!
¾Ç·|VFP¨Ï¥ÎªÌªÀ°Ïªº·j´M,Code¤~·|§ó¦³½ì~
############################# |
|
¦^³»ºÝ |
|
|
gene7299
µù¥U®É¶¡: 2016-02-24 ¤å³¹: 1
²Ä 4 ¼Ó
|
|
¦^³»ºÝ |
|
|
|
|
±z µLªk ¦b³oÓª©±µoªí¤å³¹ ±z µLªk ¦b³oÓª©±¦^ÂФ峹 ±z µLªk ¦b³oÓª©±½s¿è¤å³¹ ±z µLªk ¦b³oÓª©±§R°£¤å³¹ ±z µLªk ¦b³oÓª©±¶i¦æ§ë²¼ ±z µLªk ¦b³oÓª©±ªþ¥[ÀÉ®× ±z µLªk ¦b³oÓª©±¤U¸üÀÉ®×
|
Powered by phpBB © 2001, 2005 phpBB Group ¥¿Å餤¤å»y¨t¥Ñ phpbb-tw ºûÅ@»s§@
|