Force National Australia Bank internet banking update:
1. Download NAB installation step 1 page to local hard disk
2. Change the function from trigger.ConditionalSoftwareUpdate
to trigger.StartSoftwareUpdate
...
function StartApplet() {
//document.nabimg.src = nabimg_h.src;
if (navigator.javaEnabled()) {
trigger = netscape.softupdate.Trigger;
if (trigger.UpdateEnabled()) {
current_v =
netscape.softupdate.Trigger.GetVersionInfo("NAB/PCIB");
java.lang.System.out.println("+++ Installed Version : " +
current_v);
required_v = new netscape.softupdate.VersionInfo(3,0,0,3);
java.lang.System.out.println("+++ Installation Version : " +
required_v);
current_v = null;
if (current_v != null) {
alert("You have already installed National Internet
Banking, go back to the Internet Banking Home Page, and select New Users
- Step 2, or Regular Users - Start Internet Banking");
//document.nabimg.src = nabimg.src;
}
else {
if (updateflag == 0) {
alert (current_v);
//
trigger.ConditionalSoftwareUpdate("http://www.national.com.au/rib/afs/v3002/smartupdate/pcib_su.jar",
"NAB/PCIB", required_v ,trigger.FORCE_MODE | trigger.DEFAULT_MODE);
trigger.StartSoftwareUpdate("http://www.national.com.au/rib/afs/v3002/smartupdate/pcib_su.jar"
,trigger.FORCE_MODE);
updateflag = 1;
}
}
...
3. run the file at the local hard disk, it begins to download and
install the package.
4. proxy configuration in application:
host: igloo.its.unimacq.edu.au
port: 3128
fireall: Yes
5. Smartupdate Developers' Guide at:
<http://docs.iplanet.com/docs/manuals/communicator/jarman/contents.htm>
|