Packager.bat 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. rd /s /q "%1\Distribution\AIDiagnosisSystemSDK"
  2. if not exist %1\Distribution\AIDiagnosisSystemSDK\AISDKs\ mkdir %1\Distribution\AIDiagnosisSystemSDK\AISDKs\
  3. if not exist %1\Distribution\AIDiagnosisSystemSDK\AIDiagnosisSystem\ mkdir %1\Distribution\AIDiagnosisSystemSDK\AIDiagnosisSystem\
  4. if not exist %1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\ mkdir %1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\
  5. if not exist %1\Distribution\AIDiagnosisSystemSDK\AISDKsForVet\ mkdir %1\Distribution\AIDiagnosisSystemSDK\AISDKsForVet\
  6. if not exist %1\Distribution\AIDiagnosisSystemSDK\9E\ mkdir %1\Distribution\AIDiagnosisSystemSDK\9E\
  7. if not exist %1\Distribution\AIDiagnosisSystemSDK\R700\ mkdir %1\Distribution\AIDiagnosisSystemSDK\R700\
  8. if not exist %1\Distribution\AIDiagnosisSystemSDK\V10\ mkdir %1\Distribution\AIDiagnosisSystemSDK\V10\
  9. if not exist %1\Distribution\AIDiagnosisSystemSDK\Vet\ mkdir %1\Distribution\AIDiagnosisSystemSDK\Vet\
  10. if not exist %1\Distribution\AIDiagnosisSystemSDK\Galsang\ mkdir %1\Distribution\AIDiagnosisSystemSDK\Galsang\
  11. del "%1\Bin\*.exp" /S /Q
  12. del "%1\Bin\*.iobj" /S /Q
  13. del "%1\Bin\*.ipdb" /S /Q
  14. del "%1\Bin\*.lib" /S /Q
  15. del "%1\Bin\*.pdb" /S /Q
  16. rmdir "%1\Bin\AIDiagnosisSystem\AIDiagnosisSystem\arm64" /s /q
  17. rmdir "%1\Bin\AIDiagnosisSystem\AIDiagnosisSystem\x86" /s /q
  18. xcopy "%1\Bin\AIDiagnosisSystem\AIDiagnosisSystem\*.*" "%1\Distribution\AIDiagnosisSystemSDK\AIDiagnosisSystem\AIDiagnosisSystem\*.*" /E /Y
  19. copy "%1\Bin\AIDiagnosisSystem\AIDiagnosisSystemSDKDemo\AIDiagnosisSystemSDK.dll" "%1\Distribution\AIDiagnosisSystemSDK\AIDiagnosisSystem\AIDiagnosisSystemSDK.dll" /Y
  20. copy "%1\Bin\AIDiagnosisSystem\AIDiagnosisSystemSDKDemo\Vinno.AI.*SDK.dll" "%1\Distribution\AIDiagnosisSystemSDK\AIDiagnosisSystem\*.*"/Y
  21. copy "%1\Bin\AIDiagnosisSystem\AIDiagnosisSystemSDKDemo\JsonRpcLite.dll" "%1\Distribution\AIDiagnosisSystemSDK\AIDiagnosisSystem\*.*"/Y
  22. copy "%1\Bin\AIDiagnosisSystem\AIDiagnosisSystemSDKDemo\Microsoft.Bcl.AsyncInterfaces.dll" "%1\Distribution\AIDiagnosisSystemSDK\AIDiagnosisSystem\*.*"/Y
  23. copy "%1\Bin\AIDiagnosisSystem\AIDiagnosisSystemSDKDemo\System.Text.Encodings.Web.dll" "%1\Distribution\AIDiagnosisSystemSDK\AIDiagnosisSystem\*.*"/Y
  24. copy "%1\Bin\AIDiagnosisSystem\AIDiagnosisSystemSDKDemo\System.Text.Json.dll" "%1\Distribution\AIDiagnosisSystemSDK\AIDiagnosisSystem\*.*"/Y
  25. copy "%1\Bin\AIDiagnosisSystem\AIDiagnosisSystemSDKDemo\System.Threading.Tasks.Extensions.dll" "%1\Distribution\AIDiagnosisSystemSDK\AIDiagnosisSystem\*.*"/Y
  26. copy "%1\Bin\AIDiagnosisSystem\AIDiagnosisSystemSDKDemo\System.ValueTuple.dll" "%1\Distribution\AIDiagnosisSystemSDK\AIDiagnosisSystem\*.*"/Y
  27. xcopy "%1\Bin\AISDKs\*.*" "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\*.*" /E /Y
  28. xcopy "%1\Bin\AISDKsFor9E\*.*" "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\*.*" /E /Y
  29. xcopy "%1\Bin\AISDKsForVet\*.*" "%1\Distribution\AIDiagnosisSystemSDK\AISDKsForVet\*.*" /E /Y
  30. ::V10
  31. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AIDiagnosisSystem\*.*" "%1\Distribution\AIDiagnosisSystemSDK\V10\*.*" /E /Y
  32. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\BreastDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\V10\*.*" /E /Y
  33. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\AbdomenDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\V10\*.*" /E /Y
  34. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\ThyroidDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\V10\*.*" /E /Y
  35. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\CarotidDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\V10\*.*" /E /Y
  36. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\OrganIdentification\*.*" "%1\Distribution\AIDiagnosisSystemSDK\V10\*.*" /E /Y
  37. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\AutoBLineDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\V10\*.*" /E /Y
  38. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\AutoDFRDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\V10\*.*" /E /Y
  39. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\AutoEFDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\V10\*.*" /E /Y
  40. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\AutoIVCDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\V10\*.*" /E /Y
  41. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\AutoVTIDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\V10\*.*" /E /Y
  42. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\MyocardialDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\V10\*.*" /E /Y
  43. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\NerveIdentification\*.*" "%1\Distribution\AIDiagnosisSystemSDK\V10\*.*" /E /Y
  44. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\ThyroidClassification\*.*" "%1\Distribution\AIDiagnosisSystemSDK\V10\*.*" /E /Y
  45. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\CustomizeDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\V10\*.*" /E /Y
  46. del "%1\Distribution\AIDiagnosisSystemSDK\V10\*140*.dll" /S /Q
  47. del "%1\Distribution\AIDiagnosisSystemSDK\V10\opencv_*.dll" /S /Q
  48. del "%1\Distribution\AIDiagnosisSystemSDK\V10\pthreadVC2.dll" /S /Q
  49. ::R700
  50. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AIDiagnosisSystem\*.*" "%1\Distribution\AIDiagnosisSystemSDK\R700\*.*" /E /Y
  51. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\BreastDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\R700\*.*" /E /Y
  52. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\AbdomenDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\R700\*.*" /E /Y
  53. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\ThyroidDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\R700\*.*" /E /Y
  54. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\CarotidDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\R700\*.*" /E /Y
  55. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\OrganIdentification\*.*" "%1\Distribution\AIDiagnosisSystemSDK\R700\*.*" /E /Y
  56. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\AutoBLineDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\R700\*.*" /E /Y
  57. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\AutoEFDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\R700\*.*" /E /Y
  58. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\MyocardialDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\R700\*.*" /E /Y
  59. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKs\CustomizeDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\R700\*.*" /E /Y
  60. del "%1\Distribution\AIDiagnosisSystemSDK\R700\*140*.dll" /S /Q
  61. del "%1\Distribution\AIDiagnosisSystemSDK\R700\opencv_*.dll" /S /Q
  62. del "%1\Distribution\AIDiagnosisSystemSDK\R700\pthreadVC2.dll" /S /Q
  63. ::9E
  64. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AIDiagnosisSystem\*.*" "%1\Distribution\AIDiagnosisSystemSDK\9E\*.*" /E /Y
  65. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\BreastDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\9E\*.*" /E /Y
  66. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\AbdomenDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\9E\*.*" /E /Y
  67. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\ThyroidDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\9E\*.*" /E /Y
  68. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\CarotidDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\9E\*.*" /E /Y
  69. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\OrganIdentification\*.*" "%1\Distribution\AIDiagnosisSystemSDK\9E\*.*" /E /Y
  70. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\AmnioticFluidDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\9E\*.*" /E /Y
  71. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\AutoEFDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\9E\*.*" /E /Y
  72. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\CarotidClassification\*.*" "%1\Distribution\AIDiagnosisSystemSDK\9E\*.*" /E /Y
  73. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\HepatoRenalRatioDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\9E\*.*" /E /Y
  74. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\MyocardialDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\9E\*.*" /E /Y
  75. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\ThyroidClassification\*.*" "%1\Distribution\AIDiagnosisSystemSDK\9E\*.*" /E /Y
  76. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\CustomizeDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\9E\*.*" /E /Y
  77. del "%1\Distribution\AIDiagnosisSystemSDK\9E\*140*.dll" /S /Q
  78. del "%1\Distribution\AIDiagnosisSystemSDK\9E\opencv_*.dll" /S /Q
  79. del "%1\Distribution\AIDiagnosisSystemSDK\9E\pthreadVC2.dll" /S /Q
  80. ::Galsang
  81. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AIDiagnosisSystem\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Galsang\*.*" /E /Y
  82. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\BreastDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Galsang\*.*" /E /Y
  83. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\AbdomenDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Galsang\*.*" /E /Y
  84. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\ThyroidDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Galsang\*.*" /E /Y
  85. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\CarotidDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Galsang\*.*" /E /Y
  86. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\OrganIdentification\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Galsang\*.*" /E /Y
  87. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\AutoBLineDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Galsang\*.*" /E /Y
  88. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\AutoDFRDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Galsang\*.*" /E /Y
  89. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\AutoEFDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Galsang\*.*" /E /Y
  90. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\AutoIVCDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Galsang\*.*" /E /Y
  91. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\AutoVTIDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Galsang\*.*" /E /Y
  92. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\MyocardialDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Galsang\*.*" /E /Y
  93. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\NerveIdentification\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Galsang\*.*" /E /Y
  94. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsFor9E\CustomizeDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Galsang\*.*" /E /Y
  95. del "%1\Distribution\AIDiagnosisSystemSDK\Galsang\*140*.dll" /S /Q
  96. del "%1\Distribution\AIDiagnosisSystemSDK\Galsang\opencv_*.dll" /S /Q
  97. del "%1\Distribution\AIDiagnosisSystemSDK\Galsang\pthreadVC2.dll" /S /Q
  98. ::Vet
  99. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AIDiagnosisSystem\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Vet\*.*" /E /Y
  100. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsForVet\AutoEFDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Vet\*.*" /E /Y
  101. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsForVet\MyocardialDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Vet\*.*" /E /Y
  102. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsForVet\VetHeartDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Vet\*.*" /E /Y
  103. xcopy "%1\Distribution\AIDiagnosisSystemSDK\AISDKsForVet\CustomizeDiagnosis\*.*" "%1\Distribution\AIDiagnosisSystemSDK\Vet\*.*" /E /Y
  104. del "%1\Distribution\AIDiagnosisSystemSDK\Vet\*140*.dll" /S /Q
  105. del "%1\Distribution\AIDiagnosisSystemSDK\Vet\opencv_*.dll" /S /Q
  106. del "%1\Distribution\AIDiagnosisSystemSDK\Vet\pthreadVC2.dll" /S /Q