home *** CD-ROM | disk | FTP | other *** search
/ Net Power 2000 #11 / Net02.iso / Utility / NEOBETA5.EXE / %DATAPATH% / complist.ini
Encoding:
INI File  |  2000-09-22  |  5.6 KB  |  168 lines

  1. [Components]
  2. comp1=Annotate
  3. comp2=Update
  4. comp3=NetClubs
  5.  
  6. [Annotate]
  7. state=determine
  8.  
  9. [Annotate-determine]
  10. label=Not Installed
  11. actionLabel=Install
  12. cmd1=checkINI:$I\bin\np.ini,Annotate,AE,1,declined
  13. cmd2=newstate:ok_to_install
  14. action1=setINI:$I\bin\np.ini,Annotate,AE,1
  15. action2=newstate:ok_to_install
  16.  
  17. [Annotate-declined]
  18. label=Not Installed
  19. actionLabel=Install
  20. action1=setINI:$I\bin\np.ini,Annotate,AE,1
  21. action2=newstate:ok_to_install
  22.  
  23. [Annotate-ok_to_install]
  24. label=Installed
  25. cmd1=curl:execute I H bin\SilentAnnotate.exe /s
  26. cmd2=call:$I\bin\neoantcom.dll,DllRegisterServer
  27. cmd3=refreshComponents
  28. cmd4=newstate:installed
  29.  
  30. [NetClubs]
  31. state=determine
  32.  
  33. [NetClubs-determine]
  34. label=Not Installed
  35. actionLabel=Install
  36. cmd1=newstate:waiting-on-setup
  37. action1=newstate:waiting-on-setup
  38.  
  39. [Netclubs-waiting-on-setup]
  40. label=Waiting for setup
  41. actionLabel=Retry
  42. cmd1=setINI:$I\bin\np.ini,clubs,Component_dontAsk,0
  43. cmd2=setINI:$I\bin\np.ini,clubs,Component_No,0
  44. cmd3=checkINI:$I\bin\np.ini,clubs,Component_installed,1
  45. cmd4=setINI:$I\bin\np.ini,clubs,Component_justLanded,1
  46. cmd5=refreshComponents
  47. cmd6=newstate:installed
  48. action1=setINI:$I\bin\np.ini,clubs,Component_dontAsk,0
  49. action2=setINI:$I\bin\np.ini,clubs,Component_No,0
  50. action3=newstate:determine
  51.  
  52. [NetClubs-declined]
  53. cmd1=nextcomp:determine
  54.  
  55.  
  56. [Update]
  57. state=determine
  58.  
  59. [Update-determine]
  60. label=Not Available
  61. actionLabel=Check
  62. ; see if theres one there
  63. cmd1=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-available.zip,update,$B$C,update-avail.cmd,not-available
  64. cmd2=newstate:available
  65. 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
  66. ; user initiated action, get them both...
  67. action2=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-available.zip,update,$B$C,update-avail.cmd,interact-not-available
  68. action3=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,interact-patch-not-available
  69. action4=ibox:An update was found and downloaded.  #PRODNAME will now install the update,interact-downloaded-dont-install
  70. action5=newstate:doThePatch
  71.  
  72.  
  73. ; tell the user, then go back to checking on session start.
  74. [Update-interact-not-available]
  75. cmd1=ibox:There are no updates available at this time
  76. cmd2=newstate:not-available
  77.  
  78.  
  79. [Update-interact-patch-not-available]
  80. cmd1=ibox:There are no updates available at this time
  81. cmd2=newstate:patch-not-available
  82.  
  83.  
  84. [Update-interact-downloaded-dont-install]
  85. label=NotInstalled
  86. actionLabel=Install
  87. action1=qbox:Update,A #PRODNAME update has been downloaded! Would you like to apply it now?,interact-downloaded-dont-install
  88. action2=newstate:doThePatch
  89.  
  90. [Update-not-available]
  91. label=Not Available
  92. actionLabel=Check
  93. ; see if theres one there
  94. cmd1=nextcomp:determine
  95. 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
  96. ; user initiated action, get them both...
  97. action2=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-available.zip,update,$B$C,update-avail.cmd,interact-not-available
  98. action3=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,interact-patch-not-available
  99. action4=ibox:An update was found and downloaded.  #PRODNAME will now install the update,interact-downloaded-dont-install
  100. action5=newstate:doThePatch
  101.  
  102.  
  103. ; do the patch next time we start.
  104. [Update-available]
  105. label=Available
  106. actionLabel=Download
  107. cmd1=checkINI:$I\bin\np.ini,Startup,BackgroundUpdates,0,available-download-dont-install
  108. cmd2=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,patch-not-available
  109. cmd3=newstate:downloaded-install-next-session
  110. ; not reachable... hops to new state after getting... but paranoid... I'll leave it.
  111. action1=newstate:doThePatch
  112.  
  113.  
  114. [Update-downloaded-install-next-session]
  115. label=Available - ready to apply
  116. actionLabel=Apply
  117. cmd1=nextcomp:doThePatch
  118. action1=newstate:doThePatch
  119.  
  120.  
  121. ; download, then prompt the user
  122. [Update-available-download-dont-install]
  123. label=Available
  124. actionLabel=Download
  125. cmd1=checkINI:$I\bin\np.ini,Startup,BackgroundUpdates,1,available-dont-download
  126. cmd2=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,patch-not-available
  127. cmd3=newstate:downloaded-dont-install
  128.  
  129. ; prompt the user
  130. [Update-downloaded-dont-install]
  131. label=Downloaded
  132. actionLabel=Install
  133. cmd1=UIRequired
  134. cmd2=wizard:$I\update\update.ini
  135. cmd3=checkINI:$I\bin\np.ini,AutoUpdate,ComponentNo,0
  136. cmd4=newstate:doThePatch
  137. action1=newstate:doThePatch
  138.  
  139.  
  140. ; user-initiated download
  141. [Update-available-dont-download]
  142. label=Available
  143. actionLabel=Download
  144. action1=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,patch-not-available
  145. action2=newstate:downloaded-dont-install
  146.  
  147. ;error state.
  148. [Update-patch-not-available]
  149. label=Error Downloading
  150. actionLabel=Try Again
  151. cmd1=nextcomp:available
  152. action1=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,patch-not-available
  153. action2=newstate:downloaded-dont-install
  154.  
  155. ; do the work:
  156. ; doesn't check for session start
  157. [Update-doThePatch]
  158. label=Downloaded
  159. actionLabel=Install
  160. cmd1=setINI:$D\complist.ini,Update,state,determine
  161. cmd2=setINI:$I\bin\np.ini,components,update-patch,0
  162. cmd3=curl:execute I H bin\NeoPatch.exe /kill /runafter
  163. cmd4=die
  164. action1=setINI:$D\complist.ini,Update,state,determine
  165. action2=setINI:$I\bin\np.ini,components,update-patch,0
  166. action3=curl:execute I H bin\NeoPatch.exe /kill /runafter
  167. action4=die
  168.