diff --git a/Casks/adobe-design-standard-cs6-de.rb b/Casks/adobe-design-standard-cs6-de.rb new file mode 100644 index 000000000..4a5d7caa6 --- /dev/null +++ b/Casks/adobe-design-standard-cs6-de.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-design-standard-cs6-de' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/DSGN/CS6/osx10/DesignStandard_CS6_LS4.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Design Standard' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design Standard/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design Standard/deploy/install-de_DE.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design Standard/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design Standard/deploy/uninstall-de_DE.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-design-standard-cs6-es.rb b/Casks/adobe-design-standard-cs6-es.rb new file mode 100644 index 000000000..d4c2b6522 --- /dev/null +++ b/Casks/adobe-design-standard-cs6-es.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-design-standard-cs6-es' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/DSGN/CS6/osx10/DesignStandard_CS6_LS4.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Design Standard' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design Standard/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design Standard/deploy/install-es_ES.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design Standard/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design Standard/deploy/uninstall-es_ES.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-design-standard-cs6-fr.rb b/Casks/adobe-design-standard-cs6-fr.rb new file mode 100644 index 000000000..a62cd7440 --- /dev/null +++ b/Casks/adobe-design-standard-cs6-fr.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-design-standard-cs6-fr' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/DSGN/CS6/osx10/DesignStandard_CS6_LS4.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Design Standard' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design Standard/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design Standard/deploy/install-fr_FR.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design Standard/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design Standard/deploy/uninstall-fr_FR.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-design-standard-cs6-it.rb b/Casks/adobe-design-standard-cs6-it.rb new file mode 100644 index 000000000..ba6873ca5 --- /dev/null +++ b/Casks/adobe-design-standard-cs6-it.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-design-standard-cs6-it' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/DSGN/CS6/osx10/DesignStandard_CS6_LS4.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Design Standard' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design Standard/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design Standard/deploy/install-it_IT.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design Standard/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design Standard/deploy/uninstall-it_IT.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-design-standard-cs6-ja.rb b/Casks/adobe-design-standard-cs6-ja.rb new file mode 100644 index 000000000..83fedaf14 --- /dev/null +++ b/Casks/adobe-design-standard-cs6-ja.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-design-standard-cs6-ja' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/DSGN/CS6/osx10/DesignStandard_CS6_LS16.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Design Standard' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design Standard/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design Standard/deploy/install-ja_JP.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design Standard/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design Standard/deploy/uninstall-ja_JP.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-design-standard-cs6-nl.rb b/Casks/adobe-design-standard-cs6-nl.rb new file mode 100644 index 000000000..d8e45ea09 --- /dev/null +++ b/Casks/adobe-design-standard-cs6-nl.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-design-standard-cs6-nl' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/DSGN/CS6/osx10/DesignStandard_CS6_LS4.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Design Standard' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design Standard/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design Standard/deploy/install-nl_NL.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design Standard/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design Standard/deploy/uninstall-nl_NL.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-design-standard-cs6.rb b/Casks/adobe-design-standard-cs6.rb new file mode 100644 index 000000000..fc52e7a38 --- /dev/null +++ b/Casks/adobe-design-standard-cs6.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-design-standard-cs6' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/DSGN/CS6/osx10/DesignStandard_CS6_LS16.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Design Standard' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design Standard/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design Standard/deploy/install-en_US.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design Standard/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design Standard/deploy/uninstall-en_US.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-design-web-premium-cs6-de.rb b/Casks/adobe-design-web-premium-cs6-de.rb new file mode 100644 index 000000000..bd14f9794 --- /dev/null +++ b/Casks/adobe-design-web-premium-cs6-de.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-design-web-premium-cs6-de' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/DSST/CS6/osx10/DesignWebPremium_CS6_LS4.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Design and Web Premium' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design and Web Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design and Web Premium/deploy/install-de_DE.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design and Web Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design and Web Premium/deploy/uninstall-de_DE.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-design-web-premium-cs6-es.rb b/Casks/adobe-design-web-premium-cs6-es.rb new file mode 100644 index 000000000..feb41d370 --- /dev/null +++ b/Casks/adobe-design-web-premium-cs6-es.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-design-web-premium-cs6-es' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/DSST/CS6/osx10/DesignWebPremium_CS6_LS4.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Design and Web Premium' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design and Web Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design and Web Premium/deploy/install-es_ES.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design and Web Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design and Web Premium/deploy/uninstall-es_ES.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-design-web-premium-cs6-fr.rb b/Casks/adobe-design-web-premium-cs6-fr.rb new file mode 100644 index 000000000..1323dd5d7 --- /dev/null +++ b/Casks/adobe-design-web-premium-cs6-fr.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-design-web-premium-cs6-fr' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/DSST/CS6/osx10/DesignWebPremium_CS6_LS4.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Design and Web Premium' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design and Web Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design and Web Premium/deploy/install-fr_FR.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design and Web Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design and Web Premium/deploy/uninstall-fr_FR.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-design-web-premium-cs6-it.rb b/Casks/adobe-design-web-premium-cs6-it.rb new file mode 100644 index 000000000..fbf9f9398 --- /dev/null +++ b/Casks/adobe-design-web-premium-cs6-it.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-design-web-premium-cs6-it' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/DSST/CS6/osx10/DesignWebPremium_CS6_LS4.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Design and Web Premium' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design and Web Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design and Web Premium/deploy/install-it_IT.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design and Web Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design and Web Premium/deploy/uninstall-it_IT.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-design-web-premium-cs6-ja.rb b/Casks/adobe-design-web-premium-cs6-ja.rb new file mode 100644 index 000000000..10291a1ed --- /dev/null +++ b/Casks/adobe-design-web-premium-cs6-ja.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-design-web-premium-cs6-ja' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/DSST/CS6/osx10/DesignWebPremium_CS6_LS16.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Design and Web Premium' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design and Web Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design and Web Premium/deploy/install-ja_JP.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design and Web Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design and Web Premium/deploy/uninstall-ja_JP.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-design-web-premium-cs6-nl.rb b/Casks/adobe-design-web-premium-cs6-nl.rb new file mode 100644 index 000000000..ab7a4aec4 --- /dev/null +++ b/Casks/adobe-design-web-premium-cs6-nl.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-design-web-premium-cs6-nl' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/DSST/CS6/osx10/DesignWebPremium_CS6_LS4.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Design and Web Premium' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design and Web Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design and Web Premium/deploy/install-nl_NL.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Design and Web Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Design and Web Premium/deploy/uninstall-nl_NL.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-master-collection-cs6-de.rb b/Casks/adobe-master-collection-cs6-de.rb new file mode 100644 index 000000000..c4be09212 --- /dev/null +++ b/Casks/adobe-master-collection-cs6-de.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-master-collection-cs6-de' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/STAM/CS6/osx10/MasterCollection_CS6_LS4.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Master Collection' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Master Collection/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Master Collection/deploy/install-de_DE.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Master Collection/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Master Collection/deploy/uninstall-de_DE.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-master-collection-cs6-es.rb b/Casks/adobe-master-collection-cs6-es.rb new file mode 100644 index 000000000..e3185cdbd --- /dev/null +++ b/Casks/adobe-master-collection-cs6-es.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-master-collection-cs6-es' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/STAM/CS6/osx10/MasterCollection_CS6_LS4.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Master Collection' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Master Collection/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Master Collection/deploy/install-es_ES.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Master Collection/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Master Collection/deploy/uninstall-es_ES.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-master-collection-cs6-fr.rb b/Casks/adobe-master-collection-cs6-fr.rb new file mode 100644 index 000000000..1090c52ed --- /dev/null +++ b/Casks/adobe-master-collection-cs6-fr.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-master-collection-cs6-fr' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/STAM/CS6/osx10/MasterCollection_CS6_LS4.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Master Collection' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Master Collection/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Master Collection/deploy/install-fr_FR.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Master Collection/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Master Collection/deploy/uninstall-fr_FR.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-master-collection-cs6-it.rb b/Casks/adobe-master-collection-cs6-it.rb new file mode 100644 index 000000000..adf4569c4 --- /dev/null +++ b/Casks/adobe-master-collection-cs6-it.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-master-collection-cs6-it' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/STAM/CS6/osx10/MasterCollection_CS6_LS4.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Master Collection' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Master Collection/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Master Collection/deploy/install-it_IT.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Master Collection/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Master Collection/deploy/uninstall-it_IT.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-master-collection-cs6-ja.rb b/Casks/adobe-master-collection-cs6-ja.rb new file mode 100644 index 000000000..d748dbb81 --- /dev/null +++ b/Casks/adobe-master-collection-cs6-ja.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-master-collection-cs6-ja' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/STAM/CS6/osx10/MasterCollection_CS6_LS16.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Master Collection' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Master Collection/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Master Collection/deploy/install-ja_JP.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Master Collection/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Master Collection/deploy/uninstall-ja_JP.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-master-collection-cs6-nl.rb b/Casks/adobe-master-collection-cs6-nl.rb new file mode 100644 index 000000000..6a2d6f076 --- /dev/null +++ b/Casks/adobe-master-collection-cs6-nl.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-master-collection-cs6-nl' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/STAM/CS6/osx10/MasterCollection_CS6_LS4.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Master Collection' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Master Collection/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Master Collection/deploy/install-nl_NL.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Master Collection/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Master Collection/deploy/uninstall-nl_NL.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-master-collection-cs6.rb b/Casks/adobe-master-collection-cs6.rb new file mode 100644 index 000000000..204401e60 --- /dev/null +++ b/Casks/adobe-master-collection-cs6.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-master-collection-cs6' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/STAM/CS6/osx10/MasterCollection_CS6_LS16.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Master Collection' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Master Collection/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Master Collection/deploy/install-en_US.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Master Collection/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Master Collection/deploy/uninstall-en_US.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-production-premium-cs6-de.rb b/Casks/adobe-production-premium-cs6-de.rb new file mode 100644 index 000000000..c76f39698 --- /dev/null +++ b/Casks/adobe-production-premium-cs6-de.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-production-premium-cs6-de' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/STVD/CS6/osx10/ProductionPremium_CS6_LS7.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Production Premium' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Production Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Production Premium/deploy/install-de_DE.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Production Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Production Premium/deploy/uninstall-de_DE.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-production-premium-cs6-es.rb b/Casks/adobe-production-premium-cs6-es.rb new file mode 100644 index 000000000..8075f5f1f --- /dev/null +++ b/Casks/adobe-production-premium-cs6-es.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-production-premium-cs6-es' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/STVD/CS6/osx10/ProductionPremium_CS6_LS7.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Production Premium' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Production Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Production Premium/deploy/install-es_ES.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Production Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Production Premium/deploy/uninstall-es_ES.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-production-premium-cs6-fr.rb b/Casks/adobe-production-premium-cs6-fr.rb new file mode 100644 index 000000000..9bcb817bc --- /dev/null +++ b/Casks/adobe-production-premium-cs6-fr.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-production-premium-cs6-fr' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/STVD/CS6/osx10/ProductionPremium_CS6_LS7.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Production Premium' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Production Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Production Premium/deploy/install-fr_FR.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Production Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Production Premium/deploy/uninstall-fr_FR.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-production-premium-cs6-it.rb b/Casks/adobe-production-premium-cs6-it.rb new file mode 100644 index 000000000..8d506b8a3 --- /dev/null +++ b/Casks/adobe-production-premium-cs6-it.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-production-premium-cs6-it' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/STVD/CS6/osx10/ProductionPremium_CS6_LS7.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Production Premium' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Production Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Production Premium/deploy/install-it_IT.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Production Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Production Premium/deploy/uninstall-it_IT.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-production-premium-cs6-ja.rb b/Casks/adobe-production-premium-cs6-ja.rb new file mode 100644 index 000000000..fd8a6c9d8 --- /dev/null +++ b/Casks/adobe-production-premium-cs6-ja.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-production-premium-cs6-ja' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/STVD/CS6/osx10/ProductionPremium_CS6_LS7.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Production Premium' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Production Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Production Premium/deploy/install-ja_JP.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Production Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Production Premium/deploy/uninstall-ja_JP.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end diff --git a/Casks/adobe-production-premium-cs6.rb b/Casks/adobe-production-premium-cs6.rb new file mode 100644 index 000000000..ceb4d20ac --- /dev/null +++ b/Casks/adobe-production-premium-cs6.rb @@ -0,0 +1,33 @@ +cask :v1 => 'adobe-production-premium-cs6' do + version :latest + sha256 :no_check + + # This Cask only works for Adobe dmgs containing the deploy folder, + # i.e. the Adobe Collections, not the single Product Installers! + + # For correct download URL see links provided at + # https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html + + url 'http://trials2.adobe.com/AdobeProducts/STVD/CS6/osx10/ProductionPremium_CS6_LS7.dmg', + :user_agent => :fake, + :cookies => { 'MM_TRIALS' => '1234' } + name 'Adobe CS6 Production Premium' # name must exactly match directory in dmg! + homepage 'http://www.adobe.com/mena_en/products/creativesuite.html' + license :commercial + + # staged_path not available in Installer/Uninstall Stanza, workaround by nesting with preflight/postflight + # see https://github.com/caskroom/homebrew-cask/pull/8887 + # and https://github.com/caskroom/homebrew-versions/pull/296 + + preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Production Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Production Premium/deploy/install-en_US.xml" + end + + uninstall_preflight do + system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe CS6 Production Premium/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe CS6 Production Premium/deploy/uninstall-en_US.xml" + end + + caveats 'Installation or Uninstallation may fail with Exit Code 19 (Conflicting Processes running) if Browsers, Safari Notification Service or SIMBL Services (e.g. Flashlight) are running or Adobe Creative Cloud or any other Adobe Products are already installed. See Logs in /Library/Logs/Adobe/Installers if Installation or Uninstallation fails, to identifify the conflicting processes.' +end