home *** CD-ROM | disk | FTP | other *** search
/ MacAddict 108 / MacAddict108.iso / Software / Utilities / SuperDuper! 1.5.5.dmg / SuperDuper!.app / Contents / Resources / Transcripts / UpgradeTranscript.plist < prev   
Encoding:
Extensible Markup Language  |  2005-04-06  |  3.2 KB  |  92 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3. <plist version="1.0">
  4. <dict>
  5.     <key>Type</key>
  6.         <string>Upgrade</string>
  7.     <key>PhaseList</key>
  8.     <array>
  9.         <dict>
  10.             <key>Phase</key>
  11.             <string>Upgrade Application</string>
  12.             <key>ActionList</key>
  13.             <array>
  14.                 <dict>
  15.                     <key>Action</key>
  16.                     <string></string>
  17.                     <key>infoMsg</key>
  18.                     <string>Upgrade Application</string>
  19.                     <key>CommandList</key>
  20.                     <array>
  21.                         <dict>
  22.                             <key>command</key>
  23.                             <string>curl SDHTTPproxy.Host --silent --show-error --output /tmp/superduper.tar.gz -L SDdownloadURL</string>
  24.                             <key>infoMsg</key>
  25.                             <string>Downloading update package...</string>
  26.                             <key>parseMethod</key>
  27.                             <string>indeterminate:</string>
  28.                         </dict>
  29.                         <dict>
  30.                             <key>command</key>
  31.                             <string>cd /tmp; tar xzf superduper.tar.gz; rm /tmp/superduper.tar.gz</string>
  32.                             <key>infoMsg</key>
  33.                             <string>Uncompressing upgrade package</string>
  34.                         </dict>
  35.                         <dict>
  36.                             <key>command</key>
  37.                             <string>installer -allow -verboseR -pkg '/tmp/SuperDuper!.pkg' -target / >&1 2>&1; chown 0:80 /Applications/Utilities; chmod 40775 /Applications/Utilities</string>
  38.                             <key>infoMsg</key>
  39.                             <string>Installing upgrade package</string>
  40.                             <key>parseMethod</key>
  41.                             <string>installPackage:</string>
  42.                         </dict>
  43.                         <dict>
  44.                             <key>command</key>
  45.                             <string>ditto -rsrc '/Applications/Utilities/SuperDuper!.app' '/tmp/SuperDuper!.app'</string>
  46.                             <key>infoMsg</key>
  47.                             <string>Copying upgrade bundle to temporary location</string>
  48.                         </dict>
  49.                         <dict>
  50.                             <key>command</key>
  51.                             <string>rm -rf SDAppBundle.'Path; ditto -rsrc '/tmp/SuperDuper!.app' SDAppBundle.'Path; chown -R SDUser.uid SDAppBundle.'Path</string>
  52.                             <key>infoMsg</key>
  53.                             <string>Copying upgrade bundle to installation location AppBundlePath</string>
  54.                         </dict>
  55.                         <dict>
  56.                             <key>command</key>
  57.                             <string>rm -rf '/tmp/superduper.tar.gz' '/tmp/SuperDuper!.pkg' '/tmp/SuperDuper!.app'; if [ SDAppBundle.'Path != '/Applications/Utilities/SuperDuper!.app' ]; then rm -rf '/Applications/Utilities/SuperDuper!.app'; fi</string>
  58.                             <key>infoMsg</key>
  59.                             <string>Cleaning up installation items</string>
  60.                         </dict>
  61.                         <dict>
  62.                             <key>command</key>
  63.                             <string>sleep 1</string>
  64.                             <key>infoMsg</key>
  65.                             <string>Re-launching SuperDuper! in 3 seconds to complete upgrade</string>
  66.                         </dict>
  67.                         <dict>
  68.                             <key>command</key>
  69.                             <string>sleep 1</string>
  70.                             <key>infoMsg</key>
  71.                             <string>Re-launching SuperDuper! in 2 seconds to complete upgrade</string>
  72.                         </dict>
  73.                         <dict>
  74.                             <key>command</key>
  75.                             <string>sleep 1</string>
  76.                             <key>infoMsg</key>
  77.                             <string>Re-launching SuperDuper! in 1 second to complete upgrade</string>
  78.                         </dict>
  79.                         <dict>
  80.                             <key>command</key>
  81.                             <string>kill -SIGQUIT `ps wwax pid,command | grep 'SuperDuper! ' | grep -v grep | awk '{print $1}'`; open SDAppBundle.'Path</string>
  82.                             <key>infoMsg</key>
  83.                             <string>Re-launching SuperDuper!</string>
  84.                         </dict>
  85.                     </array>
  86.                 </dict>
  87.             </array>
  88.         </dict>
  89.     </array>
  90. </dict>
  91. </plist>
  92.