{"id":125,"date":"2010-04-17T23:03:40","date_gmt":"2010-04-18T08:03:40","guid":{"rendered":"\/blog\/?p=125"},"modified":"2023-09-21T09:39:22","modified_gmt":"2023-09-21T00:39:22","slug":"nsis-%ec%98%88%ec%a0%9c-%ec%bd%94%eb%93%9c-%ec%84%a4%eb%aa%85-example2-nsi","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=125","title":{"rendered":"NSIS \uc608\uc81c \ucf54\ub4dc \uc124\uba85 - example2.nsi"},"content":{"rendered":"\n<P>\uc774\uc81c NSIS\ub97c \uc0ac\uc6a9\ud558\ub294\ub370 \ud544\uc694\ud55c \ub0b4\uc6a9\uc740 \ub300\ubd80\ubd84 \ubc30\uc6e0\ub2e4. \ub098\uba38\uc9c0 \ub0b4\uc6a9\ub4e4\uc740 \uc778\uc2a4\ud1a8 \ud654\uba74\uc778 GUI\ub97c \uc5b4\ub5bb\uac8c \uc6d0\ud558\ub294 \uc785\ub9db\ub300\ub85c \ubc14\uafb8\ub294\uc9c0\uc640 MUI(Modern User Interface) \ubd80\ubd84\uc774 \ub0a8\uc558\ub294\ub370, \uc774\ub7f0 \ubd80\ubd84\uc740 \uc2e4\uc81c\ub85c \ub3d9\uc791(\uc778\uc2a4\ud1a8\/\uc5b8\uc778\uc2a4\ud1a8 \ub3d9\uc791)\uc744 \ud558\ub294 \uac83\ub4e4\uc744 \ubd84\uc11d\ud558\uace0 \uc2e4\ud589\ud574 \ubcf4\uace0 \ub098\uc11c \ub4a4\uc5d0 \ubcf4\uae30\ub85c \ud558\uaca0\ub2e4. \uac00\ub2a5\ud55c NSIS\ub97c \uc778\uc2a4\ud1a8 \ud588\uc744\ub54c \uac19\uc774 \uc778\uc2a4\ud1a8\ub418\ub294 \uc608\uc81c \ud30c\uc77c \uc911\uc5d0\uc11c \ubd84\uc11d\ud560 \ub9cc\ud55c \uac83\ub4e4\uc744 \uba87\uac1c \uace8\ub77c\uc11c \ubd84\uc11d\ud574 \ubcf4\uaca0\ub2e4. \uc608\uc81c \ucf54\ub4dc \uc790\uccb4\uc5d0 \uc8fc\uc11d\uc774 \uc790\uc138\ud558\uac8c \uc801\ud600 \uc788\uc9c0\ub9cc, \uac00\ub2a5\ud55c \ub354 \uc790\uc138\ud558\uac8c \ubd84\uc11d\ud560 \uac83\uc774\ub2e4.<br \/><br \/>\uadf8\ub7fc \uccab \ubc88\uc9f8\ub85c \ubd84\uc11d\ud560 \uc608\uc81c\ub294 example2.nsi \ub77c\ub294 \ud30c\uc77c\uc774\ub2e4. \ucf54\ub4dc\ub294 \uc544\ub798\uc640 \uac19\ub2e4.<br \/><CODE><\/P>\n<OL>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; example2.nsi<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">;<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; This script is based on example1.nsi, but it remember the directory, <\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; has uninstall support and (optionally) installs start menu shortcuts.<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">;<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; It will install example2.nsi into a directory that the user selects,<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">;--------------------------------<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; The name of the installer<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"COLOR: #000066\">Name<\/SPAN> <SPAN style=\"COLOR: #660066\">\"Example2\"<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; The file to write<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"COLOR: #000066\">OutFile<\/SPAN> <SPAN style=\"COLOR: #660066\">\"example2.exe\"<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; The default installation directory<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"COLOR: #000066\">InstallDir<\/SPAN> <SPAN style=\"COLOR: #660000\">$PROGRAMFILES<\/SPAN>\\Example2<\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; Registry key to check for directory (so if you install again, it will <\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; overwrite the old one automatically)<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"COLOR: #000066\">InstallDirRegKey<\/SPAN> <SPAN style=\"COLOR: #ff6600\">HKLM<\/SPAN> <SPAN style=\"COLOR: #660066\">\"Software\\NSIS_Example2\"<\/SPAN> <SPAN style=\"COLOR: #660066\">\"Install_Dir\"<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">;--------------------------------<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; Pages<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"COLOR: #000066\">Page<\/SPAN> <SPAN style=\"COLOR: #ff6600\">components<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"COLOR: #000066\">Page<\/SPAN> <SPAN style=\"COLOR: #ff6600\">directory<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"COLOR: #000066\">Page<\/SPAN> <SPAN style=\"COLOR: #ff6600\">instfiles<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"COLOR: #000066\">UninstPage<\/SPAN> <SPAN style=\"COLOR: #ff6600\">uninstConfirm<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"COLOR: #000066\">UninstPage<\/SPAN> <SPAN style=\"COLOR: #ff6600\">instfiles<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">;--------------------------------<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; The stuff to install<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"COLOR: #000066\">Section<\/SPAN> <SPAN style=\"COLOR: #660066\">\"Example2 (required)\"<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #003366\">SectionIn<\/SPAN> <SPAN style=\"COLOR: #ff6600\">RO<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"> <\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; Set output path to the installation directory.<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">SetOutPath<\/SPAN> <SPAN style=\"COLOR: #660000\">$INSTDIR<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"> <\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; Put file there<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">File<\/SPAN> <SPAN style=\"COLOR: #660066\">\"example2.nsi\"<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"> <\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; Write the installation path into the registry<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">WriteRegStr<\/SPAN> <SPAN style=\"COLOR: #ff6600\">HKLM<\/SPAN> SOFTWARE\\NSIS_Example2 <SPAN style=\"COLOR: #660066\">\"Install_Dir\"<\/SPAN> <SPAN style=\"COLOR: #660066\">\"$INSTDIR\"<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"> <\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; Write the uninstall keys for Windows<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">WriteRegStr<\/SPAN> <SPAN style=\"COLOR: #ff6600\">HKLM<\/SPAN> <SPAN style=\"COLOR: #660066\">\"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Example2\"<\/SPAN> <SPAN style=\"COLOR: #660066\">\"DisplayName\"<\/SPAN> <SPAN style=\"COLOR: #660066\">\"NSIS Example2\"<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">WriteRegStr<\/SPAN> <SPAN style=\"COLOR: #ff6600\">HKLM<\/SPAN> <SPAN style=\"COLOR: #660066\">\"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Example2\"<\/SPAN> <SPAN style=\"COLOR: #660066\">\"UninstallString\"<\/SPAN> <SPAN style=\"COLOR: #660066\">'\"$INSTDIR\\uninstall.exe\"'<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">WriteRegDWORD<\/SPAN> <SPAN style=\"COLOR: #ff6600\">HKLM<\/SPAN> <SPAN style=\"COLOR: #660066\">\"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Example2\"<\/SPAN> <SPAN style=\"COLOR: #660066\">\"NoModify\"<\/SPAN> <SPAN>1<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">WriteRegDWORD<\/SPAN> <SPAN style=\"COLOR: #ff6600\">HKLM<\/SPAN> <SPAN style=\"COLOR: #660066\">\"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Example2\"<\/SPAN> <SPAN style=\"COLOR: #660066\">\"NoRepair\"<\/SPAN> <SPAN>1<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">WriteUninstaller<\/SPAN> <SPAN style=\"COLOR: #660066\">\"uninstall.exe\"<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"> <\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"COLOR: #000066\">SectionEnd<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; Optional section (can be disabled by the user)<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"COLOR: #000066\">Section<\/SPAN> <SPAN style=\"COLOR: #660066\">\"Start Menu Shortcuts\"<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">CreateDirectory<\/SPAN> <SPAN style=\"COLOR: #660066\">\"$SMPROGRAMS\\Example2\"<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">CreateShortCut<\/SPAN> <SPAN style=\"COLOR: #660066\">\"$SMPROGRAMS\\Example2\\Uninstall.lnk\"<\/SPAN> <SPAN style=\"COLOR: #660066\">\"$INSTDIR\\uninstall.exe\"<\/SPAN> <SPAN style=\"COLOR: #660066\">\"\"<\/SPAN> <SPAN style=\"COLOR: #660066\">\"$INSTDIR\\uninstall.exe\"<\/SPAN> <SPAN>0<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">CreateShortCut<\/SPAN> <SPAN style=\"COLOR: #660066\">\"$SMPROGRAMS\\Example2\\Example2 (MakeNSISW).lnk\"<\/SPAN> <SPAN style=\"COLOR: #660066\">\"$INSTDIR\\example2.nsi\"<\/SPAN> <SPAN style=\"COLOR: #660066\">\"\"<\/SPAN> <SPAN style=\"COLOR: #660066\">\"$INSTDIR\\example2.nsi\"<\/SPAN> <SPAN>0<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"> <\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"COLOR: #000066\">SectionEnd<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">;--------------------------------<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; Uninstaller<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"COLOR: #000066\">Section<\/SPAN> <SPAN style=\"COLOR: #660066\">\"Uninstall\"<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"> <\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; Remove registry keys<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">DeleteRegKey<\/SPAN> <SPAN style=\"COLOR: #ff6600\">HKLM<\/SPAN> <SPAN style=\"COLOR: #660066\">\"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Example2\"<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">DeleteRegKey<\/SPAN> <SPAN style=\"COLOR: #ff6600\">HKLM<\/SPAN> SOFTWARE\\NSIS_Example2<\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; Remove files and uninstaller<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">Delete<\/SPAN> <SPAN style=\"COLOR: #660000\">$INSTDIR<\/SPAN>\\example2.nsi<\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">Delete<\/SPAN> <SPAN style=\"COLOR: #660000\">$INSTDIR<\/SPAN>\\uninstall.exe<\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; Remove shortcuts, if any<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">Delete<\/SPAN> <SPAN style=\"COLOR: #660066\">\"$SMPROGRAMS\\Example2\\*.*\"<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"FONT-STYLE: italic; COLOR: #666666\">; Remove directories used<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">RMDir<\/SPAN> <SPAN style=\"COLOR: #660066\">\"$SMPROGRAMS\\Example2\"<\/SPAN><\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp; <SPAN style=\"COLOR: #000099\">RMDir<\/SPAN> <SPAN style=\"COLOR: #660066\">\"$INSTDIR\"<\/SPAN><\/DIV>\n<LI style=\"FONT-WEIGHT: bold\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\">&nbsp;<\/DIV>\n<LI style=\"FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace; COLOR: black; FONT-WEIGHT: normal\">\n<DIV style=\"FONT-FAMILY: 'Courier New', Courier, monospace; FONT-WEIGHT: normal\"><SPAN style=\"COLOR: #000066\">SectionEnd<\/SPAN><\/DIV><\/LI><\/OL><\/CODE><br \/><br \/><FONT face=\"Times New Roman\">\uc608\uc81c \ud30c\uc77c\uc744 \ucc98\uc74c \ubd84\uc11d\ud558\ub294 \uac83\uc774\ub098 \uc704\uc5d0\uc11c \ud558\ub098\uc529 \ubd84\uc11d\ud574 \ubcf4\ub3c4\ub85d \ud558\uaca0\ub2e4.&nbsp; <br \/><br \/>1~10\uc904 : \uc804\ubd80 \uc8fc\uc11d\uc774\ub2e4. \ub098\uc911\uc744 \uc704\ud574\uc11c\ub77c\ub3c4 \uc774\ub807\uac8c \uc8fc\uc11d\uc744 \ub9ce\uc774 \ub2ec\uc544 \uc8fc\ub294 \uac83\uc774 \uc88b\ub2e4.<br \/>11 : Name \"Example2\"\ub294 \uc778\uc2a4\ud1a8\ub7ec\uc758 \uc774\ub984\uc744 \uc758\ubbf8\ud55c\ub2e4. \uc704 \ucf54\ub4dc\ub97c \uc2e4\ud589\uc2dc\ucf30\uc744\ub54c \uc708\ub3c4\uc6b0\uc758 \uc81c\uc77c \uc704\ucabd \uc0c1\ub2e8\uc5d0 \ub098\uc624\ub294 \uc774\ub984\uc774\ub2e4.<br \/>14 : \uc778\uc2a4\ud1a8\ub7ec\uac00 \uc800\uc7a5\ub418\ub294 \uc774\ub984\uc744 \uc758\ubbf8\ud55c\ub2e4. \uc989 \uc2e4\uc81c\ub85c exe \ud30c\uc77c\uc758 \uc774\ub984\uc744 \uc758\ubbf8\ud55c\ub2e4.<br \/>17 : InstallDir\ub294 \uc778\uc2a4\ud1a8 \ub514\ub809\ud1a0\ub9ac\uc758 \ub514\ud3f4\uac12\uc744 \uc124\uc815\ud558\ub294 \uba85\ub839\uc5b4\uc774\ub2e4. \uc989 \uadf8 \ub2e4\uc74c\uc5d0 \uc788\ub294 $PROGRAMFILES\\Examples2 \ub77c\uace0 \ud558\ub294 \ub514\ub809\ud1a0\ub9ac\ub97c \ub514\ud3f4\ud2b8 \ub514\ub809\ud1a0\ub9ac\ub85c \uc120\uc815\ud558\ub294 \uac83\uc774\ub2e4. \uc5ec\uae30\uc11c $PROGRAMFILES\ub294 \uc55e\uc5d0\uc11c \uc124\uba85\ud588\ub4ef\uc774, \ud2b9\ubcc4\ud788 \ub808\uc9c0\uc2a4\ud2b8\ub9ac\ub97c \uc190\ub300\uc9c0 \uc54a\uc558\uc73c\uba74 C:\\Program Files\\&nbsp; \ub514\ub809\ud1a0\ub9ac\ub97c \uac00\ub974\ud0a8\ub2e4. \uc989 \uc774 \ub514\ub809\ud1a0\ub9ac \ubc11\uc5d0 Examples2 \ub77c\ub294 \ub514\ub809\ud1a0\ub9ac\ub97c \ub514\ud3f4\ud2b8 \uc778\uc2a4\ud1a8 \ub514\ub809\ud1a0\ub9ac\ub85c \uc0ac\uc6a9\ud558\uaca0\ub2e4\ub294 \uac83\uc774\ub2e4.<br \/>21 : InstallDirRegKey \uba85\ub839\uc5b4\ub294 \ub808\uc9c0\uc2a4\ud2b8\ub9ac\uc5d0 \uc788\ub294 \ubb38\uc790\uc5f4\uc744 \uccb4\ud06c\ud574\uc11c \ub9cc\uc57d \uc815\uc0c1\uc801\uc778 \uacbd\uc6b0 \uadf8 \uac12\uc744 \uc778\uc2a4\ud1a8 \ub514\ub809\ud1a0\ub9ac\uc5d0 \uc0ac\uc6a9\ud558\ub77c\ub294 \uba85\ub839\uc5b4 \uc774\ub2e4. \uc774 \uba85\ub839\uc5b4\uc758 \uc0ac\uc6a9\ubc95\uc5d0 \ub530\ub77c \ucf54\ub4dc\uc5d0 \uc4f0\uc5ec\uc9c4 \uac83\uc744 \ubd84\uc11d\ud574 \ubcf4\uba74 HKLM\uc774\ub780 HKEY_LOCAL_MACHILE\uc744 \ub73b\ud558\ubbc0\ub85c registry\uc5d0\uc11c HKEY_LOCAL_MACHINE\\Software\\NSIS_Example2 \uc5d0\uc11c Install_Dir\uc758 \uac12\uc774 \uc788\ub294\uc9c0\ub97c \ud655\uc778\ud558\ub294 \uac83\uc774\ub2e4. \ucc98\uc74c \ud504\ub85c\uadf8\ub7a8\uc744 \uc778\uc2a4\ud1a8 \ud560 \uacbd\uc6b0 \uc5ec\uae30\uc5d0 \uc544\ubb34 \uac12\ub3c4 \uc5c6\uc73c\ubbc0\ub85c 17\ubc88\uc9f8\uc904\uc5d0\uc11c \uc9c0\uc815\ud55c \uc778\uc2a4\ud1a8 \ub514\ub809\ud1a0\ub9ac \uac12\uc744 \uc0ac\uc6a9\ud55c\ub2e4. 48\ubc88\uc9f8\uc904\uc744 \ubcf4\uba74 \uc774 \uac12\uc744 \uc4f0\ub294 \uac83\uc744 \uc54c \uc218 \uc788\ub2e4.<br \/><br \/>\uc778\uc2a4\ud1a8 \uc644\ub8cc\ud6c4 \ub808\uc9c0\uc2a4\ud2b8\ub9ac \uc5d0\ub514\ud130\ub85c \ub808\uc9c0\uc2a4\ud2b8\ub9ac\uc5d0 \uc800\uc7a5\ub41c \ub0b4\uc6a9\uc744 \ubcf4\uba74 \uc544\ub798\uc640 \uac19\uc774 \uc778\uc2a4\ud1a8\ub7ec\ub97c \ub9cc\ub4e4\ub54c 48\ubc88\uc9f8 \uc904\uc5d0\uc11c \uba85\ub839\ud55c \ub808\uc9c0\uc2a4\ud2b8\ub9ac\uc5d0 \uc778\uc2a4\ud1a8 \ub514\ub809\ud1a0\ub9ac\ub97c \uc4f0\uace0 \uc788\uc74c\uc744 \ubcf4\uc5ec \uc900\ub2e4.<br \/><br \/><\/FONT>\n<DIV style=\"TEXT-ALIGN: center; CLEAR: both\" class=\"imageblock center\"><FONT face=\"Times New Roman\"><IMG style=\"CURSOR: pointer\" onclick=\"popview(this, '90000003_000000000000000DFC0A6C87')\" src=\"http:\/\/www.cipher.pe.kr\/tt\/attach\/1\/1371579618.png\" width=600 height=109><\/FONT><\/DIV><br \/>27~29 : Page \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud574\uc11c \ud544\uc694\ud55c \ud398\uc774\uc9c0\ub9cc \uc9c1\uc811 \uc9c0\uc815\ud558\uace0 \uc788\ub2e4. \uc5ec\uae30\uc11c\ub294 Component \uc120\ud0dd \ud398\uc774\uc9c0\uc640 \uc778\uc2a4\ud1a8 \ub514\ub809\ud1a0\ub9ac \ubcc0\uacbd \ud398\uc774\uc9c0, \uadf8\ub9ac\uace0 \uc778\uc2a4\ud1a8\ub418\ub294 \ud30c\uc77c\ub4e4\uc744 \ubcf4\uc5ec \uc8fc\ub294 \ud398\uc774\uc9c0\ub97c \ubcf4\uc5ec \uc900\ub2e4. \uc544\ub798 \uc774\ubbf8\uc9c0\uac00 component\uc120\ud0dd \ud654\uba74\uc744 \ubcf4\uc5ec \uc900\ub2e4. \uc5ec\uae30\uc11c \uccab\ubc88\uc9f8 \uc120\ud0dd\uc740 \uc0ac\uc6a9\uc790\uac00 \uc120\ud0dd\uc744 \ubc14\uafc0\uc218 \uc5c6\uc74c\uc744 \ubcf4\uc5ec \uc900\ub2e4. \uc774\ub294 \uc544\ub798 \uc139\uc158 \uc124\uba85\uc911\uc5d0\uc11c 39\ubc88\uc9f8 \uc904\uc5d0 \uc788\ub294 \uba85\ub839\uc5b4\ub97c \uc774\uc6a9\ud558\ub294 \uac83\uc774\ub2e4.<br \/>\n<DIV style=\"TEXT-ALIGN: center; CLEAR: both\" class=\"imageblock center\"><IMG style=\"CURSOR: pointer\" onclick=\"popview(this, '90000003_000000000000000DFC0A6C87')\" src=\"http:\/\/www.cipher.pe.kr\/tt\/attach\/1\/1364423210.png\" width=426 height=288><\/DIV><br \/>\uc544\ub798 \ud654\uba74\uc744 \ubcf4\uba74 InstallDir\uc774 \ub514\ud3f4\ud2b8 \uac12\uc73c\ub85c \ub0a8\uc544 \uc788\ub294 \uac83\uc744 \ubcfc \uc218 \uc788\ub2e4.<br \/>\n<DIV style=\"TEXT-ALIGN: center; CLEAR: both\" class=\"imageblock center\"><IMG style=\"CURSOR: pointer\" onclick=\"popview(this, '90000003_000000000000000DFC0A6C87')\" src=\"http:\/\/www.cipher.pe.kr\/tt\/attach\/1\/1318958163.png\" width=426 height=288><\/DIV><br \/>31~32 : \uc5b8\uc778\uc2a4\ud1a8\uc2dc\uc5d0 \ubcf4\uc5ec\uc8fc\ub294 \ud398\uc774\uc9c0\ub97c \uc9c0\uc815\ud558\uace0 \uc788\ub2e4. \uc5b8\uc778\uc2a4\ud1a8\uc5d0 \ub300\ud55c \ud655\uc778\uc744 \ud558\ub294 \ud398\uc774\uc9c0\uc640 \uc2e4\uc81c\ub85c \uc5b8\uc778\uc2a4\ud1a8\ud558\ub294 \ud398\uc774\uc9c0\ub97c \ubcf4\uc5ec \uc900\ub2e4.<br \/>37~57 : \uccab\ubc88\uc9f8 component\ub97c \uc120\ud0dd\ud588\uc744\ub54c \uc778\uc2a4\ud1a8 \ub420 \ub0b4\uc6a9\uc744 \ud3ec\ud568\ud558\uace0 \uc788\ub2e4. Page \uba85\ub839\uc5b4\ub85c Component \ud398\uc774\uc9c0\ub97c \ubcf4\uc5ec \uc8fc\ubbc0\ub85c 37\ubc88\uc9f8 \uc904\uc5d0\uc11c \ubcf4\ub4ef\uc774 Section\uc5d0 \uc774\ub984\uc744 \uc8fc\uc5c8\uc744\ub54c \uadf8 \uc774\ub984\uc774 Component \uc120\ud0dd \ud398\uc774\uc9c0\uc5d0 \ub098\uc624\uac8c \ub41c\ub2e4.<br \/>39 : SectionIn\uc758 \uacbd\uc6b0 \uc778\uc2a4\ud1a8 \ud0c0\uc785\uc744 \uacb0\uc815\ud558\ub294 InstType \uba85\ub839\uacfc \ud568\uaed8 \uc4f0\uc774\uba74 \uc5b4\ub290 \uc778\uc2a4\ud1a8 \ud0c0\uc785\uc5d0 \ud3ec\ud568\ub418\ub294\uc9c0 \uc778\ub371\uc2a4\ub85c \ud45c\uc2dc\ud558\uac8c \ub41c\ub2e4. \uc5ec\uae30\uc11c\ub294 R0\ub97c \ud30c\ub77c\uba54\ud0c0\ub85c \uc0ac\uc6a9\ud558\uace0 \uc788\ub294\ub370, \uc774\ub7f4 \uacbd\uc6b0 \ud604\uc7ac \uc139\uc158\uc740 \uc77d\uae30 \uc804\uc6a9\uc73c\ub85c \ub418\uba74\uc11c \uc0ac\uc6a9\uc790\uac00 \uacb0\ucf54 \ud574\uc81c \ud558\uc9c0 \ubabb\ud558\uac8c Component \ud398\uc774\uc9c0\uc5d0 \ubcf4\uc774\uac8c \ub41c\ub2e4. \ub514\ud3f4\ud2b8\ub85c \ubb34\uc870\uac74 \uc778\uc2a4\ud1a8 \ud574\uc57c \ud558\ub294 component\ub294 \uc5ec\uae30\uc11c \ucc98\ub7fc \uc0ac\uc6a9\ud558\uba74 \ub41c\ub2e4.<br \/>42 : SetOutPath \ub294 \uadf8 \ub2e4\uc74c\uc5d0 \ub098\uc624\ub294 File \uba85\ub839\uc5b4\uc5d0\uc11c \uc0ac\uc6a9\ud55c\ub2e4\uace0 \ubcf4\uba74 \ub41c\ub2e4.<br \/>45 : File \uba85\ub839\uc5b4\ub294 SetOutPath\uc5d0\uc11c \uc9c0\uc815\ud55c \ub514\ub809\ud1a0\ub9ac\uc5d0 File \ub2e4\uc74c\uc5d0 \uc788\ub294 \ud30c\uc77c\uc744 \uc778\uc2a4\ud1a8 \ud558\uac8c \ub41c\ub2e4. \uc5ec\uae30\uc11c File \ub2e4\uc74c\uc5d0 \uc788\ub294 \ud30c\uc77c\uc740 \ud604\uc7ac nsi \ud30c\uc77c\uc774 \uc788\ub294 \ub514\ub809\ud1a0\ub9ac\uc5d0\uc11c \uc0c1\ub300 \uacbd\ub85c\ub85c \ub9ce\uc774 \uc0ac\uc6a9\ud55c\ub2e4. \ucf54\ub4dc\ub97c \ubcf4\uba74 \ud604\uc7ac \uac19\uc740 \ub514\ub809\ud1a0\ub9ac\uc5d0 \uc788\ub294 exaple2.nsi \ud30c\uc77c\uc744 \ub9d0\ud55c\ub2e4. \uc808\ub300 \uacbd\ub85c\ub85c \ub2e4\ub978 \uacbd\ub85c\uc5d0 \uc788\ub294 \ud30c\uc77c\ub3c4 \ud3ec\ud568\ud560 \uc218 \uc788\ub2e4. File \uba85\ub839\uc5b4\ub294 \ub2e4\ub978 \uc5ec\ub7ec\uac00\uc9c0 \uc635\uc158\uc774 \uc788\uc73c\ubbc0\ub85c \uba54\ub274\uc5bc\uc744 \ucc38\uc870\ud558\ub294 \uac83\ub3c4 \uc88b\uc740 \ubc29\ubc95\uc774\ub2e4. *.exe \uc640 \uac19\uc740 \uacbd\uc6b0\ub3c4 \uc0ac\uc6a9\uac00\ub2a5\ud558\ub2e4.<br \/>48 :&nbsp; WriteRegStr\uc740 \ub808\uc9c0\uc2a4\ud2b8\ub9ac\uc5d0 \uac12\uc744 \uc4f0\ub294 \uba85\ub839\uc5b4\uc774\ub2e4. \uac19\uc740 \ud504\ub85c\uadf8\ub7a8\uc744 \ubaa8\ub974\uace0 \ub450 \ubc88 \uc778\uc2a4\ud1a8 \ud560 \uacbd\uc6b0 \uc774\uc804\uc5d0 \uc778\uc2a4\ud1a8\ud55c \ub514\ub809\ud1a0\ub9ac\ub97c \uc9c0\uc815\ud558\ub294 \ubc29\ubc95\uc73c\ub85c \ub9ce\uc774 \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc778\ub370, 21\ubc88\uc9f8\uc904\uc5d0 \uc788\ub294 InstallDirRegKey\uc5d0\uc11c \uc77d\uc744 \uac12\uc744 \uc5ec\uae30\uc11c \uc801\uc5b4 \uc900\ub2e4.<br \/>51~54 : \uc81c\uc5b4\ud310\uc5d0 \uc788\ub294 \"\ud504\ub85c\uadf8\ub7a8 \ucd94\uac00\/\uc81c\uac70\"\ub97c \ud074\ub9ad\ud588\uc744\ub54c \uc5b8\uc778\uc2a4\ud1a8 \ud560 \uc218 \uc788\ub294 \uc815\ubcf4\ub97c \uc801\uc5b4 \uc8fc\ub294 \ubd80\ubd84\uc774\ub2e4. \ub098\uc911\uc5d0 \ub2e4\ub978 \uc778\uc2a4\ud1a8 \ud504\ub85c\uadf8\ub7a8\uc744 \ub9cc\ub4e4\ub54c\ub3c4 \uc774 \ubd80\ubd84\uc740 \ub9c8\uc9c0\ub9c9 value \uac12\uc744 \ube7c\uace0 \ud56d\uc0c1 \uac19\uc774 \uc0ac\uc6a9\ud560 \ub0b4\uc6a9\uc774\ub2e4. WriteRegStr\uacfc WriteRegDWORD\ub294 \ub808\uc9c0\uc2a4\ud2b8\ub9ac\uc5d0 \uac12\uc744 \uc4f8 \ub54c \ubb38\uc790\uc5f4\ub85c \uc4f0\ub294 \uac83\uc774 \uc788\uace0, DWORD \ud615\ud0dc\ub85c \uc4f0\ub294\uac8c \uc788\ub294\ub370 \uac70\uae30\uc5d0 \ub9de\ucd94\uc5b4\uc11c \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uba74 \ub41c\ub2e4. \ud504\ub85c\uadf8\ub7a8 \ucd94\uac00\/\uc81c\uac70 \ud654\uba74\uc744 \ubcf4\uba74 \uc544\ub798\uc640 \uac19\uc774 \ub098\uc640 \uc788\uc74c\uc744 \uc54c \uc218 \uc788\ub2e4.<br \/>\n<DIV style=\"TEXT-ALIGN: center; CLEAR: both\" class=\"imageblock center\"><IMG style=\"CURSOR: pointer\" onclick=\"popview(this, '90000003_000000000000000DFC0A6C87')\" src=\"http:\/\/www.cipher.pe.kr\/tt\/attach\/1\/1226273276.png\" width=590 height=333><\/DIV><br \/>60~66 : Component \ud398\uc774\uc9c0\uc5d0\uc11c \uc635\uc158\uc73c\ub85c \uc120\ud0dd\/\ud574\uc81c \ud560 \uc218 \uc788\ub294 component\uc5d0 \ub300\ud55c \uc815\ubcf4\ub97c \ub2f4\uace0 \uc788\ub294 \uc139\uc158\uc774\ub2e4. \uc778\uc2a4\ud1a8\uc2dc \uc774 \uc139\uc158 \ubd80\ubd84\uc744 \uccb4\ud06c\ud588\uc73c\uba74, \uc2dc\uc791 \uba54\ub274\uc5d0 \uc544\ub798\uc640 \uac19\uc774 \uc0dd\uc131\ub41c\ub2e4.<br \/>\n<DIV style=\"TEXT-ALIGN: center; CLEAR: both\" class=\"imageblock center\"><IMG style=\"CURSOR: pointer\" onclick=\"popview(this, '90000003_000000000000000DFC0A6C87')\" src=\"http:\/\/www.cipher.pe.kr\/tt\/attach\/1\/1196011127.png\" width=377 height=42><\/DIV><br \/>62 : CreateDirectory\ub294 \ub9d0 \uadf8\ub300\ub85c \ub514\ub809\ud1a0\ub9ac\ub97c \ub9cc\ub4dc\ub294 \uba85\ub839\uc5b4 \uc774\ub2e4. \uc5ec\uae30\uc11c&nbsp; $SMPROGRAMS\ub294 Start Menu\uac00 \uc800\uc7a5\ub418\uc5b4 \uc788\ub294 \ub514\ub809\ud1a0\ub9ac\uc774\ub2e4. \uc989 \uc2dc\uc791 \uba54\ub274\uac00 \uc800\uc7a5\ub418\uc5b4 \uc788\ub294 \ub514\ub809\ud1a0\ub9ac\uc774\uace0, \uc5ec\uae30\uc5d0 Examples2 \ub77c\ub294 \ud3f4\ub354\ub97c \ud558\ub098 \ub9cc\ub4dc\ub290\ubbc0\ub85c \uc2dc\uc791\uba54\ub274\uc5d0 Examples2\ub77c\ub294 \uba54\ub274\ub97c \ub9cc\ub4dc\ub294 \uac83\uc774\ub2e4.<br \/>63 ~ 64 : CreateShortCut \uc740 \uc1fc\ucef7 \uba54\ub274\ub97c \ub9cc\ub4dc\ub294 \uba85\ub839\uc5b4\uc774\ub2e4. \uc2dc\uc791 \uba54\ub274\uc548\uc5d0 \uc1fc\ucef7\uc744 \ub9cc\ub4e4\ub54c \uc4f0\ub294 \uba85\ub839\uc5b4\uc774\ub2e4. <br \/>72 ~ 89 : \uc5b8\uc778\uc2a4\ud1a8\ub7ec\uc5d0\uc11c \uc0ac\uc6a9\ud558\ub294 \uc139\uc158\uc774\ub2e4. \uc139\uc158\uc758 \uc774\ub984\uc5d0 \"Uninstall\"\uc774\ub77c\uace0 \ud558\uba74 \ub41c\ub2e4.<br \/>\n<DIV style=\"TEXT-ALIGN: center; CLEAR: both\" class=\"imageblock center\"><IMG style=\"CURSOR: pointer\" onclick=\"popview(this, '90000003_000000000000000DFC0A6C87')\" src=\"http:\/\/www.cipher.pe.kr\/tt\/attach\/1\/1080008993.png\" width=426 height=288><\/DIV><br \/>75 : DeleteRegKey\ub294 \uc800\uc7a5\ub418\uc5b4 \uc788\ub294 \ub808\uc9c0\uc2a4\ud2b8\ub97c \uc9c0\uc6b0\ub294 \uba85\ub839\uc5b4\uc774\ub2e4.<br \/>79 ~ 80 : \uc778\uc2a4\ud1a8 \ud588\ub358 \ud30c\uc77c\uc744 \uc9c0\uc6b0\ub294 \uba85\ub839\uc774\uba70, \uc5b8\uc778\uc2a4\ud1a8\ub7ec\uc778 uninstall.exe\ub3c4 \uc9c0\uc6b0\uac8c \ub41c\ub2e4. \ud504\ub85c\uadf8\ub7a8\uc774 \uc2e4\ud589\uc911\uc5d0\ub294 \uc2e4\ud589\ud30c\uc77c\uc744 \uc9c0\uc6b8\uc218 \uc5c6\uc9c0\ub9cc, \uc6d0\ub798 \uc5b8\uc778\uc2a4\ud1a8\ub7ec\ub294 \uc2e4\ud589\ub418\uba74 \uc708\ub3c4\uc6b0\uc758 temp \ub514\ub809\ud1a0\ub9ac\ub85c \ubcf5\uc0ac\ub418\uc5b4\uc11c \uc2e4\ud589\ub41c\ub2e4. \ub54c\ubb38\uc5d0 \uc778\uc2a4\ud1a8 \ub41c \ub514\ub809\ud1a0\ub9ac\uc5d0 \uc788\ub294 \uc5b8\uc778\uc2a4\ud1a8\ub7ec\ub97c \uc9c0\uc6b8 \uc218\uac00 \uc788\ub2e4.<br \/>83 : \uc1fc\ucef7\uc744 \uc9c0\uc6b4\ub2e4.<br \/>86 ~ 87 : \ub514\ub809\ud1a0\ub9ac \uc790\uccb4\ub97c \uc9c0\uc6b4\ub2e4.<br \/><br \/>\uc5b8\uc778\uc2a4\ud1a8\uc774 \ub05d\ub09c \ud6c4\uc5d0\ub294 \uc544\ub798\uc640 \uac19\uc740 \ud654\uba74\uc774 \ub098\uc624\uac8c \ub41c\ub2e4.<br \/>\n<DIV style=\"TEXT-ALIGN: center; CLEAR: both\" class=\"imageblock center\"><IMG style=\"CURSOR: pointer\" onclick=\"popview(this, '90000003_000000000000000DFC0A6C87')\" src=\"http:\/\/www.cipher.pe.kr\/tt\/attach\/1\/1384434932.png\" width=426 height=288> \n<\/DIV>\n","protected":false},"excerpt":{"rendered":"<p>\uc774\uc81c NSIS\ub97c \uc0ac\uc6a9\ud558\ub294\ub370 \ud544\uc694\ud55c \ub0b4\uc6a9\uc740 \ub300\ubd80\ubd84 \ubc30\uc6e0\ub2e4. \ub098\uba38\uc9c0 \ub0b4\uc6a9\ub4e4\uc740 \uc778\uc2a4\ud1a8 \ud654\uba74\uc778 GUI\ub97c \uc5b4\ub5bb\uac8c \uc6d0\ud558\ub294 \uc785\ub9db\ub300\ub85c \ubc14\uafb8\ub294\uc9c0\uc640 MUI(Modern User Interface) \ubd80\ubd84\uc774 \ub0a8\uc558\ub294\ub370, \uc774\ub7f0 \ubd80\ubd84\uc740 \uc2e4\uc81c\ub85c \ub3d9\uc791(\uc778\uc2a4\ud1a8\/\uc5b8\uc778\uc2a4\ud1a8 \ub3d9\uc791)\uc744 \ud558\ub294 \uac83\ub4e4\uc744 \ubd84\uc11d\ud558\uace0 \uc2e4\ud589\ud574 \ubcf4\uace0 \ub098\uc11c \ub4a4\uc5d0 \ubcf4\uae30\ub85c \ud558\uaca0\ub2e4. \uac00\ub2a5\ud55c NSIS\ub97c \uc778\uc2a4\ud1a8 \ud588\uc744\ub54c \uac19\uc774 \uc778\uc2a4\ud1a8\ub418\ub294 \uc608\uc81c \ud30c\uc77c \uc911\uc5d0\uc11c \ubd84\uc11d\ud560 \ub9cc\ud55c \uac83\ub4e4\uc744 \uba87\uac1c \uace8\ub77c\uc11c \ubd84\uc11d\ud574 \ubcf4\uaca0\ub2e4. \uc608\uc81c \ucf54\ub4dc \uc790\uccb4\uc5d0 \uc8fc\uc11d\uc774 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[17],"tags":[],"class_list":["post-125","post","type-post","status-publish","format-standard","hentry","category-development_dev_tools"],"_links":{"self":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=125"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/125\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}