home *** CD-ROM | disk | FTP | other *** search
/ Net Power 2000 #9 / Net2.iso / Utility / neoplan.exe / %DATAPATH% / complist.ini
Encoding:
INI File  |  2000-07-27  |  8.1 KB  |  256 lines

  1. [Components]
  2. comp1=Update
  3. comp2=Flyswat
  4. comp3=NetClubs
  5.  
  6. [Flyswat]
  7. state=downloaded
  8.  
  9. [Flyswat-downloaded]
  10. label=Not Installed
  11. actionLabel=Install
  12. cmd1=checkINI:$I\bin\np.ini,reg,FSE,1,declined
  13. cmd2=newstate:ok_to_install
  14. action1=setINI:$I\bin\np.ini,reg,FSE,1
  15. action2=newstate:ok_to_install
  16.  
  17. [Flyswat-declined]
  18. label=Not Installed
  19. actionLabel=Install
  20. action1=setINI:$I\bin\np.ini,reg,FSE,1
  21. action2=newstate:ok_to_install
  22.  
  23. [Flyswat-ok_to_install]
  24. label=Installed
  25. cmd1=call:$I\bin\flylib.dll,DllRegisterEmbed
  26. cmd2=call:$P\flyswat\fssetup.dll,DllRegisterServer
  27. cmd3=refreshComponents
  28. cmd4=newstate:installed
  29.  
  30.  
  31. [NetClubs]
  32. state=initial
  33. file1=$I\bin\neoclubs.dll,5.1.0.$B
  34. file2=$I\bin\vipprot2.dll,5.0.5.0
  35. file3=$I\bin\vipcheck.dll,1.0.1.0
  36. file4=$I\bin\vipgutil.dll,1.0.155.0
  37. file5=$I\bin\vipnvc.dll,2.0.1.0
  38. file6=$I\bin\vipres2.dll,2.0.6.0
  39. file7=$I\bin\vipsvcs2.dll,2.003.5.0
  40.  
  41. [NetClubs-missing]
  42. label=missing
  43. actionLabel=Download
  44. ; the following will loop around if it fails...
  45. cmd1=updateFile:D,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-clubs_missing_flash.zip,netclubs_flash,$B,clubs.cmd,missing-flash-pause
  46. cmd2=newstate:missing-flash-downloaded
  47. ; if the user forces the action, we don't need to ask.
  48. action1=newstate:ok_to_download
  49.  
  50. [NetClubs-missing-flash-pause]
  51. label=missing
  52. actionLabel=Download
  53. ; continue with the next component.
  54. cmd1=nextcomp:missing
  55. ; if the user forces the action, we don't need to ask.
  56. action1=newstate:ok_to_download
  57.  
  58.  
  59. [NetClubs-missing-flash-downloaded]
  60. label=missing
  61. actionLabel=Download
  62. cmd1=UIRequired
  63. cmd2=checkINI:$I\bin\np.ini,clubs,Component_dontAsk,0,missing-declined
  64. cmd3=wizard:clubs_missing.ini
  65. cmd4=checkINI:$I\bin\np.ini,clubs,Component_dontAsk,0,missing-declined
  66. cmd5=checkINI:$I\bin\np.ini,clubs,Component_No,0
  67. cmd6=newstate:ok_to_download
  68. action1=newstate:ok_to_download
  69.  
  70. [NetClubs-ok_to_download]
  71. label=downloading
  72. ; loop until we get it.
  73. cmd1=updateFile:D,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-clubs_inst.zip,netclubs,$B,clubs.cmd,ok-to-download-pause
  74. cmd2=newstate:downloaded
  75.  
  76.  
  77. [NetClubs-ok-to-download-pause]
  78. label=downloading
  79. ; try the download next session start
  80. cmd1=nextcomp:ok_to_download
  81.  
  82.  
  83. [NetClubs-missing-declined]
  84. label=missing
  85. actionLabel=Download
  86. action1=setINI:$I\bin\np.ini,clubs,Component_dontAsk,0
  87. action2=setINI:$I\bin\np.ini,clubs,Component_No,0
  88. ; start trying...
  89. action3=newstate:ok_to_download
  90.  
  91.  
  92. [NetClubs-old]
  93. label=out of date
  94. cmd1=UIRequired
  95. cmd2=wizard:clubs_old.ini
  96. cmd3=newstate:ok_to_download
  97.  
  98. [NetClubs-old-declined]
  99. label=out of date
  100. actionLabel=Download
  101. action1=setINI:$I\bin\np.ini,clubs,Component_dontAsk,0
  102. action2=newstate:ok_to_download
  103.  
  104. [Netclubs-downloaded]
  105. label=Downloaded
  106. actionLabel=Install
  107. cmd1=UIRequired
  108. cmd2=adminRequired:ALL
  109. cmd3=checkINI:$I\bin\np.ini,clubs,Component_dontAsk,0,downloaded-declined
  110. cmd4=wizard:clubs_downloaded.ini
  111. cmd5=checkINI:$I\bin\np.ini,clubs,Component_dontAsk,0,downloaded-declined
  112. cmd6=checkINI:$I\bin\np.ini,clubs,Component_No,0
  113. cmd7=curl:execute D H Clubsinst.exe
  114. cmd8=newstate:waiting-on-setup
  115. action1=curl:execute D H Clubsinst.exe
  116. action2=newstate:waiting-on-setup
  117.  
  118.  
  119. [NetClubs-downloaded-declined]
  120. label=Downloaded
  121. actionLabel=Install
  122. action1=setINI:$I\bin\np.ini,clubs,Component_dontAsk,0
  123. action2=setINI:$I\bin\np.ini,clubs,Component_No,0
  124. action3=curl:execute D H Clubsinst.exe
  125. action4=newstate:waiting-on-setup
  126.  
  127.  
  128.  
  129. [Netclubs-waiting-on-setup]
  130. label=Waiting for setup
  131. actionLabel=Retry
  132. cmd1=checkINI:$I\bin\np.ini,clubs,Component_installed,1
  133. cmd2=setINI:$I\bin\np.ini,clubs,Component_justLanded,1
  134. cmd3=refreshComponents
  135. cmd4=newstate:installed
  136. action1=setINI:$I\bin\np.ini,clubs,Component_dontAsk,0
  137. action2=setINI:$I\bin\np.ini,clubs,Component_No,0
  138. action3=curl:execute D H Clubsinst.exe
  139. action4=newstate:waiting-on-setup
  140.  
  141.  
  142. [Update]
  143. state=determine
  144.  
  145.  
  146. [Update-determine]
  147. label=Not Available
  148. actionLabel=Check
  149. ; see if theres one there
  150. cmd1=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-available.zip,update,$B$C,update-avail.cmd,not-available
  151. cmd2=newstate:available
  152. action1=qbox:Update,Would you like #PRODNAME to check for an updated component in the background and notify you if one is available?,not-available
  153. ; user initiated action, get them both...
  154. action2=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-available.zip,update,$B$C,update-avail.cmd,interact-not-available
  155. action3=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,interact-patch-not-available
  156. action4=ibox:An update was found and downloaded.  #PRODNAME will now install the update,interact-downloaded-dont-install
  157. action5=newstate:doThePatch
  158.  
  159.  
  160. ; tell the user, then go back to checking on session start.
  161. [Update-interact-not-available]
  162. cmd1=ibox:There are no updates available at this time
  163. cmd2=newstate:not-available
  164.  
  165.  
  166. [Update-interact-patch-not-available]
  167. cmd1=ibox:There are no updates available at this time
  168. cmd2=newstate:patch-not-available
  169.  
  170.  
  171. [Update-interact-downloaded-dont-install]
  172. label=NotInstalled
  173. actionLabel=Install
  174. action1=qbox:Update,A #PRODNAME update has been downloaded! Would you like to apply it now?,interact-downloaded-dont-install
  175. action2=newstate:doThePatch
  176.  
  177. [Update-not-available]
  178. label=Not Available
  179. actionLabel=Check
  180. ; see if theres one there
  181. cmd1=nextcomp:determine
  182. action1=qbox:Update,Would you like #PRODNAME to check for an updated component in the background and notify you if one is available?,not-available
  183. ; user initiated action, get them both...
  184. action2=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-available.zip,update,$B$C,update-avail.cmd,interact-not-available
  185. action3=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,interact-patch-not-available
  186. action4=ibox:An update was found and downloaded.  #PRODNAME will now install the update,interact-downloaded-dont-install
  187. action5=newstate:doThePatch
  188.  
  189.  
  190. ; do the patch next time we start.
  191. [Update-available]
  192. label=Available
  193. actionLabel=Download
  194. cmd1=checkINI:$I\bin\np.ini,Startup,BackgroundUpdates,0,available-download-dont-install
  195. cmd2=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,patch-not-available
  196. cmd3=newstate:downloaded-install-next-session
  197. ; not reachable... hops to new state after getting... but paranoid... I'll leave it.
  198. action1=newstate:doThePatch
  199.  
  200.  
  201. [Update-downloaded-install-next-session]
  202. label=Available - ready to apply
  203. actionLabel=Apply
  204. cmd1=nextcomp:doThePatch
  205. action1=newstate:doThePatch
  206.  
  207.  
  208.  
  209.  
  210. ; download, then prompt the user
  211. [Update-available-download-dont-install]
  212. label=Available
  213. actionLabel=Download
  214. cmd1=checkINI:$I\bin\np.ini,Startup,BackgroundUpdates,1,available-dont-download
  215. cmd2=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,patch-not-available
  216. cmd3=newstate:downloaded-dont-install
  217.  
  218. ; prompt the user
  219. [Update-downloaded-dont-install]
  220. label=Downloaded
  221. actionLabel=Install
  222. cmd1=UIRequired
  223. cmd2=wizard:$I\update\update.ini
  224. cmd3=checkINI:$I\bin\np.ini,AutoUpdate,ComponentNo,0
  225. cmd4=newstate:doThePatch
  226. action1=newstate:doThePatch
  227.  
  228.  
  229. ; user-initiated download
  230. [Update-available-dont-download]
  231. label=Available
  232. actionLabel=Download
  233. action1=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,patch-not-available
  234. action2=newstate:downloaded-dont-install
  235.  
  236. ;error state.
  237. [Update-patch-not-available]
  238. label=Error Downloading
  239. actionLabel=Try Again
  240. cmd1=nextcomp:available
  241. action1=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,patch-not-available
  242. action2=newstate:downloaded-dont-install
  243.  
  244. ; do the work:
  245. ; doesn't check for session start
  246. [Update-doThePatch]
  247. label=Downloaded
  248. actionLabel=Install
  249. cmd1=setINI:$D\complist.ini,Update,state,determine
  250. cmd2=setINI:$I\bin\np.ini,components,update-patch,0
  251. cmd3=curl:execute I H bin\NeoPatch.exe /kill /runafter
  252. cmd4=die
  253. action1=setINI:$D\complist.ini,Update,state,determine
  254. action2=setINI:$I\bin\np.ini,components,update-patch,0
  255. action3=curl:execute I H bin\NeoPatch.exe /kill /runafter
  256. action4=die