home *** CD-ROM | disk | FTP | other *** search
- function PerformInProgressUpdate()
- {
- if(CpuSpeedTested eq "true")
- {
- if(CpuSpeedRequirementMet eq "false")
- {
- CpuSpeedStatus.StatusIcon.SetStatus(3);
- }
- else if(CpuSpeedRecommendationMet eq "false")
- {
- CpuSpeedStatus.StatusIcon.SetStatus(4);
- }
- else
- {
- CpuSpeedStatus.StatusIcon.SetStatus(2);
- }
- }
- if(CpuVendorTested eq "true")
- {
- if(CpuVendorRequirementMet eq "false")
- {
- CpuVendorStatus.StatusIcon.SetStatus(3);
- }
- else if(CpuVendorRecommendationMet eq "false")
- {
- CpuVendorStatus.StatusIcon.SetStatus(4);
- }
- else
- {
- CpuVendorStatus.StatusIcon.SetStatus(2);
- }
- }
- if(RamTested eq "true")
- {
- if(RamRequirementMet eq "false")
- {
- RamStatus.StatusIcon.SetStatus(3);
- }
- else if(RamRecommendationMet eq "false")
- {
- RamStatus.StatusIcon.SetStatus(4);
- }
- else
- {
- RamStatus.StatusIcon.SetStatus(2);
- }
- }
- if(OsTested eq "true")
- {
- if(OsRequirementMet eq "false")
- {
- OsStatus.StatusIcon.SetStatus(3);
- }
- else if(OsRecommendationMet eq "false")
- {
- OsStatus.StatusIcon.SetStatus(4);
- }
- else
- {
- OsStatus.StatusIcon.SetStatus(2);
- }
- }
- if(DiskSpaceTested eq "true")
- {
- if(DiskSpaceRequirementMet eq "false")
- {
- DiskSpaceStatus.StatusIcon.SetStatus(3);
- }
- else if(DiskSpaceRecommendationMet eq "false")
- {
- DiskSpaceStatus.StatusIcon.SetStatus(4);
- }
- else
- {
- DiskSpaceStatus.StatusIcon.SetStatus(2);
- }
- }
- if(DiskSpaceOnSystemTested eq "true")
- {
- tempOb = eval(DiskSpaceOnSystemDriveStatus add ".StatusIcon");
- if(DiskSpaceOnSystemRequirementMet eq "false")
- {
- tempOb.SetStatus(3);
- }
- else if(DiskSpaceOnSystemRecommendationMet eq "false")
- {
- tempOb.SetStatus(4);
- }
- else
- {
- tempOb.SetStatus(2);
- }
- }
- if(TcpipTested eq "true")
- {
- if(TcpipRequirementMet eq "false")
- {
- TcpipInstalledStatus.StatusIcon.SetStatus(3);
- }
- else if(TcpipRecommendationMet eq "false")
- {
- TcpipInstalledStatus.StatusIcon.SetStatus(4);
- }
- else
- {
- TcpipInstalledStatus.StatusIcon.SetStatus(2);
- }
- }
- if(NicPresentTested eq "true")
- {
- if(NicPresentRequirementMet eq "false")
- {
- NicPresentStatus.StatusIcon.SetStatus(3);
- }
- else if(NicPresentRecommendationMet eq "false")
- {
- NicPresentStatus.StatusIcon.SetStatus(4);
- }
- else
- {
- NicPresentStatus.StatusIcon.SetStatus(2);
- }
- }
- if(SpecificNicPresentTested eq "true")
- {
- if(SpecificNicPresentRequirementMet eq "false")
- {
- SpecificNicPresentStatus.StatusIcon.SetStatus(3);
- }
- else if(SpecificNicPresentRecommendationMet eq "false")
- {
- SpecificNicPresentStatus.StatusIcon.SetStatus(4);
- }
- else
- {
- SpecificNicPresentStatus.StatusIcon.SetStatus(2);
- }
- }
- if(NoStaticDialupTested eq "true")
- {
- if(NoStaticDialupRequirementMet eq "false")
- {
- NoStaticDialupStatus.StatusIcon.SetStatus(3);
- }
- else if(NoStaticDialupRecommendationMet eq "false")
- {
- NoStaticDialupStatus.StatusIcon.SetStatus(4);
- }
- else
- {
- NoStaticDialupStatus.StatusIcon.SetStatus(2);
- }
- }
- }
- function GetFriendlyOS(strNastyString)
- {
- fscommand("NASTYSTRING",strNastyString);
- if(strNastyString eq "error")
- {
- return "Invalid";
- }
- if(strNastyString eq "win95osr1")
- {
- return "Windows 95 OSR1";
- }
- if(strNastyString eq "win95osr2")
- {
- return "Windows 95 OSR2";
- }
- if(strNastyString eq "win95osr2.5")
- {
- return "Windows 95 OSR2.5";
- }
- if(strNastyString eq "win98fe")
- {
- return "Windows 98 First Edition";
- }
- if(strNastyString eq "win98se")
- {
- return "Windows 98 Second Edition";
- }
- if(strNastyString eq "win98me")
- {
- return "Windows Millenium";
- }
- if(strNastyString eq "winnt4")
- {
- return "Windows NT4";
- }
- if(strNastyString eq "winnt4sp1")
- {
- return "Windows NT4 SP1";
- }
- if(strNastyString eq "winnt4sp2")
- {
- return "Windows NT4 SP2";
- }
- if(strNastyString eq "winnt4sp3")
- {
- return "Windows NT4 SP3";
- }
- if(strNastyString eq "winnt4sp4")
- {
- return "Windows NT4 SP4";
- }
- if(strNastyString eq "winnt4sp5")
- {
- return "Windows NT4 SP5";
- }
- if(strNastyString eq "winnt4sp6")
- {
- return "Windows NT4 SP6";
- }
- if(strNastyString eq "win2k")
- {
- return "Windows 2000";
- }
- }
- function JumpToDetails(strPerformActionEXCall)
- {
- _root.DetailsPerformActionEXCall = strPerformActionEXCall;
- fscommand("details","button_click");
- }
- function DetailsTextCB()
- {
- _root.DetailsInfoAttained = 1;
- Details();
- }
- function JumpToFix(strSwf)
- {
- _root.FixVarsSwfFile = strSwf;
- Fix();
- }
- function GetCorrectHelpScene()
- {
- if(_root.ActualOs.substring(0,5) eq "win2k")
- {
- return 1;
- }
- if(_root.ActualOs.substring(0,5) eq "winnt")
- {
- return 3;
- }
- if(_root.ActualOs.substring(0,4) eq "win9")
- {
- return 2;
- }
- if(_root.ActualOs.substring(0,4) eq "winm")
- {
- return 2;
- }
- if(_root.ActualOs.substring(0,5) eq "winxp")
- {
- return 4;
- }
- return undefined;
- }
-