home *** CD-ROM | disk | FTP | other *** search
INI File | 2000-09-22 | 5.6 KB | 168 lines |
- [Components]
- comp1=Annotate
- comp2=Update
- comp3=NetClubs
-
- [Annotate]
- state=determine
-
- [Annotate-determine]
- label=Not Installed
- actionLabel=Install
- cmd1=checkINI:$I\bin\np.ini,Annotate,AE,1,declined
- cmd2=newstate:ok_to_install
- action1=setINI:$I\bin\np.ini,Annotate,AE,1
- action2=newstate:ok_to_install
-
- [Annotate-declined]
- label=Not Installed
- actionLabel=Install
- action1=setINI:$I\bin\np.ini,Annotate,AE,1
- action2=newstate:ok_to_install
-
- [Annotate-ok_to_install]
- label=Installed
- cmd1=curl:execute I H bin\SilentAnnotate.exe /s
- cmd2=call:$I\bin\neoantcom.dll,DllRegisterServer
- cmd3=refreshComponents
- cmd4=newstate:installed
-
- [NetClubs]
- state=determine
-
- [NetClubs-determine]
- label=Not Installed
- actionLabel=Install
- cmd1=newstate:waiting-on-setup
- action1=newstate:waiting-on-setup
-
- [Netclubs-waiting-on-setup]
- label=Waiting for setup
- actionLabel=Retry
- cmd1=setINI:$I\bin\np.ini,clubs,Component_dontAsk,0
- cmd2=setINI:$I\bin\np.ini,clubs,Component_No,0
- cmd3=checkINI:$I\bin\np.ini,clubs,Component_installed,1
- cmd4=setINI:$I\bin\np.ini,clubs,Component_justLanded,1
- cmd5=refreshComponents
- cmd6=newstate:installed
- action1=setINI:$I\bin\np.ini,clubs,Component_dontAsk,0
- action2=setINI:$I\bin\np.ini,clubs,Component_No,0
- action3=newstate:determine
-
- [NetClubs-declined]
- cmd1=nextcomp:determine
-
-
- [Update]
- state=determine
-
- [Update-determine]
- label=Not Available
- actionLabel=Check
- ; see if theres one there
- cmd1=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-available.zip,update,$B$C,update-avail.cmd,not-available
- cmd2=newstate:available
- 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
- ; user initiated action, get them both...
- action2=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-available.zip,update,$B$C,update-avail.cmd,interact-not-available
- action3=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,interact-patch-not-available
- action4=ibox:An update was found and downloaded. #PRODNAME will now install the update,interact-downloaded-dont-install
- action5=newstate:doThePatch
-
-
- ; tell the user, then go back to checking on session start.
- [Update-interact-not-available]
- cmd1=ibox:There are no updates available at this time
- cmd2=newstate:not-available
-
-
- [Update-interact-patch-not-available]
- cmd1=ibox:There are no updates available at this time
- cmd2=newstate:patch-not-available
-
-
- [Update-interact-downloaded-dont-install]
- label=NotInstalled
- actionLabel=Install
- action1=qbox:Update,A #PRODNAME update has been downloaded! Would you like to apply it now?,interact-downloaded-dont-install
- action2=newstate:doThePatch
-
- [Update-not-available]
- label=Not Available
- actionLabel=Check
- ; see if theres one there
- cmd1=nextcomp:determine
- 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
- ; user initiated action, get them both...
- action2=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-available.zip,update,$B$C,update-avail.cmd,interact-not-available
- action3=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,interact-patch-not-available
- action4=ibox:An update was found and downloaded. #PRODNAME will now install the update,interact-downloaded-dont-install
- action5=newstate:doThePatch
-
-
- ; do the patch next time we start.
- [Update-available]
- label=Available
- actionLabel=Download
- cmd1=checkINI:$I\bin\np.ini,Startup,BackgroundUpdates,0,available-download-dont-install
- cmd2=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,patch-not-available
- cmd3=newstate:downloaded-install-next-session
- ; not reachable... hops to new state after getting... but paranoid... I'll leave it.
- action1=newstate:doThePatch
-
-
- [Update-downloaded-install-next-session]
- label=Available - ready to apply
- actionLabel=Apply
- cmd1=nextcomp:doThePatch
- action1=newstate:doThePatch
-
-
- ; download, then prompt the user
- [Update-available-download-dont-install]
- label=Available
- actionLabel=Download
- cmd1=checkINI:$I\bin\np.ini,Startup,BackgroundUpdates,1,available-dont-download
- cmd2=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,patch-not-available
- cmd3=newstate:downloaded-dont-install
-
- ; prompt the user
- [Update-downloaded-dont-install]
- label=Downloaded
- actionLabel=Install
- cmd1=UIRequired
- cmd2=wizard:$I\update\update.ini
- cmd3=checkINI:$I\bin\np.ini,AutoUpdate,ComponentNo,0
- cmd4=newstate:doThePatch
- action1=newstate:doThePatch
-
-
- ; user-initiated download
- [Update-available-dont-download]
- label=Available
- actionLabel=Download
- action1=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,patch-not-available
- action2=newstate:downloaded-dont-install
-
- ;error state.
- [Update-patch-not-available]
- label=Error Downloading
- actionLabel=Try Again
- cmd1=nextcomp:available
- action1=updateFile:I,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-$C-patch.zip,update-patch,$B$C,update-patch.cmd,patch-not-available
- action2=newstate:downloaded-dont-install
-
- ; do the work:
- ; doesn't check for session start
- [Update-doThePatch]
- label=Downloaded
- actionLabel=Install
- cmd1=setINI:$D\complist.ini,Update,state,determine
- cmd2=setINI:$I\bin\np.ini,components,update-patch,0
- cmd3=curl:execute I H bin\NeoPatch.exe /kill /runafter
- cmd4=die
- action1=setINI:$D\complist.ini,Update,state,determine
- action2=setINI:$I\bin\np.ini,components,update-patch,0
- action3=curl:execute I H bin\NeoPatch.exe /kill /runafter
- action4=die
-