home *** CD-ROM | disk | FTP | other *** search
INI File | 2000-07-27 | 8.1 KB | 256 lines |
- [Components]
- comp1=Update
- comp2=Flyswat
- comp3=NetClubs
-
- [Flyswat]
- state=downloaded
-
- [Flyswat-downloaded]
- label=Not Installed
- actionLabel=Install
- cmd1=checkINI:$I\bin\np.ini,reg,FSE,1,declined
- cmd2=newstate:ok_to_install
- action1=setINI:$I\bin\np.ini,reg,FSE,1
- action2=newstate:ok_to_install
-
- [Flyswat-declined]
- label=Not Installed
- actionLabel=Install
- action1=setINI:$I\bin\np.ini,reg,FSE,1
- action2=newstate:ok_to_install
-
- [Flyswat-ok_to_install]
- label=Installed
- cmd1=call:$I\bin\flylib.dll,DllRegisterEmbed
- cmd2=call:$P\flyswat\fssetup.dll,DllRegisterServer
- cmd3=refreshComponents
- cmd4=newstate:installed
-
-
- [NetClubs]
- state=initial
- file1=$I\bin\neoclubs.dll,5.1.0.$B
- file2=$I\bin\vipprot2.dll,5.0.5.0
- file3=$I\bin\vipcheck.dll,1.0.1.0
- file4=$I\bin\vipgutil.dll,1.0.155.0
- file5=$I\bin\vipnvc.dll,2.0.1.0
- file6=$I\bin\vipres2.dll,2.0.6.0
- file7=$I\bin\vipsvcs2.dll,2.003.5.0
-
- [NetClubs-missing]
- label=missing
- actionLabel=Download
- ; the following will loop around if it fails...
- cmd1=updateFile:D,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-clubs_missing_flash.zip,netclubs_flash,$B,clubs.cmd,missing-flash-pause
- cmd2=newstate:missing-flash-downloaded
- ; if the user forces the action, we don't need to ask.
- action1=newstate:ok_to_download
-
- [NetClubs-missing-flash-pause]
- label=missing
- actionLabel=Download
- ; continue with the next component.
- cmd1=nextcomp:missing
- ; if the user forces the action, we don't need to ask.
- action1=newstate:ok_to_download
-
-
- [NetClubs-missing-flash-downloaded]
- label=missing
- actionLabel=Download
- cmd1=UIRequired
- cmd2=checkINI:$I\bin\np.ini,clubs,Component_dontAsk,0,missing-declined
- cmd3=wizard:clubs_missing.ini
- cmd4=checkINI:$I\bin\np.ini,clubs,Component_dontAsk,0,missing-declined
- cmd5=checkINI:$I\bin\np.ini,clubs,Component_No,0
- cmd6=newstate:ok_to_download
- action1=newstate:ok_to_download
-
- [NetClubs-ok_to_download]
- label=downloading
- ; loop until we get it.
- cmd1=updateFile:D,http://#FTPHOST/pub/#BRAND/#SUBBRAND/$B-clubs_inst.zip,netclubs,$B,clubs.cmd,ok-to-download-pause
- cmd2=newstate:downloaded
-
-
- [NetClubs-ok-to-download-pause]
- label=downloading
- ; try the download next session start
- cmd1=nextcomp:ok_to_download
-
-
- [NetClubs-missing-declined]
- label=missing
- actionLabel=Download
- action1=setINI:$I\bin\np.ini,clubs,Component_dontAsk,0
- action2=setINI:$I\bin\np.ini,clubs,Component_No,0
- ; start trying...
- action3=newstate:ok_to_download
-
-
- [NetClubs-old]
- label=out of date
- cmd1=UIRequired
- cmd2=wizard:clubs_old.ini
- cmd3=newstate:ok_to_download
-
- [NetClubs-old-declined]
- label=out of date
- actionLabel=Download
- action1=setINI:$I\bin\np.ini,clubs,Component_dontAsk,0
- action2=newstate:ok_to_download
-
- [Netclubs-downloaded]
- label=Downloaded
- actionLabel=Install
- cmd1=UIRequired
- cmd2=adminRequired:ALL
- cmd3=checkINI:$I\bin\np.ini,clubs,Component_dontAsk,0,downloaded-declined
- cmd4=wizard:clubs_downloaded.ini
- cmd5=checkINI:$I\bin\np.ini,clubs,Component_dontAsk,0,downloaded-declined
- cmd6=checkINI:$I\bin\np.ini,clubs,Component_No,0
- cmd7=curl:execute D H Clubsinst.exe
- cmd8=newstate:waiting-on-setup
- action1=curl:execute D H Clubsinst.exe
- action2=newstate:waiting-on-setup
-
-
- [NetClubs-downloaded-declined]
- label=Downloaded
- actionLabel=Install
- action1=setINI:$I\bin\np.ini,clubs,Component_dontAsk,0
- action2=setINI:$I\bin\np.ini,clubs,Component_No,0
- action3=curl:execute D H Clubsinst.exe
- action4=newstate:waiting-on-setup
-
-
-
- [Netclubs-waiting-on-setup]
- label=Waiting for setup
- actionLabel=Retry
- cmd1=checkINI:$I\bin\np.ini,clubs,Component_installed,1
- cmd2=setINI:$I\bin\np.ini,clubs,Component_justLanded,1
- cmd3=refreshComponents
- cmd4=newstate:installed
- action1=setINI:$I\bin\np.ini,clubs,Component_dontAsk,0
- action2=setINI:$I\bin\np.ini,clubs,Component_No,0
- action3=curl:execute D H Clubsinst.exe
- action4=newstate:waiting-on-setup
-
-
- [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