Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 12th, 2012  |  syntax: None  |  size: 11.02 KB  |  hits: 1,363  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. @TITLE  Adobe Master Collection CS6 Patcher - Milkman
  2. @ECHO   - Adobe Master Collection CS6 Patcher - Milkman
  3. @ECHO   Do you want to patch Adobe Master Collection CS6?
  4. @ECHO   [Y] Yes or [N] No
  5. @ECHO.
  6. @SET /P CHOICE=
  7. @IF "%CHOICE%" == "y" GOTO :PATCH
  8. @IF "%CHOICE%" == "Y" GOTO :PATCH
  9. @IF "%CHOICE%" == "Yes" GOTO :PATCH
  10. @IF "%CHOICE%" == "yes" GOTO :PATCH
  11. @IF "%CHOICE%" == "n" GOTO :EXIT
  12. @IF "%CHOICE%" == "N" GOTO :EXIT
  13. @IF "%CHOICE%" == "No" GOTO :EXIT
  14. @IF "%CHOICE%" == "no" GOTO :EXIT
  15.  
  16. :PATCH
  17. @IF "%PROCESSOR_ARCHITECTURE%"=="AMD64" GOTO :64BIT
  18. @ELSE GOTO :32BIT
  19.  
  20. :64BIT
  21. @CLS
  22.  
  23. @ECHO   Patching After Effects (64 Bit)
  24. @REN    "C:\Program Files\Adobe\Adobe After Effects CS6\Support Files\amtlib.dll" amtlib.dll.bak
  25. @COPY   "\PatcherFiles\amtlib64bit.dll" "C:\Program Files\Adobe\Adobe After Effects CS6\Support Files\amtlib.dll"
  26. @ECHO.
  27.  
  28. @ECHO   Patching Bridge (64 Bit)
  29. @REN    "C:\Program Files\Adobe\Adobe Bridge CS6 (64 Bit)\amtlib.dll" amtlib.dll.bak
  30. @COPY   "\PatcherFiles\amtlib64bit.dll" "C:\Program Files\Adobe\Adobe Bridge CS6 (64 Bit)\amtlib.dll"
  31. @ECHO.
  32.  
  33. @ECHO   Patching Encore (64 Bit)
  34. @REN    "C:\Program Files\Adobe\Adobe Encore CS6\amtlib.dll" amtlib.dll.bak
  35. @COPY   "\PatcherFiles\amtlib64bit.dll" "C:\Program Files\Adobe\Adobe Encore CS6\amtlib.dll"
  36. @ECHO.
  37.  
  38. @ECHO   Patching Illustrator (64 Bit)
  39. @REN    "C:\Program Files\Adobe\Adobe Illustrator CS6 (64 Bit)\Support Files\Contents\Windows\amtlib.dll" amtlib.dll.bak
  40. @COPY   "\PatcherFiles\amtlib64bit.dll" "C:\Program Files\Adobe\Adobe Illustrator CS6 (64 Bit)\Support Files\Contents\Windows\amtlib.dll"
  41. @REN    "C:\Program Files\Adobe\Adobe Illustrator CS6 (64 Bit)\Support Files\Contents\Windows\ai_about_tryout.png" ai_about_tryout.png.bak
  42. @COPY   "\PatcherFiles\ai_about.png"    "C:\Program Files\Adobe\Adobe Illustrator CS6 (64 Bit)\Support Files\Contents\Windows\ai_about_tryout.png"
  43. @REN    "C:\Program Files\Adobe\Adobe Illustrator CS6 (64 Bit)\Support Files\Contents\Windows\ai_cs6_splash_tryout.png" ai_cs6_splash_tryout.png.bak
  44. @COPY   "\PatcherFiles\ai_cs6_splash.png"       "C:\Program Files\Adobe\Adobe Illustrator CS6 (64 Bit)\Support Files\Contents\Windows\ai_cs6_splash_tryout.png"
  45. @ECHO.
  46.  
  47. @ECHO   Patching Photoshop (64 Bit)
  48. @REN    "C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\amtlib.dll" amtlib.dll.bak
  49. @COPY   "PatcherFiles\amtlib64bit.dll"  "C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\amtlib.dll"
  50. @ECHO.
  51.  
  52. @ECHO   Patching Media Encoder (64 Bit)
  53. @REN    "C:\Program Files\Adobe\Adobe Media Encoder CS6\amtlib.dll" amtlib.dll.bak
  54. @COPY   "\PatcherFiles\amtlib64bit.dll" "C:\Program Files\Adobe\Adobe Media Encoder CS6\amtlib.dll"
  55. @ECHO.
  56.  
  57. @ECHO   Patching Premiere Pro (64 Bit)
  58. @REN    "C:\Program Files\Adobe\Adobe Premiere Pro CS6\amtlib.dll" amtlib.dll.bak
  59. @COPY   "\PatcherFiles\amtlib64bit.dll" "C:\Program Files\Adobe\Adobe Premiere Pro CS6\amtlib.dll"
  60. @ECHO.
  61.  
  62. @ECHO   Patching SpeedGrade (64 Bit)
  63. @REN    "C:\Program Files\Adobe\Adobe SpeedGrade CS6\bin\amtlib.dll" amtlib.dll.bak
  64. @COPY   "\PatcherFiles\amtlib64bit.dll" "C:\Program Files\Adobe\Adobe SpeedGrade CS6\bin\amtlib.dll"
  65. @ECHO.
  66.  
  67. @ECHO   Patching Acrobat (32 Bit)
  68. @REN   "C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\amtlib.dll" amtlib.dll.bak
  69. @COPY   "\PatcherFiles\amtlibacrobat.dll"       "C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\amtlib.dll"
  70. @ECHO.
  71.  
  72. @ECHO   Patching Audition (32 Bit)
  73. @REN   "C:\Program Files (x86)\Adobe\Adobe Audition CS6\amtlib.dll" amtlib.dll.bak
  74. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files (x86)\Adobe\Adobe Audition CS6\amtlib.dll"
  75. @ECHO.
  76.  
  77. @ECHO   Patching Bridge (32 Bit)
  78. @REN   "C:\Program Files (x86)\Adobe\Adobe Bridge CS6\amtlib.dll" amtlib.dll.bak
  79. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files (x86)\Adobe\Adobe Bridge CS6\amtlib.dll"
  80. @ECHO.
  81.  
  82. @ECHO   Patching Dreamweaver (32 Bit)
  83. @REN   "C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS6\amtlib.dll" amtlib.dll.bak
  84. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS6\amtlib.dll"
  85. @ECHO.
  86.  
  87. @ECHO   Patching Fireworks (32 Bit)
  88. @REN   "C:\Program Files (x86)\Adobe\Adobe Fireworks CS6\amtlib.dll" amtlib.dll.bak
  89. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files (x86)\Adobe\Adobe Fireworks CS6\amtlib.dll"
  90. @ECHO.
  91.  
  92. @ECHO   Patching Flash (32 Bit)
  93. @REN   "C:\Program Files (x86)\Adobe\Adobe Flash CS6\amtlib.dll" amtlib.dll.bak
  94. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files (x86)\Adobe\Adobe Flash CS6\amtlib.dll"
  95. @ECHO.
  96.  
  97. @ECHO   Patching Illustrator (32 Bit)
  98. @REN    "C:\Program Files (x86)\Adobe\Adobe Illustrator CS6\Support Files\Contents\Windows\amtlib.dll" amtlib.dll.bak
  99. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files (x86)\Adobe\Adobe Illustrator CS6\Support Files\Contents\Windows\amtlib.dll"
  100. @REN    "C:\Program Files (x86)\Adobe\Adobe Illustrator CS6\Support Files\Contents\Windows\ai_about_tryout.png" ai_about_tryout.png.bak
  101. @COPY   "\PatcherFiles\ai_about.png"    "C:\Program Files (x86)\Adobe\Adobe Illustrator CS6\Support Files\Contents\Windows\ai_about_tryout.png"
  102. @REN    "C:\Program Files (x86)\Adobe\Adobe Illustrator CS6\Support Files\Contents\Windows\ai_cs6_splash_tryout.png" ai_cs6_splash_tryout.png.bak
  103. @COPY   "\PatcherFiles\ai_cs6_splash.png"       "C:\Program Files (x86)\Adobe\Adobe Illustrator CS6\Support Files\Contents\Windows\ai_cs6_splash_tryout.png"
  104. @ECHO.
  105.  
  106. @ECHO   Patching InDesign (32 Bit)
  107. @REN    "C:\Program Files (x86)\Adobe\Adobe InDesign CS6\amtlib.dll" amtlib.dll.bak
  108. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files (x86)\Adobe\Adobe InDesign CS6\amtlib.dll"
  109. @ECHO.
  110.  
  111. @ECHO   Patching Photoshop (32 Bit)
  112. @REN    "C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\amtlib.dll" amtlib.dll.bak
  113. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\amtlib.dll"
  114. @ECHO.
  115.  
  116. @ECHO   Patching Prelude (32 Bit)
  117. @REN    "C:\Program Files (x86)\Adobe\Adobe Prelude CS6\amtlib.dll" amtlib.dll.bak
  118. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files (x86)\Adobe\Adobe Prelude CS6\amtlib.dll"
  119. @ECHO.
  120.  
  121. SET NEWLINE=^& echo.
  122.  
  123. FIND /C /I "activate.adobe.com" %WINDIR%\system32\drivers\etc\hosts
  124. IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^ >>%WINDIR%\system32\drivers\etc\hosts
  125. IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1  activate.adobe.com>>%WINDIR%\system32\drivers\etc\hosts
  126.  
  127. FIND /C /I "practivate.adobe.com" %WINDIR%\system32\drivers\etc\hosts
  128. IF %ERRORLEVEL% NEQ 0 ECHO ^127.0.0.1   practivate.adobe.com>>%WINDIR%\system32\drivers\etc\hosts
  129.  
  130. @ECHO.
  131. @ECHO   Adobe Master Collection CS6 (64bit) has been patched.
  132. @ECHO   - Press on any key to exit the patcher.
  133. @ECHO.
  134. @PAUSE > nul
  135. @EXIT
  136.  
  137. :32BIT
  138. @CLS
  139.  
  140. @ECHO   Patching After Effects (32 Bit)
  141. @REN    "C:\Program Files\Adobe\Adobe After Effects CS6\Support Files\amtlib.dll" amtlib.dll.bak
  142. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files\Adobe\Adobe After Effects CS6\Support Files\amtlib.dll"
  143. @ECHO.
  144.  
  145. @ECHO   Patching Encore (32 Bit)
  146. @REN    "C:\Program Files\Adobe\Adobe Encore CS6\amtlib.dll" amtlib.dll.bak
  147. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files\Adobe\Adobe Encore CS6\amtlib.dll"
  148. @ECHO.
  149.  
  150. @ECHO   Patching Premiere Pro (32 Bit)
  151. @REN    "C:\Program Files\Adobe\Adobe Premiere Pro CS6\amtlib.dll" amtlib.dll.bak
  152. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files\Adobe\Adobe Premiere Pro CS6\amtlib.dll"
  153. @ECHO.
  154.  
  155. @ECHO   Patching SpeedGrade (32 Bit)
  156. @REN    "C:\Program Files\Adobe\Adobe SpeedGrade CS6\bin\amtlib.dll" amtlib.dll.bak
  157. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files\Adobe\Adobe SpeedGrade CS6\bin\amtlib.dll"
  158. @ECHO.
  159.  
  160. @ECHO   Patching Acrobat (32 Bit)
  161. @REN   "C:\Program Files\Adobe\Acrobat 10.0\Acrobat\amtlib.dll" amtlib.dll.bak
  162. @COPY   "\PatcherFiles\amtlibacrobat.dll"       "C:\Program Files\Adobe\Acrobat 10.0\Acrobat\amtlib.dll"
  163. @ECHO.
  164.  
  165. @ECHO   Patching Audition (32 Bit)
  166. @REN   "C:\Program Files\Adobe\Adobe Audition CS6\amtlib.dll" amtlib.dll.bak
  167. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files\Adobe\Adobe Audition CS6\amtlib.dll"
  168. @ECHO.
  169.  
  170. @ECHO   Patching Bridge (32 Bit)
  171. @REN   "C:\Program Files\Adobe\Adobe Bridge CS6\amtlib.dll" amtlib.dll.bak
  172. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files\Adobe\Adobe Bridge CS6\amtlib.dll"
  173. @ECHO.
  174.  
  175. @ECHO   Patching Dreamweaver (32 Bit)
  176. @REN   "C:\Program Files\Adobe\Adobe Dreamweaver CS6\amtlib.dll" amtlib.dll.bak
  177. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files\Adobe\Adobe Dreamweaver CS6\amtlib.dll"
  178. @ECHO.
  179.  
  180. @ECHO   Patching Fireworks (32 Bit)
  181. @REN   "C:\Program Files\Adobe\Adobe Fireworks CS6\amtlib.dll" amtlib.dll.bak
  182. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files\Adobe\Adobe Fireworks CS6\amtlib.dll"
  183. @ECHO.
  184.  
  185. @ECHO   Patching Flash (32 Bit)
  186. @REN   "C:\Program Files\Adobe\Adobe Flash CS6\amtlib.dll" amtlib.dll.bak
  187. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files\Adobe\Adobe Flash CS6\amtlib.dll"
  188. @ECHO.
  189.  
  190. @ECHO   Patching Illustrator (32 Bit)
  191. @REN    "C:\Program Files\Adobe\Adobe Illustrator CS6\Support Files\Contents\Windows\amtlib.dll" amtlib.dll.bak
  192. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files\Adobe\Adobe Illustrator CS6\Support Files\Contents\Windows\amtlib.dll"
  193. @REN    "C:\Program Files\Adobe\Adobe Illustrator CS6\Support Files\Contents\Windows\ai_about_tryout.png" ai_about_tryout.png.bak
  194. @COPY   "\PatcherFiles\ai_about.png"    "C:\Program Files\Adobe\Adobe Illustrator CS6\Support Files\Contents\Windows\ai_about_tryout.png"
  195. @REN    "C:\Program Files\Adobe\Adobe Illustrator CS6\Support Files\Contents\Windows\ai_cs6_splash_tryout.png" ai_cs6_splash_tryout.png.bak
  196. @COPY   "\PatcherFiles\ai_cs6_splash.png"       "C:\Program Files\Adobe\Adobe Illustrator CS6\Support Files\Contents\Windows\ai_cs6_splash_tryout.png"
  197. @ECHO.
  198.  
  199. @ECHO   Patching InDesign (32 Bit)
  200. @REN    "C:\Program Files\Adobe\Adobe InDesign CS6\amtlib.dll" amtlib.dll.bak
  201. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files\Adobe\Adobe InDesign CS6\amtlib.dll"
  202. @ECHO.
  203.  
  204. @ECHO   Patching Photoshop (32 Bit)
  205. @REN    "C:\Program Files\Adobe\Adobe Photoshop CS6\amtlib.dll" amtlib.dll.bak
  206. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files\Adobe\Adobe Photoshop CS6\amtlib.dll"
  207. @ECHO.
  208.  
  209. @ECHO   Patching Media Encoder (32 Bit)
  210. @REN    "C:\Program Files\Adobe\Adobe Media Encoder CS6\amtlib.dll" amtlib.dll.bak
  211. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files\Adobe\Adobe Media Encoder CS6\amtlib.dll"
  212. @ECHO.
  213.  
  214. @ECHO   Patching Prelude (32 Bit)
  215. @REN    "C:\Program Files\Adobe\Adobe Prelude CS6\amtlib.dll" amtlib.dll.bak
  216. @COPY   "\PatcherFiles\amtlib32bit.dll" "C:\Program Files\Adobe\Adobe Prelude CS6\amtlib.dll"
  217. @ECHO.
  218.  
  219. SET NEWLINE=^& echo.
  220.  
  221. FIND /C /I "activate.adobe.com" %WINDIR%\system32\drivers\etc\hosts
  222. IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^ >>%WINDIR%\system32\drivers\etc\hosts
  223. IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1  activate.adobe.com>>%WINDIR%\system32\drivers\etc\hosts
  224.  
  225. FIND /C /I "practivate.adobe.com" %WINDIR%\system32\drivers\etc\hosts
  226. IF %ERRORLEVEL% NEQ 0 ECHO ^127.0.0.1   practivate.adobe.com>>%WINDIR%\system32\drivers\etc\hosts
  227.  
  228. @ECHO.
  229. @ECHO   Adobe Master Collection CS6 (32bit) has been patched.
  230. @ECHO   - Press on any key to exit the patcher.
  231. @ECHO.
  232. @PAUSE > nul
  233. @EXIT
  234.  
  235. :EXIT
  236. @CLS
  237. @ECHO   Adobe Master Collection CS6 has not been patched.
  238. @ECHO   - Press on any key to exit the patcher.
  239. @ECHO.
  240. @PAUSE > nul
  241. @EXIT