diff options
author | neilm <neilm@openoffice.org> | 2002-11-22 11:06:33 +0000 |
---|---|---|
committer | neilm <neilm@openoffice.org> | 2002-11-22 11:06:33 +0000 |
commit | d009a1a31148a78aa579f9f1a3b1e0615dfa3836 (patch) | |
tree | 859afd8cb090753b410f9b80e70154c71f524066 /scripting/workben/installer/XmlUpdater.java | |
parent | f689ab54945d4b5028bef0d664eab6b5eaa4dd94 (diff) |
Checks for different verions of nag dialog
Diffstat (limited to 'scripting/workben/installer/XmlUpdater.java')
-rw-r--r-- | scripting/workben/installer/XmlUpdater.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripting/workben/installer/XmlUpdater.java b/scripting/workben/installer/XmlUpdater.java index a70dfed8c85b..72e5db2d41dd 100644 --- a/scripting/workben/installer/XmlUpdater.java +++ b/scripting/workben/installer/XmlUpdater.java @@ -182,11 +182,18 @@ public class XmlUpdater extends Thread { onInstallComplete(); return; } + + // Check for OpenOffice Scxripting Security Resource + if (!zd.extractEntry("sframework/scripting64301.res",progpath+"resource"+File.separator, statusLabel)) + { + // No OpenOffice Scxripting Security Resource - check for Star Office one if (!zd.extractEntry("sframework/scripting64401.res",progpath+"resource"+File.separator, statusLabel)) { onInstallComplete(); return; + } } + if (opSys.indexOf("Windows")!=-1){ if (!zd.extractEntry("windows/regsingleton.exe",progpath, statusLabel)) { |