DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Unpacking The Flex 2 Beta Framework From The Windows Installer For Use On Mac OS X

03.02.2006
| 2623 views |
  • submit to reddit
        Assumes you've already downloaded the Windows installer to your desktop. For more details see <a href="http://robbevan.com/blog/2005/10/23/working-with-flex-2-on-mac-os-x/">this post</a>.


#!/bin/sh

mkdir /Library/flex2
cd /Library/flex2
unzip ~/Desktop/FlexBuilder2_Beta1_Install.exe InstallerData/Disk1/InstData/Resource1.zip -d tmp
unzip tmp/InstallerData/Disk1/InstData/Resource1.zip D_/builds/StagedZornSingleInstaller/subinstallers/WindowsCommon/mergemodules_zg_ia_sf.jar -d tmp
unzip tmp/D_/builds/StagedZornSingleInstaller/subinstallers/WindowsCommon/mergemodules_zg_ia_sf.jar FlexFrameworkMergeModule.iam.zip -d tmp
unzip tmp/FlexFrameworkMergeModule.iam.zip \$IA_MERGE_RESOURCES\$/FlexFrameworkMergeModule_1138525373520/0bd81c0146bf21a847b3f37b3b4a0a53_zg_ia_sf.jar -d tmp
unzip tmp/FlexFrameworkMergeModule.iam.zip \$IA_MERGE_RESOURCES\$/FlexFrameworkMergeModule_1138525373520/4c8bc042b3ca7b0232260983170d7827_zg_ia_sf.jar -d tmp
unzip tmp/FlexFrameworkMergeModule.iam.zip \$IA_MERGE_RESOURCES\$/FlexFrameworkMergeModule_1138525373520/b132434261e44543bd04561ab89768a5_zg_ia_sf.jar -d tmp
unzip tmp/\$IA_MERGE_RESOURCES\$/FlexFrameworkMergeModule_1138525373520/0bd81c0146bf21a847b3f37b3b4a0a53_zg_ia_sf.jar -d samples
unzip tmp/\$IA_MERGE_RESOURCES\$/FlexFrameworkMergeModule_1138525373520/4c8bc042b3ca7b0232260983170d7827_zg_ia_sf.jar -d lib
unzip tmp/\$IA_MERGE_RESOURCES\$/FlexFrameworkMergeModule_1138525373520/b132434261e44543bd04561ab89768a5_zg_ia_sf.jar -d frameworks
rm -R tmp