fe8772286afab41d21bcd53c62215fca61df52e3.svn-base 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4. <script language = "javascript">
  5. function window::onload()
  6. {
  7. //Setting Config-Parameters
  8. Starter.setCustomDir("{server}", "http://10.10.0.10:8040/TFSmartUpdater" );
  9. Starter.setCustomDir("{intend}", "C:\\TFSmartUpdater" );
  10. var ret = Starter.getConfig("http://10.10.0.10:8040/TFSmartUpdater/config.xml");
  11. if( ret == true ) {
  12. window.location.href = "/index.html";
  13. } else {
  14. alert("TFStarter Error!!!");
  15. }
  16. }
  17. </script>
  18. </HEAD>
  19. <BODY>
  20. <OBJECT id="TFBroker"
  21. classid="clsid:0DFA67D7-B78C-40A7-B583-E7090D5F38C6"
  22. codebase="TFSmartUpdater/TFBroker.cab#version=1,0,0,4"
  23. width="0"
  24. height="0" ></OBJECT>
  25. <OBJECT id="Starter"
  26. classid="CLSID:ED5D862B-6A06-46de-A929-F2C588742CBD"
  27. width="300"
  28. height="200"
  29. CODEBASE="TFSmartUpdater/TFSmartUpdater_m.cab#version=2,6,0,8">
  30. <PARAM name="deleteZipFile" value="false" /> <!-- Deleting ZIP Files -->
  31. <PARAM name="registry" value="false" /> <!-- Don't use the Registry -->
  32. <PARAM name="configDir" value="C:\TFSmartUpdater" /> <!-- Set the place where in Config File -->
  33. <PARAM name="enableLog" value="true" /> <!-- Saving Log-File -->
  34. <PARAM name="selfUi" value="true" /> <!-- Using UI itself -->
  35. <PARAM name="dlgNotClose" value="true" /> <!-- Using UI with One-Dialog Window -->
  36. <PARAM name="hideDownloadCancel" value="true" /> <!-- If true was set, Cancel button is hidden -->
  37. <!-- <PARAM name="stopNotFindContent" value= false /> Added Option) In spite of the file doesn't exist on Server, progress is keeped go no -->
  38. <PARAM name="useNameTarget" value="true" /> <!-- Search for name & target standard, rather then config.xml's element standard -->
  39. <PARAM name="fileinuse_disable" value="skip stop retry" /> <!-- In FileInUse Dialog, each of buttons hidden check -->
  40. <!-- <PARAM name="fileinuse_hidden" value="skip stop " />-->
  41. </OBJECT>
  42. Install Control...
  43. </BODY>
  44. </HTML>