build_setup_template.nsi 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. ; Script generated by the HM NIS Edit Script Wizard.
  2. ; Adapted for docsis ... (c) 2003 Evvolve Media SRL.
  3. ; needs NSIS 2.0b4 or a recent CVS snapshot (does not work with 2.0b3)
  4. ; Get NSIS at http://nsis.sourceforge.net
  5. !include "MUI.nsh"
  6. !define MUI_PRODUCT "docsis"
  7. !define MUI_VERSION "0.9.3"
  8. !insertmacro MUI_PAGE_WELCOME
  9. !insertmacro MUI_PAGE_LICENSE
  10. !insertmacro MUI_PAGE_COMPONENTS
  11. !insertmacro MUI_PAGE_DIRECTORY
  12. !insertmacro MUI_PAGE_INSTFILES
  13. !insertmacro MUI_PAGE_FINISH
  14. !insertmacro MUI_UNPAGE_INSTFILES
  15. !define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\README"
  16. !define MUI_ABORTWARNING
  17. !define MUI_ICON "${NSISDIR}\Contrib\Icons\Setup.ico"
  18. !define MUI_UNICON "${NSISDIR}\Contrib\Icons\normal-uninstall.ico"
  19. !insertmacro MUI_LANGUAGE "English"
  20. OutFile "docsis-setup-dist.exe"
  21. InstallDir "$PROGRAMFILES\DOCSIS Configurator"
  22. InstallDirRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\docsis.exe" ""
  23. LicenseData "@@buildroot@@\License.txt"
  24. ShowInstDetails show
  25. ShowUnInstDetails show
  26. Section "Base DOCSIS kit" SEC01
  27. SetOutPath "$INSTDIR"
  28. SetOverwrite ifnewer
  29. File "@@buildroot@@\src\docsis.exe"
  30. CreateShortCut "$DESKTOP\docsis.lnk" "$INSTDIR\docsis.exe"
  31. File "@@buildroot@@\License.txt"
  32. File "C:\cygwin\bin\cygcrypto-0.9.7.dll"
  33. File "C:\cygwin\bin\cygwin1.dll"
  34. File "@@buildroot@@\README"
  35. ; In order to allow docsis to be run from everywhere, we create a batch file
  36. ; and copy that to the Windows system directory.
  37. ; We could also update the global PATH but that I don't know how to do that
  38. ; and it may require a rebooot ...
  39. FileOpen $9 $INSTDIR\docsis.bat w
  40. FileWrite $9 "@echo off$\r$\n"
  41. FileWrite $9 "set MIBS=ALL$\r$\n"
  42. FileWrite $9 "set MIBDIRS=$INSTDIR\snmp\mibs$\r$\n"
  43. FileWrite $9 "set PATH=%PATH%;$INSTDIR$\r$\n"
  44. FileWrite $9 "set SNMPCONFPATH=%PATH%;$INSTDIR\snmp\conf$\r$\n"
  45. FileWrite $9 "docsis.exe %1 %2 %3 %4 %5 %6 %7$\r$\n"
  46. FileClose $9
  47. CopyFiles $INSTDIR\docsis.bat $SYSDIR
  48. ; Documentation
  49. SetOutPath "$INSTDIR\doc"
  50. File "@@buildroot@@\doc\index.html"
  51. File "@@buildroot@@\doc\config-format.html"
  52. File "@@buildroot@@\doc\config-settings.html"
  53. SectionEnd
  54. Section "Example files" SEC02
  55. SetOutPath "$INSTDIR\examples"
  56. File "@@buildroot@@\examples\testkey.key"
  57. File "@@buildroot@@\examples\README"
  58. File "@@buildroot@@\examples\packetcable_mta.cfg"
  59. File "@@buildroot@@\examples\keyfile"
  60. File "@@buildroot@@\examples\docsis20_stresstest.cfg"
  61. File "@@buildroot@@\examples\docsis20_no_snmp.cfg"
  62. File "@@buildroot@@\examples\docsis20.cfg"
  63. File "@@buildroot@@\examples\docsis1.1_stress_test.cfg"
  64. File "@@buildroot@@\examples\docsis1.1_simple.cfg"
  65. File "@@buildroot@@\examples\docsis1.1_oss_v3coex.cfg"
  66. File "@@buildroot@@\examples\docsis1.1_classifiers2.cfg"
  67. File "@@buildroot@@\examples\docsis1.1_classifiers.cfg"
  68. File "@@buildroot@@\examples\docsis1.0_filters2_oidtext.cfg"
  69. File "@@buildroot@@\examples\docsis1.0_filters2_oidnum.cfg"
  70. File "@@buildroot@@\examples\docsis1.0_filters_oidtext.cfg"
  71. File "@@buildroot@@\examples\docsis1.0_filters_oidnum.cfg"
  72. File "@@buildroot@@\examples\docsis1.0_filters_NmAccess.cfg"
  73. File "@@buildroot@@\examples\docsis1.0_example.cfg"
  74. File "@@buildroot@@\examples\docsis1.0_basic_upgrade.cfg"
  75. File "@@buildroot@@\examples\docsis1.0_basic_bpi.cfg"
  76. File "@@buildroot@@\examples\docsis1.0_basic.cfg"
  77. File "@@buildroot@@\examples\docsis1.0_2class_rfc2669.cfg"
  78. File "@@buildroot@@\examples\docsis1.0_2class_non-rfc2669.cfg"
  79. SectionEnd
  80. Section "SNMP MIBs" SEC03
  81. SetOutPath "$INSTDIR\snmp\mibs"
  82. File "@@netsnmproot@@\UDP-MIB.txt"
  83. File "@@netsnmproot@@\UCD-SNMP-MIB.txt"
  84. File "@@netsnmproot@@\UCD-IPFWACC-MIB.txt"
  85. File "@@netsnmproot@@\UCD-DLMOD-MIB.txt"
  86. File "@@netsnmproot@@\UCD-DISKIO-MIB.txt"
  87. File "@@netsnmproot@@\UCD-DEMO-MIB.txt"
  88. File "@@netsnmproot@@\TCP-MIB.txt"
  89. File "@@netsnmproot@@\SNMP-VIEW-BASED-ACM-MIB.txt"
  90. File "@@netsnmproot@@\SNMPv2-TM.txt"
  91. File "@@netsnmproot@@\SNMPv2-TC.txt"
  92. File "@@netsnmproot@@\SNMPv2-SMI.txt"
  93. File "@@netsnmproot@@\SNMPv2-MIB.txt"
  94. File "@@netsnmproot@@\SNMPv2-CONF.txt"
  95. File "@@netsnmproot@@\SNMP-USER-BASED-SM-MIB.txt"
  96. File "@@netsnmproot@@\SNMP-TARGET-MIB.txt"
  97. File "@@netsnmproot@@\SNMP-PROXY-MIB.txt"
  98. File "@@netsnmproot@@\SNMP-NOTIFICATION-MIB.txt"
  99. File "@@netsnmproot@@\SNMP-MPD-MIB.txt"
  100. File "@@netsnmproot@@\SNMP-FRAMEWORK-MIB.txt"
  101. File "@@netsnmproot@@\SNMP-COMMUNITY-MIB.txt"
  102. File "@@netsnmproot@@\SMUX-MIB.txt"
  103. File "@@netsnmproot@@\RMON-MIB.txt"
  104. File "@@netsnmproot@@\RFC-1215.txt"
  105. File "@@netsnmproot@@\RFC1213-MIB.txt"
  106. File "@@netsnmproot@@\RFC1155-SMI.txt"
  107. File "@@netsnmproot@@\NOTIFICATION-LOG-MIB.txt"
  108. File "@@netsnmproot@@\NET-SNMP-TC.txt"
  109. File "@@netsnmproot@@\NET-SNMP-MIB.txt"
  110. File "@@netsnmproot@@\NET-SNMP-EXAMPLES-MIB.txt"
  111. File "@@netsnmproot@@\NET-SNMP-AGENT-MIB.txt"
  112. File "@@netsnmproot@@\IPV6-UDP-MIB.txt"
  113. File "@@netsnmproot@@\IPV6-TCP-MIB.txt"
  114. File "@@netsnmproot@@\IPV6-TC.txt"
  115. File "@@netsnmproot@@\IPV6-MIB.txt"
  116. File "@@netsnmproot@@\IPV6-ICMP-MIB.txt"
  117. File "@@netsnmproot@@\IP-MIB.txt"
  118. File "@@netsnmproot@@\IP-FORWARD-MIB.txt"
  119. File "@@netsnmproot@@\INET-ADDRESS-MIB.txt"
  120. File "@@netsnmproot@@\IF-MIB.txt"
  121. File "@@netsnmproot@@\IF-INVERTED-STACK-MIB.txt"
  122. File "@@netsnmproot@@\IANA-LANGUAGE-MIB.txt"
  123. File "@@netsnmproot@@\IANAifType-MIB.txt"
  124. File "@@netsnmproot@@\IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt"
  125. File "@@netsnmproot@@\HOST-RESOURCES-TYPES.txt"
  126. File "@@netsnmproot@@\HOST-RESOURCES-MIB.txt"
  127. File "@@netsnmproot@@\HCNUM-TC.txt"
  128. File "@@netsnmproot@@\EtherLike-MIB.txt"
  129. File "@@netsnmproot@@\AGENTX-MIB.txt"
  130. File "@@netsnmproot@@\DISMAN-SCRIPT-MIB.txt"
  131. File "@@netsnmproot@@\DISMAN-SCHEDULE-MIB.txt"
  132. File "@@buildroot@@\mibs\IGMP-STD-MIB.mib"
  133. File "@@buildroot@@\mibs\DOCS-SUBMGT-MIB.mib"
  134. File "@@buildroot@@\mibs\DOCS-QOS-MIB.mib"
  135. File "@@buildroot@@\mibs\DOCS-IF-MIB.mib"
  136. File "@@buildroot@@\mibs\DOCS-IF-EXT-MIB.mib"
  137. File "@@buildroot@@\mibs\DOCS-CABLE-DEVICE-TRAP-MIB.mib"
  138. File "@@buildroot@@\mibs\DOCS-CABLE-DEVICE-MIB.mib"
  139. File "@@buildroot@@\mibs\DOCS-BPI-MIB.mib"
  140. File "@@buildroot@@\mibs\DOCS-BPI2-MIB.mib"
  141. File "@@buildroot@@\mibs\CLAB-DEF-MIB.txt"
  142. File "@@buildroot@@\mibs\PKTC-SIG-MIB.mib"
  143. File "@@buildroot@@\mibs\PKTC-MTA-MIB.mib"
  144. File "@@buildroot@@\mibs\PKTC-EVENT-MIB.mib"
  145. ; We need to tell the NET-SNMP library [statically linked into docsis]
  146. ; where to find the MIB files.
  147. SetOutPath "$INSTDIR\snmp\conf"
  148. FileOpen $9 $INSTDIR\snmp\conf\snmp.conf w
  149. FileWrite $9 "mibs ALL$\n"
  150. FileWrite $9 "mibdirs $INSTDIR\snmp\mibs$\n"
  151. FileClose $9
  152. SectionEnd
  153. Section -AdditionalIcons
  154. WriteIniStr "$INSTDIR\docsis.url" "InternetShortcut" "URL" "http://www.evvolve.com/docsis.html"
  155. WriteIniStr "$INSTDIR\cablelabs.url" "InternetShortcut" "URL" "http://www.cablelabs.com"
  156. CreateDirectory "$SMPROGRAMS\DOCSIS Configurator"
  157. CreateShortCut "$SMPROGRAMS\DOCSIS Configurator\Documentation.lnk" "$INSTDIR\doc\index.html"
  158. CreateShortCut "$SMPROGRAMS\DOCSIS Configurator\DOCSIS Website.lnk" "$INSTDIR\docsis.url"
  159. CreateShortCut "$SMPROGRAMS\DOCSIS Configurator\Cablelabs Website.lnk" "$INSTDIR\docsis.url"
  160. CreateShortCut "$SMPROGRAMS\DOCSIS Configurator\Uninstall.lnk" "$INSTDIR\uninst.exe"
  161. SectionEnd
  162. Section -Post
  163. WriteUninstaller "$INSTDIR\uninst.exe"
  164. WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\docsis.exe" "" "$INSTDIR\docsis.exe"
  165. WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\docsis" "DisplayName" "${MUI_PRODUCT} ${MUI_VERSION}"
  166. WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\docsis" "UninstallString" "$INSTDIR\uninst.exe"
  167. WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\docsis" "DisplayIcon" "$INSTDIR\docsis.exe"
  168. WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\docsis" "DisplayVersion" "${MUI_VERSION}"
  169. WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\docsis" "URLInfoAbout" "http://www.evvolve.com/docsis.html"
  170. WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\docsis" "Publisher" "Evvolve Media SRL"
  171. SectionEnd
  172. !insertmacro MUI_FUNCTIONS_DESCRIPTION_BEGIN
  173. !insertmacro MUI_DESCRIPTION_TEXT ${SEC01} "These are the base programs needed by DOCSIS. The Cygwin libraries are included here for convenience. If you already have Cygwin installed, you would be better off compiling from source."
  174. !insertmacro MUI_DESCRIPTION_TEXT ${SEC02} "These are example configuration file (in text format). These are just examples, some of them are not useable in a real network. Make sure you understand what's in there before using them."
  175. !insertmacro MUI_DESCRIPTION_TEXT ${SEC03} "These are the SNMP MIBs. DOCSIS-specific MIBs are included. These files are used by docsis to decode SnmpMibObject settings in a human-readable format."
  176. !insertmacro MUI_FUNCTIONS_DESCRIPTION_END
  177. Function un.onUninstSuccess
  178. HideWindow
  179. MessageBox MB_ICONINFORMATION|MB_OK "${MUI_PRODUCT} ${MUI_VERSION} was successfully removed from your computer."
  180. FunctionEnd
  181. Function un.onInit
  182. MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove ${MUI_PRODUCT} ${MUI_VERSION} and all of its components?" IDYES +2
  183. Abort
  184. FunctionEnd
  185. Section Uninstall
  186. Delete "$INSTDIR\docsis.exe"
  187. Delete "$INSTDIR\License.txt"
  188. Delete "$INSTDIR\cygcrypto-0.9.7.dll"
  189. Delete "$INSTDIR\cygwin1.dll"
  190. Delete "$INSTDIR\README"
  191. Delete "$INSTDIR\docsis.bat"
  192. Delete "$SYSDIR\docsis.bat"
  193. Delete "$INSTDIR\doc\index.html"
  194. Delete "$INSTDIR\doc\config-format.html"
  195. Delete "$INSTDIR\doc\config-settings.html"
  196. Delete "$INSTDIR\examples\testkey.key"
  197. Delete "$INSTDIR\examples\README.txt"
  198. Delete "$INSTDIR\examples\packetcable_mta.cfg"
  199. Delete "$INSTDIR\examples\keyfile"
  200. Delete "$INSTDIR\examples\docsis20_stresstest.cfg"
  201. Delete "$INSTDIR\examples\docsis20_no_snmp.cfg"
  202. Delete "$INSTDIR\examples\docsis20.cfg"
  203. Delete "$INSTDIR\examples\docsis1.1_stress_test.cfg"
  204. Delete "$INSTDIR\examples\docsis1.1_simple.cfg"
  205. Delete "$INSTDIR\examples\docsis1.1_oss_v3coex.cfg"
  206. Delete "$INSTDIR\examples\docsis1.1_classifiers2.cfg"
  207. Delete "$INSTDIR\examples\docsis1.1_classifiers.cfg"
  208. Delete "$INSTDIR\examples\docsis1.0_filters2_oidtext.cfg"
  209. Delete "$INSTDIR\examples\docsis1.0_filters2_oidnum.cfg"
  210. Delete "$INSTDIR\examples\docsis1.0_filters_oidtext.cfg"
  211. Delete "$INSTDIR\examples\docsis1.0_filters_oidnum.cfg"
  212. Delete "$INSTDIR\examples\docsis1.0_filters_NmAccess.cfg"
  213. Delete "$INSTDIR\examples\docsis1.0_example.cfg"
  214. Delete "$INSTDIR\examples\docsis1.0_basic_upgrade.cfg"
  215. Delete "$INSTDIR\examples\docsis1.0_basic_bpi.cfg"
  216. Delete "$INSTDIR\examples\docsis1.0_basic.cfg"
  217. Delete "$INSTDIR\examples\docsis1.0_2class_rfc2669.cfg"
  218. Delete "$INSTDIR\examples\docsis1.0_2class_non-rfc2669.cfg"
  219. Delete "$INSTDIR\snmp\mibs\UDP-MIB.txt"
  220. Delete "$INSTDIR\snmp\mibs\UCD-SNMP-MIB.txt"
  221. Delete "$INSTDIR\snmp\mibs\UCD-IPFWACC-MIB.txt"
  222. Delete "$INSTDIR\snmp\mibs\UCD-DLMOD-MIB.txt"
  223. Delete "$INSTDIR\snmp\mibs\UCD-DISKIO-MIB.txt"
  224. Delete "$INSTDIR\snmp\mibs\UCD-DEMO-MIB.txt"
  225. Delete "$INSTDIR\snmp\mibs\TCP-MIB.txt"
  226. Delete "$INSTDIR\snmp\mibs\SNMP-VIEW-BASED-ACM-MIB.txt"
  227. Delete "$INSTDIR\snmp\mibs\SNMPv2-TM.txt"
  228. Delete "$INSTDIR\snmp\mibs\SNMPv2-TC.txt"
  229. Delete "$INSTDIR\snmp\mibs\SNMPv2-SMI.txt"
  230. Delete "$INSTDIR\snmp\mibs\SNMPv2-MIB.txt"
  231. Delete "$INSTDIR\snmp\mibs\SNMPv2-CONF.txt"
  232. Delete "$INSTDIR\snmp\mibs\SNMP-USER-BASED-SM-MIB.txt"
  233. Delete "$INSTDIR\snmp\mibs\SNMP-TARGET-MIB.txt"
  234. Delete "$INSTDIR\snmp\mibs\SNMP-PROXY-MIB.txt"
  235. Delete "$INSTDIR\snmp\mibs\SNMP-NOTIFICATION-MIB.txt"
  236. Delete "$INSTDIR\snmp\mibs\SNMP-MPD-MIB.txt"
  237. Delete "$INSTDIR\snmp\mibs\SNMP-FRAMEWORK-MIB.txt"
  238. Delete "$INSTDIR\snmp\mibs\SNMP-COMMUNITY-MIB.txt"
  239. Delete "$INSTDIR\snmp\mibs\SMUX-MIB.txt"
  240. Delete "$INSTDIR\snmp\mibs\RMON-MIB.txt"
  241. Delete "$INSTDIR\snmp\mibs\RFC-1215.txt"
  242. Delete "$INSTDIR\snmp\mibs\RFC1213-MIB.txt"
  243. Delete "$INSTDIR\snmp\mibs\RFC1155-SMI.txt"
  244. Delete "$INSTDIR\snmp\mibs\PKTC-SIG-MIB.mib"
  245. Delete "$INSTDIR\snmp\mibs\PKTC-MTA-MIB.mib"
  246. Delete "$INSTDIR\snmp\mibs\PKTC-EVENT-MIB.mib"
  247. Delete "$INSTDIR\snmp\mibs\NOTIFICATION-LOG-MIB.txt"
  248. Delete "$INSTDIR\snmp\mibs\NET-SNMP-TC.txt"
  249. Delete "$INSTDIR\snmp\mibs\NET-SNMP-MIB.txt"
  250. Delete "$INSTDIR\snmp\mibs\NET-SNMP-EXAMPLES-MIB.txt"
  251. Delete "$INSTDIR\snmp\mibs\NET-SNMP-AGENT-MIB.txt"
  252. Delete "$INSTDIR\snmp\mibs\IPV6-UDP-MIB.txt"
  253. Delete "$INSTDIR\snmp\mibs\IPV6-TCP-MIB.txt"
  254. Delete "$INSTDIR\snmp\mibs\IPV6-TC.txt"
  255. Delete "$INSTDIR\snmp\mibs\IPV6-MIB.txt"
  256. Delete "$INSTDIR\snmp\mibs\IPV6-ICMP-MIB.txt"
  257. Delete "$INSTDIR\snmp\mibs\IP-MIB.txt"
  258. Delete "$INSTDIR\snmp\mibs\IP-FORWARD-MIB.txt"
  259. Delete "$INSTDIR\snmp\mibs\INET-ADDRESS-MIB.txt"
  260. Delete "$INSTDIR\snmp\mibs\IGMP-STD-MIB.mib"
  261. Delete "$INSTDIR\snmp\mibs\IF-MIB.txt"
  262. Delete "$INSTDIR\snmp\mibs\IF-INVERTED-STACK-MIB.txt"
  263. Delete "$INSTDIR\snmp\mibs\IANA-LANGUAGE-MIB.txt"
  264. Delete "$INSTDIR\snmp\mibs\IANAifType-MIB.txt"
  265. Delete "$INSTDIR\snmp\mibs\IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt"
  266. Delete "$INSTDIR\snmp\mibs\HOST-RESOURCES-TYPES.txt"
  267. Delete "$INSTDIR\snmp\mibs\HOST-RESOURCES-MIB.txt"
  268. Delete "$INSTDIR\snmp\mibs\HCNUM-TC.txt"
  269. Delete "$INSTDIR\snmp\mibs\EtherLike-MIB.txt"
  270. Delete "$INSTDIR\snmp\mibs\DOCS-SUBMGT-MIB.mib"
  271. Delete "$INSTDIR\snmp\mibs\DOCS-QOS-MIB.mib"
  272. Delete "$INSTDIR\snmp\mibs\DOCS-IF-MIB.mib"
  273. Delete "$INSTDIR\snmp\mibs\DOCS-IF-EXT-MIB.mib"
  274. Delete "$INSTDIR\snmp\mibs\DOCS-CABLE-DEVICE-TRAP-MIB.mib"
  275. Delete "$INSTDIR\snmp\mibs\DOCS-CABLE-DEVICE-MIB.mib"
  276. Delete "$INSTDIR\snmp\mibs\DOCS-BPI-MIB.mib"
  277. Delete "$INSTDIR\snmp\mibs\DOCS-BPI2-MIB.mib"
  278. Delete "$INSTDIR\snmp\mibs\DISMAN-SCRIPT-MIB.txt"
  279. Delete "$INSTDIR\snmp\mibs\DISMAN-SCHEDULE-MIB.txt"
  280. Delete "$INSTDIR\snmp\mibs\CLAB-DEF-MIB.txt"
  281. Delete "$INSTDIR\snmp\mibs\AGENTX-MIB.txt"
  282. Delete "$INSTDIR\uninst.exe"
  283. Delete "$INSTDIR\docsis.url"
  284. Delete "$INSTDIR\cablelabs.url"
  285. Delete "$DESKTOP\docsis.lnk"
  286. Delete "$SMPROGRAMS\DOCSIS Configurator\Documentation.lnk"
  287. Delete "$SMPROGRAMS\DOCSIS Configurator\DOCSIS Website.lnk"
  288. Delete "$SMPROGRAMS\DOCSIS Configurator\Cablelabs Website.lnk"
  289. Delete "$SMPROGRAMS\DOCSIS Configurator\Uninstall.lnk"
  290. RMDir "$SMPROGRAMS\DOCSIS Configurator"
  291. RMDir "$INSTDIR\snmp\mibs"
  292. RMDir "$INSTDIR\snmp\conf"
  293. RMDir "$INSTDIR\examples"
  294. RMDir "$INSTDIR"
  295. DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\docsis"
  296. DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\docsis.exe"
  297. SetAutoClose true
  298. SectionEnd